forked from Mirrors/freeswitch
FS-9635: update deprecated stream.onended
stream.onended is being removed in Chrome 54, update to stream.oninactive
This commit is contained in:
parent
0166ba281a
commit
c17db3d3af
@ -729,7 +729,7 @@
|
||||
var remoteMediaStream = event.stream;
|
||||
|
||||
// onRemoteStreamEnded(MediaStream)
|
||||
remoteMediaStream.onended = function() {
|
||||
remoteMediaStream.oninactive = function () {
|
||||
if (options.onRemoteStreamEnded) options.onRemoteStreamEnded(remoteMediaStream);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user