Skip to content

Commit

Permalink
Update bundle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Jun 13, 2023
1 parent da87cae commit 2e39b08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function JanusPluginHandle(session) {
}

/** Attaches this handle to the Janus server and sets its ID. **/
JanusPluginHandle.prototype.attach = function(plugin) {
var payload = { plugin: plugin, "force-bundle": true, "force-rtcp-mux": true };
JanusPluginHandle.prototype.attach = function(plugin, loop_index) {
var payload = { plugin: plugin, loop_index: loop_index, "force-bundle": true, "force-rtcp-mux": true };
return this.session.send("attach", payload).then(resp => {
this.id = resp.data.id;
return resp;
Expand Down

0 comments on commit 2e39b08

Please sign in to comment.