@flashphoner/websdk 2.0.227 → 2.0.229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docTemplate/README.md +1 -1
- package/examples/demo/dependencies/js/utils.js +39 -0
- package/examples/demo/streaming/hls-js-player/hls-js-player.html +1 -0
- package/examples/demo/streaming/hls-js-player/hls-js-player.js +7 -4
- package/examples/demo/streaming/hls-js-player/hls.js +25012 -25818
- package/examples/demo/streaming/hls-js-player/hls.min.js +2 -2
- package/examples/demo/streaming/hls-native/hls-native.html +1 -0
- package/examples/demo/streaming/hls-native/hls-native.js +5 -1
- package/examples/demo/streaming/hls-player/hls-player.html +1 -0
- package/examples/demo/streaming/hls-player/hls-player.js +38 -4
- package/examples/demo/streaming/hls-player/player-page.html +2 -0
- package/examples/demo/streaming/hls-player/video-js.css +320 -243
- package/examples/demo/streaming/hls-player/video.js +18841 -23735
- package/examples/demo/streaming/hls-player/video.min.js +30 -17
- package/flashphoner-no-flash.js +2 -2
- package/flashphoner-no-flash.min.js +2 -2
- package/flashphoner-no-webrtc.js +2 -2
- package/flashphoner-no-webrtc.min.js +2 -2
- package/flashphoner-no-wsplayer.js +2 -2
- package/flashphoner-no-wsplayer.min.js +2 -2
- package/flashphoner-room-api.js +18 -15
- package/flashphoner-room-api.min.js +3 -3
- package/flashphoner-temasys-flash-websocket-without-adapterjs.js +2 -2
- package/flashphoner-temasys-flash-websocket.js +2 -2
- package/flashphoner-temasys-flash-websocket.min.js +1 -1
- package/flashphoner.js +2 -2
- package/flashphoner.min.js +2 -2
- package/package.json +1 -1
- package/src/flashphoner-core.d.ts +28 -25
- package/src/media-source-media-provider.js +3 -3
- package/src/room-module.d.ts +31 -2
- package/src/room-module.js +15 -12
package/package.json
CHANGED
|
@@ -80,35 +80,38 @@ export declare class Stream {
|
|
|
80
80
|
getLogger: () => any;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
export declare class CreateStreamOptions {
|
|
84
|
+
name: string;
|
|
85
|
+
constraints?: any | undefined;
|
|
86
|
+
mediaProvider: string;
|
|
87
|
+
receiveAudio?: boolean | undefined;
|
|
88
|
+
receiveVideo?: boolean | undefined;
|
|
89
|
+
cacheLocalResources?: boolean | undefined;
|
|
90
|
+
playWidth?: number | undefined;
|
|
91
|
+
playHeight?: number | undefined;
|
|
92
|
+
record?: boolean | undefined;
|
|
93
|
+
display: any;
|
|
94
|
+
custom?: any | undefined;
|
|
95
|
+
stripCodecs?: string | undefined;
|
|
96
|
+
rtmpUrl?: string | undefined;
|
|
97
|
+
mediaConnectionConstraints?: any | undefined;
|
|
98
|
+
flashShowFullScreenButton?: boolean | undefined;
|
|
99
|
+
transport?: string | undefined;
|
|
100
|
+
cvoExtension?: boolean | undefined;
|
|
101
|
+
playoutDelay?: number | undefined;
|
|
102
|
+
useCanvasMediaStream?: boolean | undefined;
|
|
103
|
+
videoContentHint?: string | undefined;
|
|
104
|
+
unmutePlayOnStart?: boolean | undefined;
|
|
105
|
+
sdpHook?: any | undefined
|
|
106
|
+
logger?: any | undefined;
|
|
107
|
+
disableConstraintsNormalization?: boolean | undefined;
|
|
108
|
+
}
|
|
109
|
+
|
|
83
110
|
export declare class Session {
|
|
84
111
|
id: () => string;
|
|
85
112
|
status: () => string;
|
|
86
113
|
getServerUrl: () => string;
|
|
87
|
-
createStream: (options:
|
|
88
|
-
name: string;
|
|
89
|
-
constraints?: any | undefined;
|
|
90
|
-
mediaProvider: string;
|
|
91
|
-
receiveAudio?: boolean | undefined;
|
|
92
|
-
receiveVideo?: boolean | undefined;
|
|
93
|
-
cacheLocalResources?: boolean | undefined;
|
|
94
|
-
playWidth?: number | undefined;
|
|
95
|
-
playHeight?: number | undefined;
|
|
96
|
-
record?: boolean | undefined;
|
|
97
|
-
display: any;
|
|
98
|
-
custom?: any | undefined;
|
|
99
|
-
stripCodecs?: string | undefined;
|
|
100
|
-
rtmpUrl?: string | undefined;
|
|
101
|
-
mediaConnectionConstraints?: any | undefined;
|
|
102
|
-
flashShowFullScreenButton?: boolean | undefined;
|
|
103
|
-
transport?: string | undefined;
|
|
104
|
-
cvoExtension?: boolean | undefined;
|
|
105
|
-
playoutDelay?: number | undefined;
|
|
106
|
-
useCanvasMediaStream?: boolean | undefined;
|
|
107
|
-
videoContentHint?: string | undefined;
|
|
108
|
-
unmutePlayOnStart?: boolean | undefined;
|
|
109
|
-
sdpHook?: any | undefined
|
|
110
|
-
logger?: any | undefined;
|
|
111
|
-
}) => Stream;
|
|
114
|
+
createStream: (options: CreateStreamOptions) => Stream;
|
|
112
115
|
createCall: (options: {
|
|
113
116
|
callee: string;
|
|
114
117
|
visibleName?: string | undefined;
|