File tree Expand file tree Collapse file tree
cpp/open3d/visualization/webrtc_server/html Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ let WebRtcStreamer = (function() {
3737 this . pc = null ;
3838 this . dataChannel = null ;
3939
40- this . pcOptions = { optional : [ { DtlsSrtpKeyAgreement : true } ] } ;
41-
4240 this . mediaConstraints = {
4341 offerToReceiveAudio : true ,
4442 offerToReceiveVideo : true ,
@@ -614,8 +612,7 @@ let WebRtcStreamer = (function() {
614612 WebRtcStreamer . prototype . createPeerConnection = function ( ) {
615613 console . log (
616614 'createPeerConnection config: ' +
617- JSON . stringify ( this . pcConfig ) +
618- ' option:' + JSON . stringify ( this . pcOptions ) ) ;
615+ JSON . stringify ( this . pcConfig ) ) ;
619616 this . pc = new RTCPeerConnection ( this . pcConfig ) ;
620617 var pc = this . pc ;
621618 pc . peerid = Math . random ( ) ;
@@ -719,8 +716,7 @@ let WebRtcStreamer = (function() {
719716
720717 console . log (
721718 'Created RTCPeerConnection with config: ' +
722- JSON . stringify ( this . pcConfig ) +
723- 'option:' + JSON . stringify ( this . pcOptions ) ) ;
719+ JSON . stringify ( this . pcConfig ) ) ;
724720 return pc ;
725721 } ;
726722
You can’t perform that action at this time.
0 commit comments