-
Notifications
You must be signed in to change notification settings - Fork 209
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
No Audio for 2 Android devices sharing same Room SessionID #46
Comments
@Rugvip any thoughts? |
Just to check: are you running the two instances of the all on two separate devices? |
Yes, I run one instance of NativeCall on a Nexus 5 and one on a Nexus 7. I then join the same sessionId (room) and initiate the call from either side. (there is often a delay at this point...) I then get 2-way video, but no audio. @superdump, Does it work for you? |
Any update on this? I'm also getting the same error. Tried the latest NativeCall sample app. |
This issue is fixed by EricssonResearch/cerbero@20a368b and EricssonResearch/openwebrtc@6d72e0a |
I tried it with the latest cerbero master with that same device, Sony Xperia Z3 running on Lollipop 5.1. I also updated the openwebrtc-examples. Result: The gstreamer error no longer exists but the following log was still there:
|
Hello! And yes library version 0.1.0 |
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...
The text was updated successfully, but these errors were encountered: