@phenixrts/sdk 2025.2.4-beta.731 → 2025.2.4-beta.732
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 +359 -359
- package/channels/debug/package.json +1 -1
- package/channels/debug.private/channels.js +339 -339
- package/channels/debug.private/package.json +1 -1
- package/channels/debug.provideGlobalScope/channels.js +359 -359
- package/channels/debug.provideGlobalScope/package.json +1 -1
- package/channels/es5.debug.private/channels.js +339 -339
- 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 +359 -359
- package/full/debug/package.json +1 -1
- package/full/debug.private/full.js +339 -339
- 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 +1 -1
- package/publish/debug.private/package.json +1 -1
- package/publish/debug.private/publish.js +1 -1
- package/publish/min/package.json +1 -1
- package/publish/min/publish.js +1 -1
- package/publish/min.private/package.json +1 -1
- package/publish/min.private/publish.js +1 -1
- package/publish/package.json +1 -1
- package/types/sdk/channels/Channel.d.ts +5 -6
- package/types/sdk/streaming/ChunkedStreamSubscriber.d.ts +2 -2
- package/types/sdk/streaming/IStreamSubscriber.d.ts +1 -1
- package/types/sdk/streaming/RealTimeStreamSubscriber.d.ts +3 -2
package/publish/package.json
CHANGED
|
@@ -71,7 +71,6 @@ export default class Channel implements IChannel {
|
|
|
71
71
|
constructor(videoElement: HTMLVideoElement, token: EncodedEdgeToken, options?: ChannelOptions);
|
|
72
72
|
get videoElement(): HTMLVideoElement | null;
|
|
73
73
|
set videoElement(videoElement: HTMLVideoElement);
|
|
74
|
-
private handleVideoMetaDataChanged;
|
|
75
74
|
get token(): EncodedEdgeToken;
|
|
76
75
|
set token(token: EncodedEdgeToken);
|
|
77
76
|
get peerConnection(): ReadOnlySubject<IPeerConnection | null>;
|
|
@@ -97,25 +96,26 @@ export default class Channel implements IChannel {
|
|
|
97
96
|
get rtcStatistics(): ReadOnlySubject<IRtcMonitorStatistic | null>;
|
|
98
97
|
get audioTracks(): ReadOnlySubject<readonly IAudioTrack[]>;
|
|
99
98
|
get selectedAudioTrack(): ReadOnlySubject<IAudioTrack | null>;
|
|
100
|
-
selectAudioTrack(id: string): void;
|
|
101
|
-
private applyAudioTrackSelection;
|
|
102
99
|
get mediaStream(): ReadOnlySubject<MediaStream | null>;
|
|
103
100
|
get isFrameTimingInformationEnabled(): ReadOnlySubject<boolean>;
|
|
104
101
|
get decodedFrameTimingInformation(): ReadOnlySubject<DecodedFrameTimingInformation | null>;
|
|
105
102
|
get renderedFrameTimingInformation(): ReadOnlySubject<RenderedFrameTimingInformation | null>;
|
|
106
103
|
get replay(): IChannelReplay;
|
|
104
|
+
selectAudioTrack(id: string): void;
|
|
107
105
|
setBitrateLimit(bitrateLimit: BitsPerSecond): void;
|
|
108
106
|
clearBitrateLimit(): void;
|
|
109
107
|
updateTargetLag(lag: Millisecond): void;
|
|
110
108
|
stop(reason: string): Promise<void>;
|
|
111
|
-
private processStop;
|
|
112
109
|
resume(): Promise<void>;
|
|
113
110
|
mute(): void;
|
|
114
111
|
unmute(): void;
|
|
115
|
-
private applyMutedIntentAfterReplay;
|
|
116
112
|
dispose(): Promise<void>;
|
|
117
113
|
getUri(token: EncodedEdgeToken): URL;
|
|
118
114
|
start(): Promise<void>;
|
|
115
|
+
play(): Promise<void>;
|
|
116
|
+
private handleVideoMetaDataChanged;
|
|
117
|
+
private processStop;
|
|
118
|
+
private applyMutedIntentAfterReplay;
|
|
119
119
|
private isTerminalState;
|
|
120
120
|
private isRetryableState;
|
|
121
121
|
private isSubscriberHealthy;
|
|
@@ -123,7 +123,6 @@ export default class Channel implements IChannel {
|
|
|
123
123
|
private reevaluateRealTimeHealthAfterReplay;
|
|
124
124
|
private processStart;
|
|
125
125
|
private restartAfterStop;
|
|
126
|
-
play(): Promise<void>;
|
|
127
126
|
private getRetryInterval;
|
|
128
127
|
private handleStreamFailure;
|
|
129
128
|
private cleanUpResources;
|
|
@@ -16,8 +16,8 @@ export default class ChunkedStreamSubscriber implements IStreamSubscriber {
|
|
|
16
16
|
constructor(channelContext: ChannelContext, chunkedStreamPlaybackMode: ChunkedStreamPlaybackMode, handleStreamFailure: () => Promise<void>);
|
|
17
17
|
start(uri: URL, token: string): Promise<void | IDisposable>;
|
|
18
18
|
applyAudioTrackSelection(): void;
|
|
19
|
-
private retryOnStreamFailure;
|
|
20
|
-
private monitor;
|
|
21
19
|
isStreamHealthy(): Promise<boolean>;
|
|
22
20
|
dispose(): void;
|
|
21
|
+
private retryOnStreamFailure;
|
|
22
|
+
private monitor;
|
|
23
23
|
}
|
|
@@ -3,5 +3,5 @@ import { StreamSetupListener } from '../../dom/StreamSetupListener';
|
|
|
3
3
|
export interface IStreamSubscriber extends IDisposable {
|
|
4
4
|
start(uri: URL, token: string, listenOnStreamSetup?: StreamSetupListener, playMediaStreamInVideoElement?: Function): Promise<void | IDisposable>;
|
|
5
5
|
isStreamHealthy(): Promise<boolean>;
|
|
6
|
-
applyAudioTrackSelection
|
|
6
|
+
applyAudioTrackSelection(): void;
|
|
7
7
|
}
|
|
@@ -14,9 +14,10 @@ export default class RealTimeStreamSubscriber implements IStreamSubscriber {
|
|
|
14
14
|
private readonly _handleStreamFailure;
|
|
15
15
|
constructor(channelContext: ChannelContext, peerConnectionContext: PeerConnectionContext, streamTransformContext: StreamTransformContext, frameTimingInformationContext: FrameTimingInformationContext, handleStreamFailure: () => Promise<void>);
|
|
16
16
|
start(uri: URL, token: string, listenOnStreamSetup: StreamSetupListener, playMediaStreamInVideoElement: Function): Promise<void>;
|
|
17
|
-
|
|
18
|
-
private reconnectPeerConnection;
|
|
17
|
+
applyAudioTrackSelection(): void;
|
|
19
18
|
isStreamHealthy(): Promise<boolean>;
|
|
20
19
|
dispose(): void;
|
|
20
|
+
private applyRtcConfiguration;
|
|
21
|
+
private reconnectPeerConnection;
|
|
21
22
|
private mapSetRemoteDescriptionStatusToChannelStatus;
|
|
22
23
|
}
|