@phenixrts/sdk 2025.0.1 → 2025.0.2-beta.404
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/channels/debug/channels.js +1306 -1285
- package/channels/debug/package.json +1 -1
- package/channels/debug.private/channels.js +1143 -1143
- package/channels/debug.private/package.json +1 -1
- package/channels/debug.provideGlobalScope/channels.js +1278 -1257
- package/channels/debug.provideGlobalScope/package.json +1 -1
- package/channels/es5.debug.private/channels.js +2 -2
- package/channels/es5.debug.private/package.json +1 -1
- package/channels/min/channels.js +1 -1
- package/channels/min/channels.js.map +1 -1
- package/channels/min/package.json +1 -1
- package/channels/min.private/channels.js +1 -1
- package/channels/min.private/channels.js.map +1 -1
- package/channels/min.private/package.json +1 -1
- package/channels/min.provideGlobalScope/channels.js +1 -1
- package/channels/min.provideGlobalScope/channels.js.map +1 -1
- package/channels/min.provideGlobalScope/package.json +1 -1
- package/channels/package.json +1 -1
- package/full/debug/full.js +1427 -1406
- package/full/debug/package.json +1 -1
- package/full/debug.private/full.js +1264 -1264
- package/full/debug.private/package.json +1 -1
- package/full/min/full.js +1 -1
- package/full/min/full.js.map +1 -1
- package/full/min/package.json +1 -1
- package/full/min.private/full.js +1 -1
- package/full/min.private/full.js.map +1 -1
- package/full/min.private/package.json +1 -1
- package/full/package.json +1 -1
- package/package.json +1 -1
- package/publish/debug/package.json +1 -1
- package/publish/debug/publish.js +819 -819
- package/publish/debug.private/package.json +1 -1
- package/publish/debug.private/publish.js +819 -819
- package/publish/min/package.json +1 -1
- package/publish/min/publish.js +1 -1
- package/publish/min/publish.js.map +1 -1
- package/publish/min.private/package.json +1 -1
- package/publish/min.private/publish.js +1 -1
- package/publish/min.private/publish.js.map +1 -1
- package/publish/package.json +1 -1
- package/types/sdk/streaming/ChunkedStream.d.ts +1 -0
- package/types/sdk/streaming/ChunkedStreaming.d.ts +1 -1
- package/types/sdk/streaming/IShakaPlayer.d.ts +2 -0
- package/types/sdk/streaming/ShakaPlayer.d.ts +3 -1
- package/types/sdk/streaming/WebPlayer.d.ts +2 -1
package/publish/package.json
CHANGED
|
@@ -13,6 +13,7 @@ export default class ChunkedStream implements IStream {
|
|
|
13
13
|
private _monitorFailureCount;
|
|
14
14
|
constructor(channelContext: ChannelContext, chunkedStreamPlaybackMode: ChunkedStreamPlaybackMode, handleStreamFailure: () => Promise<void>);
|
|
15
15
|
start(uri: URL, token: string): Promise<void | IDisposable>;
|
|
16
|
+
private retryOnStreamFailure;
|
|
16
17
|
private monitor;
|
|
17
18
|
dispose(): void;
|
|
18
19
|
}
|
|
@@ -13,7 +13,7 @@ export declare class ChunkedStreaming {
|
|
|
13
13
|
static get hlsPlayer(): HlsPlayerType;
|
|
14
14
|
static get phenixWebPlayer(): WebPlayerType;
|
|
15
15
|
static get shaka(): ShakaPlayerType;
|
|
16
|
-
static start(videoElement: HTMLVideoElement, streamId: string, offerSdp: string, options: ChunkedStreamingOptions): Promise<IDisposable>;
|
|
16
|
+
static start(videoElement: HTMLVideoElement, streamId: string, offerSdp: string, options: ChunkedStreamingOptions, handleStreamFailure: Function): Promise<IDisposable>;
|
|
17
17
|
static getStats(): ChunkedStreamingStatistics | null;
|
|
18
18
|
private static play;
|
|
19
19
|
private static loaded;
|
|
@@ -23,6 +23,8 @@ export interface IShakaPlayer {
|
|
|
23
23
|
configure: (o: ShakaOptions) => void;
|
|
24
24
|
load: (uri: string) => Promise<void>;
|
|
25
25
|
getStats: () => ChunkedStreamingStatistics;
|
|
26
|
+
addEventListener: (key: string, callback: () => void) => void;
|
|
27
|
+
removeEventListener: (key: string, callback: () => void) => void;
|
|
26
28
|
destroy: () => void;
|
|
27
29
|
unload: () => void;
|
|
28
30
|
}
|
|
@@ -6,9 +6,11 @@ export default class ShakaPlayer {
|
|
|
6
6
|
private readonly _streamId;
|
|
7
7
|
private readonly _manifestURI;
|
|
8
8
|
private readonly _options;
|
|
9
|
+
private readonly _handleStreamFailure;
|
|
10
|
+
private readonly _disposables;
|
|
9
11
|
private readonly _monitoredStatistics;
|
|
10
12
|
private _player;
|
|
11
|
-
constructor(videoElement: HTMLVideoElement, kind: string, streamId: string, manifestURI: string, options: ChunkedStreamingOptions);
|
|
13
|
+
constructor(videoElement: HTMLVideoElement, kind: string, streamId: string, manifestURI: string, options: ChunkedStreamingOptions, handleStreamFailure: Function);
|
|
12
14
|
start(): void;
|
|
13
15
|
getStats(): ChunkedStreamingStatistics;
|
|
14
16
|
dispose(): void;
|
|
@@ -6,9 +6,10 @@ export default class WebPlayer {
|
|
|
6
6
|
private readonly _streamId;
|
|
7
7
|
private readonly _manifestURI;
|
|
8
8
|
private readonly _options;
|
|
9
|
+
private readonly _handleStreamFailure;
|
|
9
10
|
private _player;
|
|
10
11
|
private _lastReloadTime;
|
|
11
|
-
constructor(videoElement: HTMLVideoElement, kind: string, streamId: string, manifestURI: string, options: ChunkedStreamingOptions);
|
|
12
|
+
constructor(videoElement: HTMLVideoElement, kind: string, streamId: string, manifestURI: string, options: ChunkedStreamingOptions, handleStreamFailure: Function);
|
|
12
13
|
start(): void;
|
|
13
14
|
isSupported(): boolean;
|
|
14
15
|
getStats(): ChunkedStreamingStatistics;
|