EricssonResearch / EricssonResearch/openwebrtc-examples
No Audio for 2 Android devices sharing same Room SessionID
- Dominant language
- Objective-C
- Stars
- 336
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
Overview:
Using the NativeCall app, the audio (and video) works correctly when connecting 1 Android device and a browser client at http://demo.openwebrtc.io:38080. Connecting 2 Android devices using NativeCall (and no browser client) results in shared video, but no audio.
Expected Behavior:
2 Android NativeCall apps should be able to join the same sessionID and share audio and video.
Actual Behavior:
2 Android apps in above scenario can only share video.
Environment:
Browser - Chrome on mac (Yosemite)
Nexus 5 - 5.0.1
Nexus 7 (2013) - 5.0.2
Other Notes:
I've connected 2 Android native clients (independent of the demo app and NativeCall) and got the video working. However audio didn't. As a sanity check I tried the outlined case above and found it didn't work in the demo app either.
When the audio IS (yes is) Working I see these errors in the log
02-07 10:36:11.098 16772-16960/com.ericsson.research.owr.examples.nativecall I/gst_log﹕ 0xa31536c0 ERROR default /Users/aaron/openwebrtc/scripts/dependencies/gst-plugins-base/gst-libs/gst/audio/audio-info.c:267:gst_audio_info_from_caps: no layout given
02-07 10:36:11.198 16772-16792/com.ericsson.research.owr.examples.nativecall E/g_printerr﹕ Error in element audio-source.
02-07 10:36:11.198 16772-16792/com.ericsson.research.owr.examples.nativecall E/g_printerr﹕ Debugging info: /Users/aaron/openwebrtc/scripts/dependencies/gstreamer/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:local-audio-capture-source-bin-1/GstOpenSLESSrc:audio-source:
streaming task paused, reason not-negotiated (-4)
02-07 10:36:11.834 16772-16792/com.ericsson.research.owr.examples.nativecall W/MediaController﹕ remote audio: com.ericsson.research.owr.RemoteMediaSource@33dfe211
02-07 10:36:11.966 16772-16988/com.ericsson.research.owr.examples.nativecall W/AudioTrack﹕ AUDIO_OUTPUT_FLAG_FAST denied by client
02-07 10:36:11.985 184-830/? D/audio_hw_primary﹕ out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=4
02-07 10:36:12.005 184-750/? D/audio_hw_primary﹕ select_devices: out_snd_device(5: headphones) in_snd_device(0: none)
02-07 10:36:12.005 184-750/? D/msm8974_platform﹕ platform_send_audio_calibration: sending audio calibration for snd_device(5) acdb_id(10)
02-07 10:36:12.005 184-750/? D/audio_hw_primary﹕ enable_snd_device: snd_device(5: headphones)
02-07 10:36:12.011 184-750/? D/audio_hw_primary﹕ enable_audio_route: apply and update mixer path: low-latency-playback
These errors are also present when audio is not working...
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.