Android audio playout in non-call media streams

212 views
Skip to first unread message

Chris Tserng

unread,
Jan 17, 2018, 3:13:13 AM1/17/18
to discuss-webrtc
Hello,

I see the following feature was implemented to support moving audio streams to STREAM_MUSIC instead of STREAM_VOICE_CALL.


However it was reverted due to stability issues.

Are there any plans to re-work this feature?

The bug referenced appears to be internal, so I do not know the final conclusion for this feature.

Thanks,
Chris

Henrik Andreasson

unread,
Jan 17, 2018, 3:50:03 AM1/17/18
to discuss-webrtc
You can modify the default usage attribute on an audio track to e.g. USAGE_MEDIA using the
WebRTCAudioTrack#setAudioTrackUsageAttribute method in Java. No guarantees that everything will work
perfectly since USAGE_VOICE_COMM is default. 

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/b34e5183-2ca8-4124-aa16-b989100bae00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages