Skip to content

Commit 97fcf22

Browse files
committed
Expose ability to manually trigger a renegotiation
1 parent b9a8ce5 commit 97fcf22

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

couple.js

+5
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,11 @@ function couple(pc, targetId, signaller, opts) {
477477

478478
mon.stop = decouple;
479479

480+
/**
481+
Allows for manually triggering a renegotiation
482+
*/
483+
mon.requestRenegotiation = handleRenegotiateRequest;
484+
480485
/**
481486
Aborts the coupling process
482487
**/

0 commit comments

Comments
 (0)