Green screen when making video call on android

225 views
Skip to first unread message

Entropic Snail

unread,
Mar 4, 2013, 11:48:18 AM3/4/13
to doub...@googlegroups.com
Hi
I have an issue when making a call to another client using the doubango library.  It seems to work when making an outgoing call to a windows or iOS client, however when calling another android phone all I get is a green screen on the device that initiated the call, the device recieving the call recieves video clearly (I have tried this both ways).  After a minute or so it then drops the call entirely.  This is the log

03-04 16:40:52.070: I/tinyWRAP(6071): *INFO: Transport::run() - enter
03-04 16:40:52.070: I/tinyWRAP(6071): *INFO: Timer manager run()::enter
03-04 16:40:52.070: V/ToneGenerator(6071): stopTone
03-04 16:40:52.070: V/ToneGenerator(6071): waiting cond
03-04 16:40:52.070: I/GLThread(6071): starting tid=916
03-04 16:40:52.070: I/tinyWRAP(6071): *INFO: Starting [RTP/RTCP Manager] server with IP {172.31.24.206} on port {41224} using fd {51} with type {3}...
03-04 16:40:52.070: I/tinyWRAP(6071): *INFO: TIMER MANAGER -- START
03-04 16:40:52.075: V/ToneGenerator(6071): Stop/restart Cbk
03-04 16:40:52.075: V/ToneGenerator(6071): Cbk Stopping
03-04 16:40:52.095: V/ToneGenerator(6071): Stopped Cbk
03-04 16:40:52.095: V/ToneGenerator(6071): Cbk Stopped track
03-04 16:40:52.110: V/ToneGenerator(6071): track stop complete, time 185580237
03-04 16:40:52.110: V/ToneGenerator(6071): Clearing mWaveGens:
03-04 16:40:52.110: D/org.doubango.ngn.media.NgnProxyAudioProducer(6071): setSpeakerphoneOn(false)
03-04 16:40:52.110: D/org.doubango.ngn.media.NgnProxyAudioConsumer(6071): setSpeakerphoneOn(false)
03-04 16:40:52.110: D/org.doubango.ngn.media.NgnProxyAudioConsumer(6071): changeVolume(false,false) aec:true
03-04 16:40:52.110: D/org.doubango.ngn.media.NgnProxyAudioConsumer(6071): Consumer changeVolume audio attenuation 1.0
03-04 16:40:52.130: I/(6071): !@Mali Android API Version : 7 [1362415252]
03-04 16:40:52.170: D/org.doubango.ngn.media.NgnProxyVideoProducer(6071): Surface Changed Callback
03-04 16:40:52.175: D/org.doubango.ngn.media.NgnProxyVideoProducer(6071): setPreviewSize [320 x 240 ]
03-04 16:40:52.175: D/org.doubango.ngn.media.NgnProxyVideoProducer(6071): setDisplayOrientation [90]
03-04 16:40:52.195: D/org.doubango.ngn.media.NgnProxyVideoConsumerGL(6071): OpenGL extensions=GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil
03-04 16:40:52.275: I/tinyWRAP(6071): *INFO: State machine: No matching state found.
03-04 16:40:53.075: I/tinyWRAP(6071): *INFO: JB_INTERP
03-04 16:40:53.335: I/tinyWRAP(6071): *INFO: State machine: tsip_transac_nict_Completed_2_Terminated_X_timerK
03-04 16:40:53.335: I/tinyWRAP(6071): *INFO: === NICT terminated ===
03-04 16:40:53.340: I/tinyWRAP(6071): *INFO: *** NICT destroyed ***
03-04 16:40:53.930: I/tinyWRAP(6071): *INFO: producer size = (320, 240)
03-04 16:40:53.930: I/tinyWRAP(6071): *INFO: Initializing new LibYUV Video Converter src=(320x240) dst=(352x288)
03-04 16:40:54.280: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:40:54.500: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:40:56.560: I/tinyWRAP(6071): *INFO: JB_INTERP
03-04 16:40:56.650: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:40:57.915: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:40:58.005: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:40:59.885: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:41:00.025: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:41:03.890: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:41:04.015: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:41:05.885: I/tinyWRAP(6071): *INFO: State machine: tsip_transac_nist_Completed_2_Terminated_X_tirmerJ
03-04 16:41:05.885: I/tinyWRAP(6071): *INFO: === NIST terminated ===
03-04 16:41:05.885: I/tinyWRAP(6071): *INFO: *** NIST destroyed ***
03-04 16:41:05.925: I/tinyWRAP(6071): *INFO: State machine: tsip_transac_nist_Completed_2_Terminated_X_tirmerJ
03-04 16:41:05.925: I/tinyWRAP(6071): *INFO: === NIST terminated ===
03-04 16:41:05.930: I/tinyWRAP(6071): *INFO: *** NIST destroyed ***
03-04 16:41:11.095: I/tinyWRAP(6071): *INFO: JB_INTERP
03-04 16:41:13.955: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:41:14.245: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:41:19.465: I/tinyWRAP(6071): *INFO: NACK Found=879
03-04 16:41:23.775: I/tinyWRAP(6071): *INFO: === ICT terminated ===
03-04 16:41:23.775: I/tinyWRAP(6071): *INFO: *** ICT destroyed ***
03-04 16:41:23.885: I/tinyWRAP(6071): *INFO: Receving RTCP-FIR (520448062)
03-04 16:41:25.205: W/AudioTrack(6071): obtainBuffer() track 0x3799a8 disabled, restarting
03-04 16:41:26.440: I/dalvikvm(6071): threadid=4: reacting to signal 3
03-04 16:41:32.960: D/dalvikvm(7776): GC_CONCURRENT freed 624K, 44% free 4224K/7495K, external 2012K/2504K, paused 3ms+3ms
03-04 16:41:33.210: D/dalvikvm(7776): GC_EXTERNAL_ALLOC freed 472K, 47% free 4120K/7751K, external 1727K/2127K, paused 63ms
03-04 16:41:33.445: D/dalvikvm(7776): GC_EXTERNAL_ALLOC freed 433K, 44% free 4375K/7751K, external 2636K/3292K, paused 48ms

