@phenixrts/sdk 2025.2.2 → 2025.2.3-beta.596
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 +108 -28
- package/channels/debug/package.json +1 -1
- package/channels/debug.private/channels.js +108 -28
- package/channels/debug.private/package.json +1 -1
- package/channels/debug.provideGlobalScope/channels.js +108 -28
- package/channels/debug.provideGlobalScope/package.json +1 -1
- package/channels/es5.debug.private/channels.js +108 -28
- 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 +108 -28
- package/full/debug/package.json +1 -1
- package/full/debug.private/full.js +108 -28
- 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 +2 -2
- package/publish/debug.private/package.json +1 -1
- package/publish/debug.private/publish.js +2 -2
- 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/channels/Channel.d.ts +2 -0
- package/types/sdk/streaming/IStream.d.ts +1 -1
- package/types/sdk/streaming/RealTimeStream.d.ts +1 -1
package/publish/package.json
CHANGED
|
@@ -100,6 +100,8 @@ export default class Channel implements IChannel {
|
|
|
100
100
|
dispose(): Promise<void>;
|
|
101
101
|
getUri(token: EncodedEdgeToken): URL;
|
|
102
102
|
start(): Promise<void>;
|
|
103
|
+
private isRetryableState;
|
|
104
|
+
private isStreamHealthy;
|
|
103
105
|
private processStart;
|
|
104
106
|
private restartAfterStop;
|
|
105
107
|
play(): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import IDisposable from '../../lang/IDisposable';
|
|
2
2
|
import { StreamSetupListener } from '../../dom/StreamSetupListener';
|
|
3
|
-
export interface IStream {
|
|
3
|
+
export interface IStream extends IDisposable {
|
|
4
4
|
start(uri: URL, token: string, listenOnStreamSetup?: StreamSetupListener, playMediaStreamInVideoElement?: Function): Promise<void | IDisposable>;
|
|
5
5
|
}
|
|
@@ -6,12 +6,12 @@ import FrameTimingInformationContext from '../context/FrameTimingInformationCont
|
|
|
6
6
|
import { IStream } from './IStream';
|
|
7
7
|
export default class RealTimeStream implements IStream {
|
|
8
8
|
private readonly _logger;
|
|
9
|
+
private readonly _disposables;
|
|
9
10
|
private readonly _channelContext;
|
|
10
11
|
private readonly _peerConnectionContext;
|
|
11
12
|
private readonly _streamTransformContext;
|
|
12
13
|
private readonly _frameTimingInformationContext;
|
|
13
14
|
private readonly _handleStreamFailure;
|
|
14
|
-
private readonly _disposables;
|
|
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
17
|
private applyRtcConfiguration;
|