提交 a5776837 authored 作者: Brian West's avatar Brian West

Merge pull request #1536 in FS/freeswitch from…

Merge pull request #1536 in FS/freeswitch from ~MARCELL-G/freeswitch:bugfix/FS-11236-sync-tag-with-localtag-video-device-streaming to master

* commit '15227e01':
  FS-11236 [verto_communicator] call useCamera property on video constraints
......@@ -448,10 +448,7 @@
getUserMedia({
constraints: {
audio: false,
video: {
//mandatory: self.options.videoParams,
//optional: []
},
video: { deviceId: params.useCamera },
},
localVideo: self.options.localVideo,
onsuccess: function(e) {self.options.localVideoStream = e; console.log("local video ready");},
......@@ -501,8 +498,7 @@
getUserMedia({
constraints: {
audio: false,
video: obj.options.videoParams
video: { deviceId: obj.options.useCamera },
},
localVideo: obj.options.localVideo,
onsuccess: function(e) {obj.options.localVideoStream = e; console.log("local video ready");},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论