@livedigital/client 3.0.6 → 3.0.7
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/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/engine/network/index.ts +4 -0
- package/src/types/media.ts +9 -9
package/package.json
CHANGED
|
@@ -187,6 +187,8 @@ class Network {
|
|
|
187
187
|
clearInterval(transport.appData.restartIceInterval);
|
|
188
188
|
transport.appData.restartIceInterval = undefined;
|
|
189
189
|
}
|
|
190
|
+
|
|
191
|
+
return;
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
if (['disconnected', 'failed'].includes(state)) {
|
|
@@ -253,6 +255,8 @@ class Network {
|
|
|
253
255
|
clearInterval(transport.appData.restartIceInterval);
|
|
254
256
|
transport.appData.restartIceInterval = undefined;
|
|
255
257
|
}
|
|
258
|
+
|
|
259
|
+
return;
|
|
256
260
|
}
|
|
257
261
|
|
|
258
262
|
if (['disconnected', 'failed'].includes(state)) {
|
package/src/types/media.ts
CHANGED
|
@@ -97,13 +97,13 @@ export interface MediaTracksFactory {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
export type ProducerAppData = AppData & {
|
|
100
|
-
peerId: string
|
|
101
|
-
label: TrackLabel
|
|
102
|
-
maxSpatialLayer: number
|
|
103
|
-
encodings?: RtpEncodingParameters[]
|
|
104
|
-
codecOptions?: ProducerCodecOptions
|
|
105
|
-
trackTransformParams?: TrackTransformParams
|
|
106
|
-
preferredCodec?: string
|
|
107
|
-
codec?: RtpCodecCapability
|
|
108
|
-
keyFrameRequestDelay?: number
|
|
100
|
+
peerId: string;
|
|
101
|
+
label: TrackLabel;
|
|
102
|
+
maxSpatialLayer: number;
|
|
103
|
+
encodings?: RtpEncodingParameters[];
|
|
104
|
+
codecOptions?: ProducerCodecOptions;
|
|
105
|
+
trackTransformParams?: TrackTransformParams;
|
|
106
|
+
preferredCodec?: string;
|
|
107
|
+
codec?: RtpCodecCapability;
|
|
108
|
+
keyFrameRequestDelay?: number;
|
|
109
109
|
};
|