LinphoneLib at Android. No video problem.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

LinphoneLib at Android. No video problem.

Mikhail Sviridov-2

Hi All,

 

I have strange problem with my application. I build my application same way as I did see in simple sample application in Linphone Android repository. Also I built this application too (just to see how it works).

 

The problem:

  1. When I call to my app from DoorBird intercom I receive bunch of “MS_VIDEO_DECODER_DECODING_ERRORS” messages and got no video. Audio is playing alright though.
  2. If I call from my app to DoorBird intercom – no video also.
  3. If I call from other linphone softphone to my app – video is running alright (audio is always alright).
  4. When I call from DoorBird intercom to simple linphone demo app (I built from sources provided in the linphone Android repository – demo how to use linphone) it has no problems with the video also.
  5. My application is based mostly on that simple demo app.

 

As I understand from the debug messages there is problem with the video codec (H264 I guess), but what could be wrong if it works with other linphone softphones? And how can I fix that?

 

 

 

Some logs are here prior those error messages:

 

12:51:40.686 12453-12723/tablet I/LINPHONE_SERVICE: video processing delay = { min=0ms, mean=0.0ms, max=0ms } (RtpSession=0x7cdc753c00)

12:51:40.836 12453-12723/tablet I/LINPHONE_SERVICE: jitter buffer stable: target-size: 500.000000 ms, effective-size: 342.500000 (min: 40 nom: 60, max: 500)

12:51:40.837 12453-12723/tablet I/LINPHONE_SERVICE: jitter buffer rls stats: count=77, clockrate=90000, offset=36106.2 clock_ratio=1.28902, capped_offset=90106 capped_clock_ratio=1.289024, max_ts_deviation=62950.000000 prev_max_ts_deviation=57462.000000, deviation=23656, RLS VARIABLES: P[0][0]=0.000000, P[1][0]=-0.000000, P[0][1]=-0.000000, P[1][1]=0.029637

12:51:41.069 12453-12709/tablet I/LINPHONE_SERVICE: [OpenSLES] sound/wall clock skew is average=532.202 ms

12:51:41.138 12453-12709/tablet I/LINPHONE_SERVICE: jitter buffer stable: target-size: 378.125012 ms, effective-size: 384.852936 (min: 40 nom: 60, max: 500)

12:51:41.138 12453-12709/tablet I/LINPHONE_SERVICE: jitter buffer rls stats: count=276, clockrate=8000, offset=1163.33 clock_ratio=1.08354, capped_offset=1963 capped_clock_ratio=1.083543, max_ts_deviation=3025.000000 prev_max_ts_deviation=2921.000000, deviation=348, RLS VARIABLES: P[0][0]=0.000000, P[1][0]=-0.000000, P[0][1]=-0.000000, P[1][1]=0.010279

12:51:41.187 12453-12723/tablet I/LINPHONE_SERVICE: Stun packet sent for session [0x7cdc753c00]

12:51:41.368 12453-12709/tablet I/LINPHONE_SERVICE: Sending RTCP SR compound message on session [0x7cdc752800].

12:51:41.624 tablet E/LINPHONE_SERVICE: no such method on filter MSAndroidTextureDisplay, fid=16387 method index=3

12:51:41.626 tablet I/LINPHONE_SERVICE: Core callbacks [0x7cda7c4830] registered on core [0x7d3d361600]

12:51:41.652 tablet I/LINPHONE_SERVICE: bellesip_wake_lock_acquire(): Android wake lock [belle-sip recv channel] acquired [ref=0x200bbe]

12:51:41.652 tablet I/LINPHONE_SERVICE: bellesip_wake_lock_acquire(): cast long of wakelock 2100158

12:51:41.652 tablet I/LINPHONE_SERVICE: channel [0x7cdc686dc0]: starting recv background task with id=[200bbe].

