Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to stream audio (e.g. MP3) while disabling the microphone? #137

Open
grokify opened this issue Aug 23, 2017 · 2 comments
Open
Assignees

Comments

@grokify
Copy link

grokify commented Aug 23, 2017

Some WebRTC solutions allow playing back an audio file while disconnecting the microphone. Can this be done with RingCentral web phone SDK?

It seems like the following code will work for generic WebRTC:

@grokify grokify changed the title Is it possible to play a media file (e.g. MP3) while disabling the microphone? Is it possible to stream audio (e.g. MP3) while disabling the microphone? Aug 23, 2017
@kirill-konshin
Copy link
Collaborator

kirill-konshin commented Aug 24, 2017

SDK is a wrapper on top of SIP.JS, which is a wrapper on top of browser's WebRTC, so technically it should be possible. Need more specific requirements.

@grokify
Copy link
Author

grokify commented Oct 6, 2017

There are a couple of use cases:

  • Announcements: In this use case, an employee should be able to dial an extension to select a pre-recorded message to playback over a PA system. For WebRTC, the scenario would be to have an IVR end up at an extension, have an app listen for calling on that extension and then programmatically call a PagingOnly extension and play back the pre-recorded message. One way to do this would be using Chrome in headless mode.
  • Voicemail Drop: In Voicemail Drop, when a caller reaches a voicemail system, the person can select a pre-recorded voicemail message to play. In a server-powered scenario, the user will be able to play a message from the cloud and drop off the call to engage in a different call. Before that is available, if we can do it on the client side, the user can move on to other activities, including another call if multiple lines are available.

In both of these scenarios, a server-side would be nice but a WebRTC solution could speed delivery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants