提交 fc6661cc authored 作者: netoguimaraes's avatar netoguimaraes

FS-11229 - [verto_communicator]: deprecating use of URL.createObjectURL

上级 ccebe22c
......@@ -232,8 +232,6 @@
FSRTCattachMediaStream = function(element, stream) {
if (typeof element.srcObject !== 'undefined') {
element.srcObject = stream;
} else if (typeof element.src !== 'undefined') {
element.src = URL.createObjectURL(stream);
} else {
console.error('Error attaching stream to element.');
}
......@@ -960,7 +958,7 @@
function streaming(stream) {
if (options.localVideo) {
options.localVideo['src'] = window.URL.createObjectURL(stream);
options.localVideo['srcObject'] = stream;
options.localVideo.style.display = 'block';
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论