forked from Mirrors/freeswitch
Merge pull request #1002 in FS/freeswitch from ~THEHUNMONKGROUP/freeswitch:hotfix/FS-9635-update-deprecated-stream.onended to master
* commit 'c17db3d3afc55c6f278bb13126ed2f5468b4026e': FS-9635: update deprecated stream.onended
This commit is contained in:
commit
e3d59e9eab
@ -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