HLS Stream switch from primary to backup stream with different bandwidth stream

Hi All,


Just want to confirm valid scenario.

When my stream fails while doing throttling, It switches to backup stream with different bandwidth stream.


Example:

Stream_1 with bandwidth 256 kbps

Stream_1 (Backup) with bandwidth 256 kbps


Stream_2 with bandwidth 500 kbps

Stream_2 (Backup) with bandwidth 500 kbps


Stream_3 with bandwidth 1 Mbps

Stream_3 (Backup) with bandwidth 1 Mbps


Stream_4 with bandwidth 2 Mbps

Stream_4 (Backup) with bandwidth 2 Mbps


In my case, Stream is starting play at stream_4 but when the stream gets fail due to throttling to low bandwidth, it switches to stream_2 (Backup) instead of stream_4(Backup).

Should it be a valid case as per AVFounation or it should be moved to stream_4 only.


Please help me to know the correct behavior


Thanks in advance.

Replies

You said it was throttled to low bandwidth, so of course it will switch to a lower bandwidth variant.

Why would you expect it to stay at 4Mbps?