You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Mohit-3196
changed the title
Subscriber block does not work when playing the .mm3u8 file with ABR enabled.
Subscriber block does not work when playing the .m3u8 file with ABR enabled.
Mar 11, 2024
I investigated this issue and it appears that when test_adaptive.m3u8 file is requested ffmpeg only passes query parameters on first m3u8 request and afterwards it does not pass subscriberId and subscriberCode to the requests.
Because of this behaviour blocking subscriber on air does not work.
As a workaround solution for ABR case spesific ABR m3u8(teststream_480p1000kbps.m3u8) file can be requested. On this case subscriber block on air will work just like no ABR case.
Thank you @lastpeony for your investigation and the workaround solution.
In case there are multiple Adaptive settings on the server then this solution is not likely to be affective as the users would like the bitrate to switch as per the internet connection.
Short description
When ABR is enabled and playing the .m3u8 file directly, the subscriber block feature/API is not working.
Environment
Steps to reproduce
ffplay -i "https://ams.antmedia.cloud:5443/LiveApp/streams/abcde_adaptive.m3u8?subscriberId=media&subscriberCode=337308"
curl -X 'PUT' 'http://ams-14315.antmedia.cloud:5443/LiveApp/rest/v2/broadcasts/abcde/subscribers/media/block/30/play'
Expected behavior
The playback should stop and the subscriber should be blocked.
Actual behavior
The play continues and the subscriber is not blocked.
It works fine when playing with the embedded player, play.html
Logs
Place logs on pastebin or elsewhere and put links here
Ask your questions on Ant Media Github Discussions
The text was updated successfully, but these errors were encountered: