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:
Mike Jerris 2016-10-12 17:04:16 -05:00
commit e3d59e9eab

View File

@ -729,7 +729,7 @@
var remoteMediaStream = event.stream;
// onRemoteStreamEnded(MediaStream)
remoteMediaStream.onended = function() {
remoteMediaStream.oninactive = function () {
if (options.onRemoteStreamEnded) options.onRemoteStreamEnded(remoteMediaStream);
};