ray-streaming
Advanced tools
Comparing version 2.20.3 to 2.20.4
{ | ||
"name": "ray-streaming", | ||
"license": "MIT", | ||
"version": "2.20.3", | ||
"version": "2.20.4", | ||
"author": "Kitsch <xc648593557@gmail.com>", | ||
@@ -6,0 +6,0 @@ "description": "RayStreaming WebRTC implement", |
@@ -32,5 +32,6 @@ import { Observable } from 'rxjs'; | ||
* @param runningInfo RunningState instance | ||
* @param mouseOnly filter pointer evnet to mouse event | ||
* @returns pointer event stream, with compatibility mouse events | ||
*/ | ||
static createPointerStream(target: HTMLVideoElement, runningInfo: RunningState): { | ||
static createPointerStream(target: HTMLVideoElement, runningInfo: RunningState, mouseOnly?: boolean): { | ||
downStream: Observable<ArrayBuffer>; | ||
@@ -65,3 +66,3 @@ upStream: Observable<ArrayBuffer>; | ||
*/ | ||
static attachListener(target: HTMLVideoElement, runningInfo: RunningState, connection: Connection, { enableClipboard, enableGamepad, filterKeys, enableKeyBoard, usePointerEvent, }?: { | ||
static attachListener(target: HTMLVideoElement, runningInfo: RunningState, connection: Connection, { enableClipboard, enableGamepad, filterKeys, enableKeyBoard, usePointerEvent, enableWinTouch, }?: { | ||
enableGamepad?: boolean; | ||
@@ -72,2 +73,3 @@ enableClipboard?: boolean; | ||
usePointerEvent?: boolean; | ||
enableWinTouch?: boolean; | ||
}): import("rxjs").Subscription; | ||
@@ -74,0 +76,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
918467