12:51:41.652 tablet I/LINPHONE_SERVICE: channel [0x7cdc686dc0]: received [1213] new bytes from [UDP://my.domain.com:5060]:

12:51:41.652 tablet I/LINPHONE_SERVICE: UPDATE sip:MYTABLET@192.168.1.6:47199;fs-conn-id=7c5b603256a32afd SIP/2.0

12:51:41.652 tablet I/LINPHONE_SERVICE: Via: SIP/2.0/UDP 192.168.1.5:5060;rport;branch=z9hG4bK.ajU8eStKQ1ZNar9X2m5gm883cg

12:51:41.652 tablet I/LINPHONE_SERVICE: Via: SIP/2.0/UDP 192.168.1.6:54404;rport=11966;branch=z9hG4bKPjbcc23f97-9ea0-49fd-80d3-867a0700d602

12:51:41.652 tablet I/LINPHONE_SERVICE: Max-Forwards: 69

12:51:41.652 tablet I/LINPHONE_SERVICE: From: <sip:[hidden email]>;tag=c8bf0cc6-fe49-4a73-9b4b-f330495414ec

12:51:41.652 tablet I/LINPHONE_SERVICE: To: <sip:[hidden email]>;tag=ThlhtxP

12:51:41.652 tablet I/LINPHONE_SERVICE: Contact: <sip:DOORBIRD@192.168.1.6:11966;ob>

12:51:41.652 tablet I/LINPHONE_SERVICE: Call-ID: db36b9d8-cccd-44fe-8dc0-fca135c51f7f

12:51:41.652 tablet I/LINPHONE_SERVICE: CSeq: 24664 UPDATE

12:51:41.652 tablet I/LINPHONE_SERVICE: Supported: replaces, 100rel, timer, norefersub

12:51:41.653 tablet I/LINPHONE_SERVICE: Session-Expires: 1800

12:51:41.653 tablet I/LINPHONE_SERVICE: Min-SE: 90

12:51:41.653 tablet I/LINPHONE_SERVICE: Content-Type: application/sdp

12:51:41.653 tablet I/LINPHONE_SERVICE: Content-Length: 517

12:51:41.653 tablet I/LINPHONE_SERVICE: v=0

12:51:41.653 tablet I/LINPHONE_SERVICE: o=- 3796451491 3796451492 IN IP4 192.168.1.7

12:51:41.653 tablet I/LINPHONE_SERVICE: s=doorbird

12:51:41.653 tablet I/LINPHONE_SERVICE: b=AS:84

12:51:41.653 tablet I/LINPHONE_SERVICE: t=0 0

12:51:41.653 tablet I/LINPHONE_SERVICE: a=X-nat:0

12:51:41.653 tablet I/LINPHONE_SERVICE: m=audio 4000 RTP/AVP 0 96

12:51:41.653 tablet I/LINPHONE_SERVICE: c=IN IP4 192.168.1.7

12:51:41.653 tablet I/LINPHONE_SERVICE: b=TIAS:64000

12:51:41.653 tablet I/LINPHONE_SERVICE: a=rtcp:4001 IN IP4 192.168.1.7

12:51:41.653 tablet I/LINPHONE_SERVICE: a=rtpmap:0 PCMU/8000

12:51:41.653 tablet I/LINPHONE_SERVICE: a=rtpmap:96 telephone-event/8000

12:51:41.653 tablet I/LINPHONE_SERVICE: a=fmtp:96 0-16

12:51:41.653 tablet I/LINPHONE_SERVICE: a=sendrecv

12:51:41.653 tablet I/LINPHONE_SERVICE: m=video 4002 RTP/AVP 97

12:51:41.653 tablet I/LINPHONE_SERVICE: c=IN IP4 192.168.1.7

12:51:41.653 tablet I/LINPHONE_SERVICE: a=rtcp:4003 IN IP4 192.168.1.7

12:51:41.653 tablet I/LINPHONE_SERVICE: a=rtpmap:97 H264/90000

12:51:41.653 tablet I/LINPHONE_SERVICE: a=fmtp:97 profile-level-id=42e01e; packetization-mode=1; sprop-parameter-sets=Z00AKNoBQBbpUgAABPAAAGLAwIAB6EgACJVF73wvCIRq,aO48gA==

12:51:41.653 tablet I/LINPHONE_SERVICE: a=sendrecv

12:51:41.679 tablet I/LINPHONE_SERVICE: channel [0x7cdc686dc0] [696] bytes parsed

12:51:41.680 tablet I/LINPHONE_SERVICE: channel [0x7cdc686dc0] read [517] bytes of body from [my.domain.com:5060]

12:51:41.685 tablet I/LINPHONE_SERVICE: bellesip_wake_lock_acquire(): Android wake lock [belle-sip transaction(0x7cdc747b80)] acquired [ref=0x200bc6]

12:51:41.685 tablet I/LINPHONE_SERVICE: bellesip_wake_lock_acquire(): cast long of wakelock 2100166

12:51:41.685 tablet I/LINPHONE_SERVICE: transaction [0x7cdc747b80]: starting transaction background task with id=[200bc6].

12:51:41.686 12453-12723/tablet I/LINPHONE_SERVICE: Stun packet sent for session [0x7cdc753c00]

12:51:41.687 tablet I/LINPHONE_SERVICE: Changing [server] [UPDATE] transaction [0x7cdc747b80], from state [INIT] to [TRYING]

12:51:41.691 tablet I/LINPHONE_SERVICE: Found payload PCMU/8000 fmtp=

12:51:41.692 tablet I/LINPHONE_SERVICE: Found payload telephone-event/8000 fmtp=0-16

12:51:41.692 tablet I/LINPHONE_SERVICE: Found payload H264/90000 fmtp=profile-level-id=42e01e; packetization-mode=1; sprop-parameter-sets=Z00AKNoBQBbpUgAABPAAAGLAwIAB6EgACJVF73wvCIRq,aO48gA==

12:51:41.692 tablet I/LINPHONE_SERVICE: audio stream index found: 0, updating main audio stream index

12:51:41.692 tablet I/LINPHONE_SERVICE: video stream index found: 1, updating main video stream index

12:51:41.692 tablet I/LINPHONE_SERVICE: Found media local-ip from signaling.

12:51:41.693 tablet I/LINPHONE_SERVICE: Don't put text stream on local offer for CallSession [0x7cdc61a278]

12:51:41.693 tablet I/LINPHONE_SERVICE: Doing SDP offer/answer process of type incoming

12:51:41.693 tablet I/LINPHONE_SERVICE: Doing offer/answer processing with specific provider for codec [H264]

12:51:41.694 tablet I/LINPHONE_SERVICE: CallSession [0x7cdc61a278] moving from state State::StreamsRunning to State::UpdatedByRemote

12:51:41.811 12453-12460/tablet I/art: Starting a blocking GC Instrumentation

12:51:41.936 12453-12460/tablet I/art: Starting a blocking GC Instrumentation

12:51:42.186 12453-12723/tablet I/LINPHONE_SERVICE: Stun packet sent for session [0x7cdc753c00]

12:51:42.392 tablet I/LINPHONE_SERVICE: Linphone core [0x7d3d361600] notified [call_state_changed]

12:51:42.392 tablet I/LINPHONE_SERVICE: Checking for ICE reINVITE

12:51:42.393 tablet I/LINPHONE_SERVICE: Found media local-ip from signaling.

12:51:42.394 tablet I/LINPHONE_SERVICE: Don't put text stream on local offer for CallSession [0x7cdc61a278]

12:51:42.397 tablet I/LINPHONE_SERVICE: Accepting server transaction [0x7cdc747b80] on op [0x7cdc63be00]

12:51:42.397 tablet I/LINPHONE_SERVICE: Doing SDP offer/answer process of type incoming

12:51:42.397 tablet I/LINPHONE_SERVICE: Doing offer/answer processing with specific provider for codec [H264]

12:51:42.399 tablet I/LINPHONE_SERVICE: Changing [server] [UPDATE] transaction [0x7cdc747b80], from state [TRYING] to [COMPLETED]

12:51:42.400 tablet I/LINPHONE_SERVICE: channel [0x7cdc686dc0]: message sent to [UDP://my.domain.com:5060], size: [1004] bytes

12:51:42.401 tablet I/LINPHONE_SERVICE: SIP/2.0 200 Ok

12:51:42.401 tablet I/LINPHONE_SERVICE: Via: SIP/2.0/UDP 192.168.1.5:5060;rport;branch=z9hG4bK.ajU8eStKQ1ZNar9X2m5gm883cg

12:51:42.401 tablet I/LINPHONE_SERVICE: Via: SIP/2.0/UDP 192.168.1.6:54404;rport=11966;branch=z9hG4bKPjbcc23f97-9ea0-49fd-80d3-867a0700d602

12:51:42.401 tablet I/LINPHONE_SERVICE: From: <sip:[hidden email]>;tag=c8bf0cc6-fe49-4a73-9b4b-f330495414ec

12:51:42.401 tablet I/LINPHONE_SERVICE: To: <sip:[hidden email]>;tag=ThlhtxP

12:51:42.401 tablet I/LINPHONE_SERVICE: Call-ID: db36b9d8-cccd-44fe-8dc0-fca135c51f7f

12:51:42.401 tablet I/LINPHONE_SERVICE: CSeq: 24664 UPDATE

12:51:42.401 tablet I/LINPHONE_SERVICE: User-Agent: Unknown (belle-sip/4.3.0)

12:51:42.401 tablet I/LINPHONE_SERVICE: Supported: replaces, outbound, gruu

12:51:42.401 tablet I/LINPHONE_SERVICE: Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE

12:51:42.401 tablet I/LINPHONE_SERVICE: Contact: <sip:[hidden email];gr=urn:uuid:9a2f8562-3634-00ee-80cd-4f32abb670f4>

12:51:42.401 tablet I/LINPHONE_SERVICE: Content-Type: application/sdp

12:51:42.401 tablet I/LINPHONE_SERVICE: Content-Length: 250

12:51:42.401 tablet I/LINPHONE_SERVICE: v=0

12:51:42.401 tablet I/LINPHONE_SERVICE: o=MYTABLET 99 2700 IN IP4 192.168.1.6

12:51:42.401 tablet I/LINPHONE_SERVICE: s=Talk

12:51:42.401 tablet I/LINPHONE_SERVICE: c=IN IP4 192.168.1.6

12:51:42.401 tablet I/LINPHONE_SERVICE: t=0 0

12:51:42.401 tablet I/LINPHONE_SERVICE: m=audio 7078 RTP/AVP 0 96

12:51:42.401 tablet I/LINPHONE_SERVICE: a=rtpmap:96 telephone-event/8000

12:51:42.401 tablet I/LINPHONE_SERVICE: m=video 9078 RTP/AVP 97

12:51:42.401 tablet I/LINPHONE_SERVICE: a=rtpmap:97 H264/90000

12:51:42.401 tablet I/LINPHONE_SERVICE: a=fmtp:97 profile-level-id=42801F; packetization-mode=1

12:51:42.402 tablet I/LINPHONE_SERVICE: Dialog [0x7d22e16c00]: now updated by transaction [0x7cdc747b80].

12:51:42.402 tablet I/LINPHONE_SERVICE: Stream descriptions are different, need to restart the audio stream

12:51:42.403 tablet I/LINPHONE_SERVICE: Writing echo canceler state, 0 bytes

12:51:42.403 tablet W/LINPHONE_SERVICE: .linphone.ecstate has not been created because there is no data to write

12:51:42.426 tablet I/LINPHONE_SERVICE: ms_ticker_set_time_func: ticker's time method updated.

12:51:42.429 tablet I/LINPHONE_SERVICE: Filter MSRtpRecv is not scheduled; nothing to do.

12:51:42.429 tablet I/LINPHONE_SERVICE: ===========================================================

12:51:42.429 tablet I/LINPHONE_SERVICE:              AUDIO SESSION'S RTP STATISTICS               

 12:51:42.429 tablet I/LINPHONE_SERVICE: -----------------------------------------------------------

12:51:42.430 tablet I/LINPHONE_SERVICE: sent                                        312 packets

12:51:42.430 tablet I/LINPHONE_SERVICE:                                               0 duplicated packets

12:51:42.430 tablet I/LINPHONE_SERVICE:                                           53664 bytes 

 12:51:42.430 tablet I/LINPHONE_SERVICE: received                                    340 packets

12:51:42.430 tablet I/LINPHONE_SERVICE:                                               0 duplicated packets

12:51:42.430 tablet I/LINPHONE_SERVICE:                                           58480 bytes 

 12:51:42.430 tablet I/LINPHONE_SERVICE: incoming delivered to the app             55728 bytes 

 12:51:42.430 tablet I/LINPHONE_SERVICE: incoming cumulative lost                      0 packets

12:51:42.430 tablet I/LINPHONE_SERVICE: incoming received too late                    2 packets

12:51:42.430 tablet I/LINPHONE_SERVICE: incoming bad formatted                        0 packets

12:51:42.430 tablet I/LINPHONE_SERVICE: incoming discarded (queue overflow)           0 packets

12:51:42.430 tablet I/LINPHONE_SERVICE: sent rtcp                                     2 packets

12:51:42.430 tablet I/LINPHONE_SERVICE: received rtcp                                 2 packets

12:51:42.430 tablet I/LINPHONE_SERVICE: ===========================================================

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSOpenSLESRecorder:0x7cdc6fb100,0-->MSResample:0x7cdc6fb400,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSResample:0x7cdc6fb400,0-->MSEqualizer:0x7cdc6fb580,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSEqualizer:0x7cdc6fb580,0-->MSWebRTCAECM:0x7cdc613a80,1

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSWebRTCAECM:0x7cdc613a80,1-->MSVolume:0x7cdc6fb300,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSVolume:0x7cdc6fb300,0-->MSAudioMixer:0x7cdc6fb500,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSAudioMixer:0x7cdc6fb500,0-->MSUlawEnc:0x7cdc6fb000,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSUlawEnc:0x7cdc6fb000,0-->MSRtpSend:0x7cdc613a00,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSRtpRecv:0x7cdc611c80,0-->MSUlawDec:0x7cdc6fb280,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSUlawDec:0x7cdc6fb280,0-->MSGenericPLC:0x7cdc6fb680,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSGenericPLC:0x7cdc6fb680,0-->MSAudioFlowControl:0x7cdc6fb700,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSAudioFlowControl:0x7cdc6fb700,0-->MSDtmfGen:0x7cdc611a80,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSDtmfGen:0x7cdc611a80,0-->MSVolume:0x7cdc6fb380,0

12:51:42.431 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSVolume:0x7cdc6fb380,0-->MSEqualizer:0x7cdc6fb600,0

12:51:42.432 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSEqualizer:0x7cdc6fb600,0-->MSAudioMixer:0x7cdc6fb780,0

12:51:42.432 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSFilePlayer:0x7cdc6fb880,0-->MSResample:0x7cdc6fb900,0

12:51:42.432 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSResample:0x7cdc6fb900,0-->MSAudioMixer:0x7cdc6fb780,1

12:51:42.432 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSAudioMixer:0x7cdc6fb780,0-->MSWebRTCAECM:0x7cdc613a80,0

12:51:42.432 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSWebRTCAECM:0x7cdc613a80,0-->MSResample:0x7cdc6fb480,0

12:51:42.432 tablet I/LINPHONE_SERVICE: ms_filter_unlink: MSResample:0x7cdc6fb480,0-->MSOpenSLESPlayer:0x7cdc6fb080,0

12:51:42.432 tablet W/LINPHONE_SERVICE: MS_VIDEO_DECODER_DECODING_ERRORS

12:51:42.432 tablet I/LINPHONE_SERVICE: Request SIP INFO FIR on CallSession [0x7cdc61a278]

12:51:42.432 tablet W/LINPHONE_SERVICE: MS_VIDEO_DECODER_DECODING_ERRORS

12:51:42.432 tablet W/LINPHONE_SERVICE: MS_VIDEO_DECODER_DECODING_ERRORS

12:51:42.432 tablet W/LINPHONE_SERVICE: MS_VIDEO_DECODER_DECODING_ERRORS

12:51:42.433 tablet W/LINPHONE_SERVICE: MS_VIDEO_DECODER_DECODING_ERRORS

12:51:42.433 tablet W/LINPHONE_SERVICE: MS_VIDEO_DECODER_DECODING_ERRORS

12:51:42.433 tablet W/LINPHONE_SERVICE: MS_VIDEO_DECODER_DECODING_ERRORS

12:51:42.433 tablet W/LINPHONE_SERVICE: MS_VIDEO_DECODER_DECODING_ERRORS

12:51:42.433 tablet W/LINPHONE_SERVICE: MS_VIDEO_DECODER_DECODING_ERRORS

 

 

Thank you,

With Best Regards,

Mikhail.  

 

Sent from Mail for Windows 10

 


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers