@abraca/dabra 1.0.6 → 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.
|
@@ -9825,6 +9825,7 @@ var ManualSignaling = class extends EventEmitter {
|
|
|
9825
9825
|
*/
|
|
9826
9826
|
async createOfferBlob() {
|
|
9827
9827
|
this.pc = new RTCPeerConnection({ iceServers: this.iceServers });
|
|
9828
|
+
this.pc.createDataChannel("manual-signaling");
|
|
9828
9829
|
const candidates = [];
|
|
9829
9830
|
const gatheringComplete = new Promise((resolve) => {
|
|
9830
9831
|
this.pc.onicecandidate = (event) => {
|
|
@@ -9852,6 +9853,7 @@ var ManualSignaling = class extends EventEmitter {
|
|
|
9852
9853
|
*/
|
|
9853
9854
|
async acceptOffer(offerBlob) {
|
|
9854
9855
|
this.pc = new RTCPeerConnection({ iceServers: this.iceServers });
|
|
9856
|
+
this.pc.createDataChannel("manual-signaling");
|
|
9855
9857
|
const candidates = [];
|
|
9856
9858
|
const gatheringComplete = new Promise((resolve) => {
|
|
9857
9859
|
this.pc.onicecandidate = (event) => {
|