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

This commit is contained in:
Anthony Minessale committed 2017-06-22 16:43:11 -05:00
1 parent e78f3f0c04
commit cda7343841
4 files changed
+4321 -18

No files matched your search

+5 -10
View File
@@ -230,19 +230,14 @@
}
FSRTCattachMediaStream = function(element, stream) {
if (element && element.id && attachMediaStream) {
attachMediaStream(element, stream);
if (typeof element.srcObject !== 'undefined') {
element.srcObject = stream;
} else if (typeof element.src !== 'undefined') {
element.src = URL.createObjectURL(stream);
} else {
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.');
}
console.error('Error attaching stream to element.');
}
}
function onRemoteStream(self, stream) {
if (self.options.useVideo) {