提交 cda73438 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-10420: [verto.js] Verto on Safari #resolve

上级 e78f3f0c
...@@ -230,9 +230,6 @@ ...@@ -230,9 +230,6 @@
} }
FSRTCattachMediaStream = function(element, stream) { FSRTCattachMediaStream = function(element, stream) {
if (element && element.id && attachMediaStream) {
attachMediaStream(element, stream);
} else {
if (typeof element.srcObject !== 'undefined') { if (typeof element.srcObject !== 'undefined') {
element.srcObject = stream; element.srcObject = stream;
} else if (typeof element.src !== 'undefined') { } else if (typeof element.src !== 'undefined') {
...@@ -241,8 +238,6 @@ ...@@ -241,8 +238,6 @@
console.error('Error attaching stream to element.'); console.error('Error attaching stream to element.');
} }
} }
}
function onRemoteStream(self, stream) { function onRemoteStream(self, stream) {
if (self.options.useVideo) { if (self.options.useVideo) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论