File tree 1 file changed +1
-6
lines changed
src/connectClient/initiator
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ export default class MewConnectInitiatorV2 extends MewConnectCommon {
52
52
this . retryCount = 0 ;
53
53
54
54
// WebRTC options
55
- this . iceTransportPolicy = 'all' ;
56
55
this . trickle = false ;
57
56
} catch ( e ) {
58
57
debug ( 'constructor error:' , e ) ;
@@ -352,7 +351,6 @@ export default class MewConnectInitiatorV2 extends MewConnectCommon {
352
351
webRtcConfig : {
353
352
initiator : true ,
354
353
trickle : this . trickle ,
355
- iceTransportPolicy : this . iceTransportPolicy ,
356
354
config : {
357
355
iceServers : this . stunServers
358
356
} ,
@@ -431,16 +429,14 @@ export default class MewConnectInitiatorV2 extends MewConnectCommon {
431
429
432
430
this . iceServers = null ;
433
431
const defaultOptions = {
434
- initiator : this . trickle ,
432
+ initiator : true ,
435
433
trickle : this . trickle ,
436
- // iceTransportPolicy: 'all', //'relay',
437
434
config : {
438
435
iceServers : webRtcServers
439
436
} ,
440
437
wrtc : wrtc
441
438
} ;
442
439
443
- //
444
440
const simpleOptions = {
445
441
...defaultOptions ,
446
442
...webRtcConfig
@@ -584,7 +580,6 @@ export default class MewConnectInitiatorV2 extends MewConnectCommon {
584
580
webRtcConfig : {
585
581
initiator : true ,
586
582
trickle : this . trickle ,
587
- iceTransportPolicy : 'relay' ,
588
583
config : {
589
584
iceServers : data . iceServers . map ( obj => {
590
585
const newObject = { } ;
You can’t perform that action at this time.
0 commit comments