Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 560a7f3

Browse files
jianjunztaste1981
andauthored
Set bundle policy to max-bundle for conference mode. (#443)
Since server supports bundle, we can safely set it to max-bundle. It also fixes the issue that paced sender is paused during renegotiation. Co-authored-by: taste1981 <[email protected]>
1 parent 4d0af7f commit 560a7f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sdk/conference/channel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,7 @@ export class ConferencePeerConnectionChannel extends EventDispatcher {
861861
if (Utils.isChrome()) {
862862
pcConfiguration.sdpSemantics = 'unified-plan';
863863
}
864+
pcConfiguration.bundlePolicy = 'max-bundle';
864865
this._pc = new RTCPeerConnection(pcConfiguration);
865866
this._pc.onicecandidate = (event) => {
866867
this._onLocalIceCandidate.apply(this, [event]);

0 commit comments

Comments
 (0)