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

This commit is contained in:
Anthony Minessale
2017-06-22 16:43:11 -05:00
parent e78f3f0c04
commit cda7343841
4 changed files with 4321 additions and 18 deletions

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) {

File diff suppressed because one or more lines are too long