Created
May 30, 2018 19:53
-
-
Save phm200/0294ac99236f4638b72a80fc20a5bc56 to your computer and use it in GitHub Desktop.
Streams PR #64 - Softphone Manager 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
connect.contact(function(contact) { | |
... | |
contact.onRefresh(function() { | |
... | |
session.remoteAudioElement = document.getElementById('remote-audio'); | |
session.connect(); | |
// new code | |
var bus = connect.core.getEventBus(); | |
bus.trigger(contact.getEventName(connect.ContactEvents.SESSION), session); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment