Skip to content

Commit 2e39b08

Browse files
committed
Update bundle.js
1 parent da87cae commit 2e39b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ function JanusPluginHandle(session) {
1212
}
1313

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

0 commit comments

Comments
 (0)