I was using Linphone 4.5 and was getting video and audio both but after updating it to Linphone 5.3, I now don't get the video and instead I see "No Video Input" and in logs I see broken video packets but packets look good when I use 4.5 version, I captured all packets going in a out from the device which I use to make call to app and I am attaching screenshot of those packets data as well. Please have a look at how Linphone SDK fails to negotiate for audio codec.
Hi Team Linphone,
I was using Linphone 4.5 and was getting video and audio both but after updating it to Linphone 5.3, I now don't get the video and instead I see "No Video Input" and in logs I see broken video packets but packets look good when I use 4.5 version, I captured all packets going in a out from the device which I use to make call to app and I am attaching screenshot of those packets data as well. Please have a look at how Linphone SDK fails to negotiate for audio codec.
Screenshot of packets sent and received - https://www.dropbox.com/scl/fi/2klt2fvlbmsv0341ncqmh/image.png?rlkey=re8s4r6589nb3qux12dl5yoc4&dl=0
Here are logs from 45 version and below it I have added logs from 5.3 version as well.
Logs from Linphone version 4.5
2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: m=video 52538 RTP/AVP 124 120 121 112 31 34 114 123 90 84 85 86 87 88 89 91 92 93 94 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: b=AS:288000 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: b=TIAS:288000000 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: a=imageattr:124 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: a=imageattr:120 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: a=imageattr:121 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: a=imageattr:112 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: a=imageattr:31 recv [x=[176:16:352],y=[144:16:288]] send [x=[128:16:352],y=[96:16:288]] 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: a=imageattr:34 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: a=imageattr:114 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: a=imageattr:123 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-12 20:18:35.906 28039-28039/org.mircom I/MiEntry: a=rtcp-rsize 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=ssrc-group:FID 2718876067 2386444583 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=ssrc:2718876067 cname:xE20J8DzXh+dSQAHMnrB1Q 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=ssrc:2386444583 cname:xE20J8DzXh+dSQAHMnrB1Q 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtpmap:124 VP8/90000 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=fmtp:124 max-fs=1584 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:124 nack 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:124 nack pli 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:124 ccm fir 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:124 ccm tmmbr 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:124 ccm tstr 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:124 goog-remb 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtpmap:120 MP4V-ES/90000 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=fmtp:120 profile-level-id=5 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:120 nack 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:120 nack pli 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:120 ccm fir 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:120 ccm tmmbr 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:120 ccm tstr 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:120 goog-remb 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtpmap:121 H264/90000 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=fmtp:121 max-fs=1584;max-mbps=47520;profile-level-id=428015 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:121 nack 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:121 nack pli 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:121 ccm fir 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:121 ccm tmmbr 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:121 ccm tstr 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:121 goog-remb 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtpmap:112 H263-1998/90000 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=fmtp:112 D=1;F=1;I=1;J=1;CIF=1;CIF4=1;maxbr=3276;QCIF=1 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:112 nack 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:112 nack pli 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:112 ccm fir 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:112 ccm tmmbr 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:112 ccm tstr 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:112 goog-remb 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=rtpmap:31 h261/90000 2023-09-12 20:18:35.907 28039-28039/org.mircom I/MiEntry: a=fmtp:31 CIF=1;QCIF=1 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:31 nack 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:31 nack pli 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:31 ccm fir 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:31 ccm tmmbr 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:31 ccm tstr 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:31 goog-remb 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtpmap:34 H263/90000 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=fmtp:34 F=1;CIF=1;CIF4=1;maxbr=3276;QCIF=1 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:34 nack 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:34 nack pli 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:34 ccm fir 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:34 ccm tmmbr 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:34 ccm tstr 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:34 goog-remb 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtpmap:114 H264/90000 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=fmtp:114 packetization-mode=1;max-fs=1584;max-mbps=47520;profile-level-id=428015 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:114 nack 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:114 nack pli 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:114 ccm fir 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:114 ccm tmmbr 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:114 ccm tstr 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:114 goog-remb 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtpmap:123 X-MX-VP8/90000 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=fmtp:123 x-mx-max-size=704x576 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:123 nack 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:123 nack pli 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:123 ccm fir 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:123 ccm tmmbr 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:123 ccm tstr 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtcp-fb:123 goog-remb 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtpmap:90 rtx/90000 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=fmtp:90 apt=124;rtx-time=3000 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtpmap:84 rtx/90000 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=fmtp:84 apt=120;rtx-time=3000 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtpmap:85 rtx/90000 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=fmtp:85 apt=121;rtx-time=3000 2023-09-12 20:18:35.908 28039-28039/org.mircom I/MiEntry: a=rtpmap:86 rtx/90000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=fmtp:86 apt=112;rtx-time=3000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtpmap:87 rtx/90000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=fmtp:87 apt=31;rtx-time=3000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtpmap:88 rtx/90000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=fmtp:88 apt=34;rtx-time=3000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtpmap:89 rtx/90000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=fmtp:89 apt=111;rtx-time=3000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtpmap:91 rtx/90000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=fmtp:91 apt=114;rtx-time=3000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtpmap:92 rtx/90000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=fmtp:92 apt=113;rtx-time=3000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtpmap:93 rtx/90000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=fmtp:93 apt=122;rtx-time=3000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtpmap:94 rtx/90000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=fmtp:94 apt=123;rtx-time=3000 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=sendonly 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtcp:52539 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: m=application 52568 RTP/AVP 97 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtcp-rsize 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=ssrc:1723550062 cname:BJDDJ8DzXh+dSgAHMnrB1Q 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtpmap:97 H224/4800 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=sendrecv 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: a=rtcp:52569 2023-09-12 20:18:35.909 28039-28039/org.mircom I/MiEntry: 2023-09-12 20:18:35.996 28039-28039/org.mircom I/MiEntry: [org.antlr.runtime.MismatchedTokenException] reason [IS_TOKEN(Supported)] 2023-09-12 20:18:35.996 28039-28039/org.mircom E/MiEntry: header_supported parser error for [k:replaces]
Logs from Linphone 5.3 version (Which doesn't show video)
2023-09-02 00:18:36.836 29918-29918/org.mircom I/MiEntry: m=video 52604 RTP/AVP 124 120 121 112 31 34 114 123 90 84 85 86 87 88 89 91 2023-09-02 00:18:36.927 29918-29918/org.mircom I/MiEntry: [org.antlr.runtime.MismatchedTokenException] reason [IS_TOKEN(Supported)] 2023-09-02 00:18:36.928 29918-29918/org.mircom E/MiEntry: header_supported parser error for [k:replaces] 2023-09-02 00:18:36.959 29918-29918/org.mircom I/MiEntry: channel [0xb7eee240] [1560] bytes parsed 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: channel [0xb7eee240]: received [1448] new bytes from [TCP://edge.sip.onsip.com:5060]: 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: 92 93 94 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: b=AS:288000 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: b=TIAS:288000000 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=imageattr:124 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=imageattr:120 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=imageattr:121 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=imageattr:112 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=imageattr:31 recv [x=[176:16:352],y=[144:16:288]] send [x=[128:16:352],y=[96:16:288]] 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=imageattr:34 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=imageattr:114 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=imageattr:123 recv [x=[176:16:704],y=[144:16:576]] send [x=[128:16:352],y=[96:16:288]] 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-rsize 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=ssrc-group:FID 101491638 2022772331 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=ssrc:101491638 cname:dq/M1zzrXh+YYwAHMoE12A 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=ssrc:2022772331 cname:dq/M1zzrXh+YYwAHMoE12A 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtpmap:124 VP8/90000 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=fmtp:124 max-fs=1584 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:124 nack 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:124 nack pli 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:124 ccm fir 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:124 ccm tmmbr 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:124 ccm tstr 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:124 goog-remb 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtpmap:120 MP4V-ES/90000 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=fmtp:120 profile-level-id=5 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:120 nack 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:120 nack pli 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:120 ccm fir 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:120 ccm tmmbr 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:120 ccm tstr 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:120 goog-remb 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtpmap:121 H264/90000 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=fmtp:121 max-fs=1584;max-mbps=47520;profile-level-id=428015 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:121 nack 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:121 nack pli 2023-09-02 00:18:36.960 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:121 ccm f 2023-09-02 00:18:38.200 29918-29918/org.mircom I/MiEntry: channel [0xb7eee240]: received [1448] new bytes from [TCP://edge.sip.onsip.com:5060]: 2023-09-02 00:18:38.201 29918-29918/org.mircom I/MiEntry: ir 2023-09-02 00:18:38.201 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:121 ccm tmmbr 2023-09-02 00:18:38.201 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:121 ccm tstr 2023-09-02 00:18:38.201 29918-29918/org.mircom I/MiEntry: a=rtcp-fb:121 goog-remb 2023-09-02 00:18:38.201 29918-29918/org.mircom I/MiEntry: a=rtpmap:112 H263-1998/90000