pchab / AndroidRTC

Android client for ProjectRTC - a WebRTC demo
Other
1.58k stars 571 forks source link

Black Screen error #34

Open adepotter opened 9 years ago

adepotter commented 9 years ago

Hello

I just downloaded the app to try it on my computer. But when i run it only a black screen appear. No button or anything. (while the HowTo section speak of such button). I tried on a tablet, on a android nexus and on emulator.

Anybody got such error ? I would really like to try and use that app for a personal project ^^

Here is what's printed in the log :

03-27 19:50:49.899: D/AudioRecordJni(22909): BuiltInAECIsAvailable@[tid=22964] 03-27 19:50:49.899: D/HelpersAndroid(22909): Attaching thread to JVM@[tid=22964] 03-27 19:50:49.903: D/HelpersAndroid(22909): Detaching thread from JVM@[tid=22964] 03-27 19:50:49.903: D/AudioRecordJni(22909): EnableBuiltInAEC@[tid=22964] 03-27 19:50:49.903: D/HelpersAndroid(22909): Attaching thread to JVM@[tid=22964] 03-27 19:50:49.904: D/WebRtcAudioRecord(22909): EnableBuiltInAEC(true) 03-27 19:50:49.904: D/HelpersAndroid(22909): Detaching thread from JVM@[tid=22964] 03-27 19:50:49.904: I/libjingle(22909): Disabling EC since built-in EC will be used instead 03-27 19:50:49.904: I/libjingle(22909): High pass filter enabled? 1 03-27 19:50:49.904: I/libjingle(22909): Stereo swapping enabled? 0 03-27 19:50:49.904: I/libjingle(22909): Typing detection is enabled? 0 03-27 19:50:49.905: E/libjingle(22909): Error(webrtcvoiceengine.cc:1404): webrtc: (voe_audio_processing_impl.cc:1005): virtual int webrtc::VoEAudioProcessingImpl::SetTypingDetectionStatus(bool): not supported 03-27 19:50:49.905: W/libjingle(22909): Warning(webrtcvoiceengine.cc:928): SetTypingDetectionStatus(0) failed, err=8003 03-27 19:50:49.905: I/libjingle(22909): Adjust agc delta is 0 03-27 19:50:49.905: I/libjingle(22909): Adjusting AGC level from default -3dB to -3dB 03-27 19:50:49.905: I/libjingle(22909): Aec dump is enabled? 0 03-27 19:50:49.905: I/libjingle(22909): Experimental aec is enabled? 0 03-27 19:50:49.905: I/libjingle(22909): Experimental ns is enabled? 0 03-27 19:50:49.909: I/libjingle(22909): Setting microphone to (id=0, name=Default device) and speaker to (id=0, name=Default device) 03-27 19:50:49.909: W/libjingle(22909): Warning(webrtcvoiceengine.cc:1404): webrtc: SetRecordingChannel() unable to set the recording channel (error=10028) 03-27 19:50:49.909: E/libjingle(22909): Error(webrtcvoiceengine.cc:1404): webrtc: failed to enable stereo recording 03-27 19:50:49.909: W/libjingle(22909): Warning(webrtcvoiceengine.cc:1404): webrtc: SetRecordingDevice() failed to set mono recording mode (error=8090) 03-27 19:50:49.910: E/libjingle(22909): Error(webrtcvoiceengine.cc:1404): webrtc: stereo playout is not supported 03-27 19:50:49.910: W/libjingle(22909): Warning(webrtcvoiceengine.cc:1404): webrtc: SetPlayoutDevice() failed to set stereo playout mode (error=8090) 03-27 19:50:49.910: I/libjingle(22909): Set microphone to (id=0 name=Default device) and speaker to (id=0 name=Default device) 03-27 19:50:49.916: I/libjingle(22909): Making key pair 03-27 19:50:49.929: D/VideoRendererGui(22909): VideoRendererGui.onSurfaceChanged: 1196 x 718
03-27 19:50:51.058: I/libjingle(22909): Returning key pair 03-27 19:50:51.058: I/libjingle(22909): Making certificate for WebRTC 03-27 19:50:51.066: I/libjingle(22909): Returning certificate

Thx in advance for the answer ^^

pchab commented 9 years ago

if the dialog menu doesn't appear, it usually means that it couldn't connect to your server. Is projectRTC running ? Have you tried accessing it in your android chrome browser ? Have you changed the host address in strings.xml ?