BelledonneCommunications / linphone-sdk

Mirror for linphone-sdk (https://gitlab.linphone.org/BC/public/linphone-sdk.git)
GNU Affero General Public License v3.0
106 stars 81 forks source link

The video is abnormal when the official linphone-android-5.2.0.apk is installed on android11 and above #436

Open LoyaiHai opened 4 weeks ago

LoyaiHai commented 4 weeks ago

Hi @Viish When I install the official Linphone-Android-5.2.0.APK or above on android11 and above, the mobile device cannot see the video data screen collected by linphone on PC. Similarly, I also have the same abnormal effect on MicroSIP. However, it can be obtained normally on linphone-android-5.1.4.apk. May I ask what causes this? PC linphone verison: Desktop 5.2.1 - Qt5.15.2 Core 5.3.14 Thank you cheers

Viish commented 4 weeks ago

Hi @LoyaiHai,

Please attach logs from both Android & Desktop + a video of the android app screen.

Cheers,

LoyaiHai commented 4 weeks ago

Hi @Viish Since I installed your APK directly, I could not find the log file in the storage of the mobile phone. Below are the versions of the PC side, the mobile phone version, and the video call screen PC verison linphone_pc_version App version linphone_mobel_version app screen app_screen PC log file linphone_pc.log

Thank you cheers

Viish commented 4 weeks ago

Hi @LoyaiHai,

You can upload logs from advanced settings.

Cheers,

LoyaiHai commented 4 weeks ago

Hi @Viish here is the app log: https://www.linphone.org:444//tmp/67063e8ed7193_e78e838d4d46eae1cbc3.gz

Viish commented 4 weeks ago

Given your logs video is correctly sent & received both ways. If I were you I'd check on the FreeSwitch back to back user-agent (or try without it).

You can create two accounts for free on our service (https://subscribe.linphone.org) and make a direct call. If issue still happens with our service please send new logs (clear old ones before).

LoyaiHai commented 4 weeks ago

Hi @Viish According to you, I registered the two account on https://subscribe.linphone.org, USES for the APK and the PC program is your official software, the results showed that both sides are no remote images app log: https://www.linphone.org:444//tmp/670647df09c34_8707fb00fb5861db2f8d.gz app screen: 微信图片_20241009171138 pc log: linphone_pc_1713.log

Thank you cheers

LoyaiHai commented 4 weeks ago

@Viish

The other problem is that at 30 seconds, it hangs up on itself

Viish commented 4 weeks ago

Indeed each device doesn't receive audio nor video packets. Make sure both are configured to use stun.linphone.org STUN server & have ICE enabled. You can also try to disable IPv6 on both device (linphone settings) just in case.

LoyaiHai commented 4 weeks ago

Hi @Viish i know ICE enabled、IPv6 enabled, but i can not find stun.linphone.org STUN server, Could you tell me where this address is, please Thank you cheers

Viish commented 4 weeks ago

STUN server is a text field right above the ICE toggle. For IPv6 disable it.

LoyaiHai commented 4 weeks ago

Hi @Viish According to what you said, I changed the configuration of the PC side and the APP side, and found that the result was the same, the remote screen was black app_config picture: yy_1 yy_2 pc_config picture: yy_3 yy_4

Thank you cheers

LoyaiHai commented 4 weeks ago

I have tested this problem and it is OK for versions before 5.2.110, but it will occur in versions 5.3.0 and above