@abraca/dabra 1.0.5 → 1.0.7
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.
|
@@ -9877,6 +9877,7 @@ var ManualSignaling = class extends EventEmitter {
|
|
|
9877
9877
|
*/
|
|
9878
9878
|
async createOfferBlob() {
|
|
9879
9879
|
this.pc = new RTCPeerConnection({ iceServers: this.iceServers });
|
|
9880
|
+
this.pc.createDataChannel("manual-signaling");
|
|
9880
9881
|
const candidates = [];
|
|
9881
9882
|
const gatheringComplete = new Promise((resolve) => {
|
|
9882
9883
|
this.pc.onicecandidate = (event) => {
|
|
@@ -9904,6 +9905,7 @@ var ManualSignaling = class extends EventEmitter {
|
|
|
9904
9905
|
*/
|
|
9905
9906
|
async acceptOffer(offerBlob) {
|
|
9906
9907
|
this.pc = new RTCPeerConnection({ iceServers: this.iceServers });
|
|
9908
|
+
this.pc.createDataChannel("manual-signaling");
|
|
9907
9909
|
const candidates = [];
|
|
9908
9910
|
const gatheringComplete = new Promise((resolve) => {
|
|
9909
9911
|
this.pc.onicecandidate = (event) => {
|