Does anyone have any idea why this may happen?

Sunny Rodriguez

unread,
Apr 2, 2013, 2:24:58 AM4/2/13
to doub...@googlegroups.com
I am suffering a similar error.

Environment:
OS: Ubuntu 12.04.2 LTS 32-bit
IMSDroid: v2.547.854 (r547), Doubango: revision r854
Device: HTC Evo 3G
Android Version: 2.3.5

Asterisk Version: Asterisk 1.8.13.1~dfsg-1 built by pbuilder @ sweetmorn on a x86_64 running Linux on 2012-09-01 02:45:53 UTC

Problem:
The senders video on a video call is always green. The caller places a video call and the callee answers the call. A green screen appears with a square in the lower-right displaying a video stream of the front facing camera of the device. Both the caller and callee display this green screen.

A logcat captured by the callee and a network capture has been attached for analysis.

Setup:
IMSDroid Settings:
Codecs Page: (the following are checked)
PCMA
PCMU
VP8
H264-BP
H.263
H.263+
QOS Page:
Preferred Video Size: CIF (352 x 288)

Asterisk Settings:
sip.conf: (one of the accounts)
[801]
type=friend
context=local
host=dynamic
nat=yes
;disallow=all
allow=all
dtmfmode=rfc2833
callerid="Extension 801"
regexten=801
secret=123

Steps:
1. Enter Dailer page
2. Input the sip address of callee
3. Answer call on callee device
4. Green screen appears on both devices (caller and callee)
post01_imsdroid_green_video_1.pcap
post01_imsdroid_green_01.txt
Reply all
Reply to author
Forward
0 new messages