BelledonneCommunications / liblinphone

Linphone.org mirror for liblinphone (git://git.linphone.org/liblinphone.git)
http://linphone.org
GNU Affero General Public License v3.0
378 stars 219 forks source link

Video (H264) settings changing back to default randomly #249

Open anarinia opened 4 days ago

anarinia commented 4 days ago

Hi,

I am using linphone for Android latest version (5.2.5, downloaded from Play Store) and observing the following abnormal behaviour:

If I configure a non-default "recv-fmtp profile" for the H264 codec under the "Video" settings, e.g. "profile-level-id=4d001F", this value is not preserved forever. It randomly changes back to the default ("profile-level-id=42801F") after a day or two.

Why could this be happening? Looks like a bug (?)

Is there a way to prevent this from happening?

This was observed multiple times, on a Nokia X30 device running Android 14

Thanks, Aris

anarinia commented 1 day ago

Hi again,

Yesterday I captured debug logs while the recv-fmtp profile was reset to defaults (42801F), available at https://www.linphone.org:444//tmp/670e0431c1bc5_76fed81103ba230630ad.gz

The change happened overnight. Taking a quick log at the logs, it appears like the application restarted at least twice (at 22:20 and 00:20) due to 'low memory' (?), and probably the change occured during the startup, see line 33512, copied also below:

2024-10-14 22:20:37:199 [org.linphone/liblinphone] MESSAGE Codec H264/90000 fmtp=[profile-level-id=42801F] number=-1, default enablement: 1) added to the list of possible codecs.

Could it be that the profile-level-id that I am selecting does not belong to the "list of possible codecs"?

regards, Aris

P.S. I just managed to reproduce the problem, by doing a "Force stop" of the application. . So, this translates to two distinct issues here:

a. After restarting the application, the recv-fmtp takes the default value b. application restarts often due to low memory