We have integrated Ant Media as one of the livestream platforms in our existing system. We have used latest Enterprise version (2.4.2) of Ant Media server from AWS marketplace and using REST APIS to CRUD livestreams and integrated Ant Media player for the livestream playback. Everything is working fine so far except we cannot change the resolution of the livestream in player part.
As per our project requirement, there will be two types of stream viewers. First are the free viewers who will watch the stream simulcasted to YouTube (RTMP) through Ant Media. Another will be the logged in ones who will watch the Ant Media(WebRTC) stream with ultra low latency. In order to reduce video delivery cost, we are trying to display the WebRTC stream in low resolution. To achieve that, we have set the mediaConstraints property of the WebRTCAdaptor and also enabled adaptive streaming in AMS with 360p and 720p options. However, the output stream is still playing at whatever resolution it is recording at. We also cannot reduce the resolution at publishing side as it will result in low resolution stream simulcasted to YouTube. Is there anyway we can reduce the resolution of webrtc player and still send the original resolution to RTMP endpoints? For images please refer to the following link.
Question
Naresh
We have integrated Ant Media as one of the livestream platforms in our existing system. We have used latest Enterprise version (2.4.2) of Ant Media server from AWS marketplace and using REST APIS to CRUD livestreams and integrated Ant Media player for the livestream playback. Everything is working fine so far except we cannot change the resolution of the livestream in player part.
As per our project requirement, there will be two types of stream viewers. First are the free viewers who will watch the stream simulcasted to YouTube (RTMP) through Ant Media. Another will be the logged in ones who will watch the Ant Media(WebRTC) stream with ultra low latency. In order to reduce video delivery cost, we are trying to display the WebRTC stream in low resolution. To achieve that, we have set the mediaConstraints property of the WebRTCAdaptor and also enabled adaptive streaming in AMS with 360p and 720p options. However, the output stream is still playing at whatever resolution it is recording at. We also cannot reduce the resolution at publishing side as it will result in low resolution stream simulcasted to YouTube. Is there anyway we can reduce the resolution of webrtc player and still send the original resolution to RTMP endpoints? For images please refer to the following link.
https://flic.kr/ps/3YzNHz
Link to comment
Share on other sites
Top Posters For This Question
2
1
Popular Days
Mar 29
1
Apr 14
1
May 4
1
Top Posters For This Question
Naresh 2 posts
Mohit 1 post
Popular Days
Mar 29 2022
1 post
Apr 14 2022
1 post
May 4 2022
1 post
Popular Posts
Mohit
Hi @Naresh, How are you! Can you please let me know what settings you have made to the mediaConstraints of the WebRTCAdaptor! I could think of couple of workaround solutions for your us
2 answers to this question
Recommended Posts