ray-streaming
Advanced tools
Comparing version 2.21.8 to 2.22.0
{ | ||
"name": "ray-streaming", | ||
"license": "MIT", | ||
"version": "2.21.8", | ||
"version": "2.22.0", | ||
"author": "Kitsch <xc648593557@gmail.com>", | ||
@@ -6,0 +6,0 @@ "description": "RayStreaming WebRTC implement", |
@@ -55,3 +55,3 @@ # ray-streaming | ||
- `iceTransportPolicy` \<RTCIceTransportPolicy\> [iceTransportPolicy](https://developer.mozilla.org/en-US/docs/Web/API/RTCConfiguration/iceTransportPolicy) Default: `'all'` | ||
- `minBitrate` \<number\> append x-google-min-bitrate in creact offer Default: 2000 | ||
- `minBitrate` \<number\> append x-google-min-bitrate in create offer Default: 2000 | ||
- `maxBitrate` \<number\> x-google-max-bitrate Default: 5000 | ||
@@ -70,3 +70,3 @@ - `startBitrate` \<number\> x-google-start-bitrate Default: 4000 | ||
if (result) { | ||
console.log('execute success') // NOTE: only promise send to appliction | ||
console.log('execute success') // NOTE: only promise send to application | ||
} | ||
@@ -148,3 +148,3 @@ }) | ||
State of the remote node or front-end widget, manager by laucher or execution context | ||
State of the remote node or front-end widget, manager by launcher or execution context | ||
@@ -180,3 +180,3 @@ ```typescript | ||
linten target's focus event and transform to clipboard text | ||
listen target's focus event and transform to clipboard text | ||
@@ -183,0 +183,0 @@ `Helper.attachListener(target, runningInfo, connection[, options])` |
@@ -36,3 +36,3 @@ /// <reference types="dom-webcodecs" /> | ||
BandwidthDetect = 48, | ||
WintouchNormalization = 49, | ||
WinTouchNormalization = 49, | ||
FileUploadDirectory = 55, | ||
@@ -86,3 +86,3 @@ FileDownloadDirectory = 56, | ||
Passive = 2, | ||
Unknow = 3 | ||
Unknown = 3 | ||
} | ||
@@ -238,3 +238,3 @@ export declare enum GamepadType { | ||
ZLIB = 2, | ||
Unknow = 3 | ||
Unknown = 3 | ||
} | ||
@@ -430,9 +430,9 @@ export declare class ClipboardData { | ||
PointerNew = 1, | ||
PointerInrange = 2, | ||
PointerIncontact = 4, | ||
PointerFirstbutton = 16, | ||
PointerSecondbutton = 32, | ||
PointerThirdbutton = 64, | ||
PointerFourthbutton = 128, | ||
PointerFifthbutton = 256, | ||
PointerInRange = 2, | ||
PointerInContact = 4, | ||
PointerFirstButton = 16, | ||
PointerSecondButton = 32, | ||
PointerThirdButton = 64, | ||
PointerFourthButton = 128, | ||
PointerFifthButton = 256, | ||
PointerPrimary = 8192, | ||
@@ -445,5 +445,5 @@ PointerConfidence = 16384, | ||
PointerWheel = 524288, | ||
PointerHwheel = 1048576, | ||
PointerCapturechanged = 2097152, | ||
PointerHastransform = 4194304 | ||
PointerHWheel = 1048576, | ||
PointerCaptureChanged = 2097152, | ||
PointerHasTransform = 4194304 | ||
} | ||
@@ -463,3 +463,3 @@ export declare class WinPointer { | ||
} | ||
export type WinTouchType = EventType.WinTouchStandardization | EventType.WintouchNormalization; | ||
export type WinTouchType = EventType.WinTouchStandardization | EventType.WinTouchNormalization; | ||
export declare class WinTouch { | ||
@@ -466,0 +466,0 @@ type: WinTouchType; |
@@ -32,3 +32,3 @@ import { Observable } from 'rxjs'; | ||
* @param runningInfo RunningState instance | ||
* @param mouseOnly filter pointer evnet to mouse event | ||
* @param mouseOnly filter pointer event to mouse event | ||
* @returns pointer event stream, with compatibility mouse events | ||
@@ -35,0 +35,0 @@ */ |
@@ -5,8 +5,8 @@ export declare class ImeManager { | ||
get isActive(): boolean; | ||
private inputeEl; | ||
private inputEl; | ||
private operationBar; | ||
constructor(hostElement: HTMLElement, onEvent?: ((e: ArrayBuffer) => void) | undefined, themeColor?: string); | ||
private handleComfirm; | ||
private handleConfirm; | ||
active(): void; | ||
deactive(): void; | ||
} |
import type { RunningState } from './running-state'; | ||
import type { Cursor } from '../utils'; | ||
import { MouseMove, MouseButton } from './event-adapter'; | ||
declare type Mode = 'touch' | 'trackpad'; | ||
type Mode = 'touch' | 'trackpad'; | ||
export declare class Magnifier { | ||
@@ -6,0 +6,0 @@ private hostElement; |
export { Button } from './button'; | ||
export { Throttle } from './throttle'; | ||
export { JoyStick } from './joy-stick'; | ||
export { VirtualKeyboard } from './virtual-keyboard'; | ||
export { OnScreenControls } from './on-screen-controls'; | ||
@@ -6,0 +5,0 @@ export { LeftMouseButton } from './left-mouse-button'; |
@@ -31,3 +31,3 @@ import { BasicControl } from './basic-control'; | ||
private handleImg?; | ||
private get keyMaping(); | ||
private get keyMapping(); | ||
constructor(position?: Position, dimension?: Dimension, opacity?: number, match?: boolean, mappingType?: MappingType, traySrc?: string, handleSrc?: string); | ||
@@ -34,0 +34,0 @@ private handleStart; |
@@ -52,3 +52,3 @@ import { Widget } from './widgets/widget'; | ||
resizePlayer: () => void; | ||
setVideoStram(stream: MediaStream): void; | ||
setVideoStream(stream: MediaStream): void; | ||
muted(f: boolean): void; | ||
@@ -55,0 +55,0 @@ changeVolume(v: number): void; |
@@ -20,5 +20,5 @@ import type { Connection } from '../core/connection'; | ||
private framesPerSecond; | ||
private keyframesDecodedDetla; | ||
private framesReceivedDetla; | ||
private framesDroppedDetla; | ||
private keyframesDecodedDelta; | ||
private framesReceivedDelta; | ||
private framesDroppedDelta; | ||
private rtt; | ||
@@ -56,5 +56,5 @@ private headerBytesReceived; | ||
rtt: number; | ||
keyframesDecodedDetla: number; | ||
framesDroppedDetla: number; | ||
framesReceivedDetla: number; | ||
keyframesDecodedDelta: number; | ||
framesDroppedDelta: number; | ||
framesReceivedDelta: number; | ||
headerBytesReceived: number; | ||
@@ -61,0 +61,0 @@ bytesReceived: number; |
@@ -5,3 +5,3 @@ import type { Player } from './player'; | ||
import { MouseButton, MouseMove } from './event-adapter'; | ||
declare type Mode = 'direct' | 'relative'; | ||
type Mode = 'direct' | 'relative'; | ||
/** | ||
@@ -8,0 +8,0 @@ * emulate below behavior for touch device |
@@ -5,6 +5,6 @@ export declare class Slider { | ||
private onChange; | ||
private hidenBoard; | ||
private hiddenBoard; | ||
private progressBar; | ||
private progressBall; | ||
private isPressdown; | ||
private isPressDown; | ||
private cursorOffsetInBall; | ||
@@ -11,0 +11,0 @@ private percent; |
@@ -21,3 +21,3 @@ import type { RunningState } from '../running-state'; | ||
private cursor?; | ||
private isMovepressDown; | ||
private isMovePressDown; | ||
private ratio; | ||
@@ -46,3 +46,3 @@ private timeStamp; | ||
private setupHandleZoomEvent; | ||
private dragdown; | ||
private dragDown; | ||
private downZoomCorner; | ||
@@ -49,0 +49,0 @@ private moveZoomCorner; |
@@ -21,3 +21,3 @@ import { TypedEvent } from './typed-event'; | ||
private handleFocusSyncData; | ||
private clearLegaluserGestureEvent; | ||
private clearLegalUserGestureEvent; | ||
private detectionBootstrap; | ||
@@ -24,0 +24,0 @@ private clearEventsOnTargets; |
@@ -15,3 +15,3 @@ import { IndexedDBManager } from './indexeddb-manager'; | ||
static init(configs: Config[], databaseName?: string, maxCount?: number): void; | ||
static syncToDataBase(storeName: string): Promise<void>; | ||
static syncToDataBase(storeName: string, fields?: Record<string, string[]>): void; | ||
static resetDataMapData(storeName: string, fields: string[]): void; | ||
@@ -18,0 +18,0 @@ static addData(storeName: string, field: string, data: string): void; |
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
939436
90
6261