|
From: | Daniele Coral |
Subject: | [Linphone-developers] Android sip video problem (black screen) |
Date: | Thu, 18 Jan 2018 14:30:42 +0100 |
Hi to all. Fo my application I need to use SIP video calls with Mobotix IP Video Door Station. I'm trying to use the linphone library (version 3.2.4) in my app with 3 differents devices: 1) Tablet Samsung Galaxy Tab4 SM-T535 (android verison 5.0.2) 2) Tablet Samsung Galaxy GT-P5110 (android version 4.2.2) 3) Hardkernel ODROID-C2 (android version 5.1.1) and I have differents results. I have also installed your linphone android app (version 3.3.2) for test. With your linphone app: - Device 1 (SM-T535): I see the video calls correctly - Device 2 (GT-P5110): I see the video calls correctly - Device 3 (odroid): No video (black screen) only audio With my APP: - Device 1 (SM-T535): No video (gray screen) only audio LOG: D/lib_linphone: ### SIP REGISTER ### D/lib_linphone: globalState: message = Starting up D/lib_linphone: configuringStatus: message = null D/lib_linphone: friendListCreated D/lib_linphone: displayStatus: message = Ready D/lib_linphone: globalState: message = Ready D/lib_linphone: ### LINPHONE LIBRARY INITIALIZATION ### D/lib_linphone: MediaStreamer : 4 cores detected and configured D/lib_linphone: Connectivity has changed. D/lib_linphone: displayStatus: message = Refreshing on sip:address@hidden... D/lib_linphone: registrationState: message = Registration in progress D/lib_linphone: [Permission] Record audio permission is granted D/lib_linphone: [Permission] Camera permission is granted D/lib_linphone: Video preview size set to 720x405 D/lib_linphone: onVideoRenderingSurfaceReady D/lib_linphone: registrationState: message = Registration successful D/lib_linphone: displayStatus: message = Registration on sip:192.168.40.3:5061 successful. D/lib_linphone: displayStatus: message = sip:address@hidden is contacting you. D/lib_linphone: callState: message = Incoming call D/lib_linphone: ### ANSWER TO THE VIDEO CALL ### D/lib_linphone: displayStatus: message = Connected. D/lib_linphone: callState: message = Connected D/lib_linphone: callState: message = Connected (streams running) D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 251.72498 Upload Bandwidth = 0.0 Cumulative number of late packets 0 [ 01-17 10:04:29.655 284:15459 E/ ] not in avi mode [ 01-17 10:04:29.775 284:15459 E/ ] not in avi mode [ 01-17 10:04:29.855 284:15459 E/ ] not in avi mode [ 01-17 10:04:29.965 284:15459 E/ ] not in avi mode D/lib_linphone: callStatsUpdated. MediaType = Audio [ 01-17 10:04:31.875 284:15459 E/ ] not in avi mode [ 01-17 10:04:31.925 284:15459 E/ ] not in avi mode [ 01-17 10:04:32.035 284:15459 E/ ] not in avi mode [ 01-17 10:04:32.155 284:15459 E/ ] not in avi mode D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 4.25301 Upload Bandwidth = 0.7703202 Cumulative number of late packets 0 D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 4.25301 Upload Bandwidth = 0.7703202 Cumulative number of late packets 0 [ 01-17 10:04:32.265 284:15459 E/ ] not in avi mode [ 01-17 10:04:32.355 284:15459 E/ ] not in avi mode [ 01-17 10:04:32.425 284:15459 E/ ] not in avi mode [ 01-17 10:04:32.545 284:15459 E/ ] not in avi mode [ 01-17 10:04:32.645 284:15459 E/ ] not in avi mode [ 01-17 10:04:32.765 284:15459 E/ ] not in avi mode [ 01-17 10:04:32.915 284:15459 E/ ] not in avi mode [ 01-17 10:04:32.925 284:15459 E/ ] not in avi mode [ 01-17 10:04:33.025 284:15459 E/ ] not in avi mode [ 01-17 10:04:33.135 284:15459 E/ ] not in avi mode D/lib_linphone: callStatsUpdated. MediaType = Audio ... D/lib_linphone: displayStatus: message = Call ended D/lib_linphone: callState: message = Call terminated D/lib_linphone: callState: message = Call released - Device 2 (GT-P5110): No video (black screen) only audio LOG: D/lib_linphone: ### SIP REGISTER ### D/lib_linphone: globalState: message = Starting up D/lib_linphone: configuringStatus: message = null D/lib_linphone: friendListCreated D/lib_linphone: displayStatus: message = Ready D/lib_linphone: globalState: message = Ready D/lib_linphone: ### LINPHONE LIBRARY INITIALIZATION ### D/lib_linphone: MediaStreamer : 2 cores detected and configured D/lib_linphone: Connectivity has changed. D/lib_linphone: displayStatus: message = Refreshing on sip:address@hidden... D/lib_linphone: registrationState: message = Registration in progress D/lib_linphone: [Permission] Record audio permission is granted D/lib_linphone: [Permission] Camera permission is granted D/lib_linphone: Video preview size set to 720x405 D/lib_linphone: registrationState: message = Registration successful D/lib_linphone: displayStatus: message = Registration on sip:192.168.40.3:5061 successful. D/lib_linphone: onVideoRenderingSurfaceReady D/lib_linphone: displayStatus: message = sip:address@hidden is contacting you. D/lib_linphone: callState: message = Incoming call D/lib_linphone: ### ANSWER TO THE VIDEO CALL ### D/lib_linphone: displayStatus: message = Connected. D/lib_linphone: callState: message = Connected D/lib_linphone: callState: message = Connected (streams running) D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: displayStatus: message = Call ended D/lib_linphone: callState: message = Call terminated D/lib_linphone: callState: message = Call released - Device 3: No video (black screen) only audio LOG: D/lib_linphone: ### SIP REGISTER ### D/lib_linphone: globalState: message = Starting up D/lib_linphone: configuringStatus: message = null D/lib_linphone: friendListCreated D/lib_linphone: displayStatus: message = Ready D/lib_linphone: globalState: message = Ready D/lib_linphone: ### LINPHONE LIBRARY INITIALIZATION ### D/lib_linphone: MediaStreamer : 4 cores detected and configured D/lib_linphone: Connectivity has changed. D/lib_linphone: displayStatus: message = Refreshing on sip:address@hidden... D/lib_linphone: registrationState: message = Registration in progress D/lib_linphone: [Permission] Record audio permission is granted D/lib_linphone: [Permission] Camera permission is granted D/lib_linphone: Video preview size set to 720x405 D/lib_linphone: Video preview size set to 720x405 D/lib_linphone: onVideoRenderingSurfaceReady D/lib_linphone: registrationState: message = Registration successful D/lib_linphone: displayStatus: message = Registration on sip:192.168.40.3:5061 successful. D/lib_linphone: displayStatus: message = sip:address@hidden is contacting you. D/lib_linphone: callState: message = Incoming call D/lib_linphone: ### ANSWER TO THE VIDEO CALL ### D/lib_linphone: displayStatus: message = Connected. D/lib_linphone: callState: message = Connected D/lib_linphone: callState: message = Connected (streams running) D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 468.6774 Upload Bandwidth = 0.0 Cumulative number of late packets 0 D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 13.882404 Upload Bandwidth = 0.7646082 Cumulative number of late packets 0 D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 13.882404 Upload Bandwidth = 0.7646082 Cumulative number of late packets 0 D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 5.7965913 Upload Bandwidth = 0.7675855 Cumulative number of late packets 0 D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 117.91827 Upload Bandwidth = 0.7680952 Cumulative number of late packets 0 D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 11.531273 Upload Bandwidth = 0.7676883 Cumulative number of late packets 0 D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 79.340866 Upload Bandwidth = 0.76773745 Cumulative number of late packets 0 D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Audio D/lib_linphone: callStatsUpdated. MediaType = Video DecoderName = Download Bandwidth = 3.9598377 Upload Bandwidth = 0.76797396 Cumulative number of late packets 0 D/lib_linphone: displayStatus: message = Call ended D/lib_linphone: callState: message = Call terminated D/lib_linphone: callState: message = Call released THE VIDEO CALLS BETWEEN THE VARIOUS DEVICES, FUNCTION CORRECTLY. It doesn't work only with Mobotix IP Video Door Station. I have seen the source code example in Belladonna Communication projects but probably I didn't initialize something correctly... What are the basic parameters to be initialized to make a video sip call? What is "not in avi mode" error? I hope that someone can help me. Thanks Best regards Daniele |
[Prev in Thread] | Current Thread | [Next in Thread] |