@campoint/vxwebrtc 0.1.3 → 0.1.5

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.
@@ -3,7 +3,7 @@ declare abstract class WebRtcPeerConnection {
3
3
  protected readonly connectionOptions: IWebRtcPeerConnectionOptions;
4
4
  protected wsConnection?: WebSocket;
5
5
  protected peerConnection?: RTCPeerConnection;
6
- private hasAttemptedTcpFallback;
6
+ private tcpFallbackAttemptsUsed;
7
7
  private stallCheckInterval?;
8
8
  private lastBytesSent;
9
9
  private stallCheckCount;
@@ -37,6 +37,9 @@ export interface IWebRtcPeerConnectionOptions {
37
37
  onStop: OnStopCallback;
38
38
  onError: OnErrorCallback;
39
39
  enableTcpFallback?: boolean;
40
+ tcpFallbackRetries?: number;
41
+ stallCheckIntervalMs?: number;
42
+ stallChecksLimit?: number;
40
43
  onIceConnectionStateChange?: (state: RTCIceConnectionState) => void;
41
44
  onConnectionStateChange?: (state: RTCPeerConnectionState) => void;
42
45
  onStallDetected?: () => void;
@@ -8,3 +8,4 @@ export declare enum EnumAudioCodecs {
8
8
  CN = "CN"
9
9
  }
10
10
  export declare const browserSupportedAudioCodec: (codecs: string[]) => EnumAudioCodecs[];
11
+ export declare const browserSupportedAudioCodecLegacy: (codecs: string[]) => EnumAudioCodecs[];
@@ -7,3 +7,4 @@ export declare enum EnumVideoCodecs {
7
7
  RTX = "rtx"
8
8
  }
9
9
  export declare const browserSupportedVideoCodec: (codecs: string[]) => any[];
10
+ export declare const browserSupportedVideoCodecLegacy: (codecs: string[]) => EnumVideoCodecs[];