@100mslive/hms-video-store 0.15.1 → 0.15.2-alpha.0
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/connection/HMSConnection.d.ts +1 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +4 -4
- package/dist/index.js.map +3 -3
- package/dist/transport/index.d.ts +13 -0
- package/package.json +2 -2
|
@@ -99,6 +99,19 @@ export default class HMSTransport {
|
|
|
99
99
|
* Negotiate on first publish after changing role from non-webrtc peer to webrtc peer by sending offer
|
|
100
100
|
*/
|
|
101
101
|
private negotiateOnFirstPublish;
|
|
102
|
+
/**
|
|
103
|
+
* Applies a publish answer only while the connection still holds the offer it was
|
|
104
|
+
* generated for. A concurrent renegotiation — `onRenegotiationNeeded` racing
|
|
105
|
+
* `retryPublishIceFailedTask`, or a reconnect completing during JsonRpcSignal.call's
|
|
106
|
+
* 1003 retry — leaves the connection back at `stable`, making this answer stale.
|
|
107
|
+
* Applying it throws the terminal 4004 and drops the peer.
|
|
108
|
+
*
|
|
109
|
+
* Discarding alone would risk the missing tiles `retryPublishIceFailedTask` warns
|
|
110
|
+
* about, since the winning negotiation may predate whatever this offer staged. So
|
|
111
|
+
* re-offer once from current state instead. Bounded to a single retry: a second
|
|
112
|
+
* straight loss means another negotiation is already carrying the current state.
|
|
113
|
+
*/
|
|
114
|
+
private applyPublishAnswer;
|
|
102
115
|
private performPublishRenegotiation;
|
|
103
116
|
private handleIceConnectionFailure;
|
|
104
117
|
private internalConnect;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.15.
|
|
2
|
+
"version": "0.15.2-alpha.0",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"conferencing",
|
|
73
73
|
"100ms"
|
|
74
74
|
],
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "d0c8c72bbabc260df939f332183a33df018d665b"
|
|
76
76
|
}
|