AHUK Posted March 9 Share Posted March 9 As standard Antmedia is muted when the stream starts. Understand there is some browser issues here. Which line and what do I need to change in https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/play.html to make the video start unmuted and autoplaying please? Link to comment Share on other sites More sharing options...
0 AHUK Posted March 9 Author Share Posted March 9 Found around line 160 mute= true; changed to false and that works. Now the video doesn't autoplay, it shows a play icon on the screen, anyway around this? Link to comment Share on other sites More sharing options...
0 Yash Posted March 9 Share Posted March 9 Hi @AHUK I hope you are doing well. It is an expected behavior because of browser policies. Please take a look at my answer on https://github.com/ant-media/Ant-Media-Server/issues/3499#issuecomment-891839354 Regards, Yash 1 Link to comment Share on other sites More sharing options...
0 AHUK Posted March 9 Author Share Posted March 9 Thank you. Have seen that page interaction is needed to autoplay. Link to comment Share on other sites More sharing options...
Question
AHUK
As standard Antmedia is muted when the stream starts. Understand there is some browser issues here.
Which line and what do I need to change in https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/play.html to make the video start unmuted and autoplaying please?
Link to comment
Share on other sites
Top Posters For This Question
3
1
Popular Days
Mar 9
4
Top Posters For This Question
AHUK 3 posts
Yash 1 post
Popular Days
Mar 9 2023
4 posts
Popular Posts
Yash
Hi @AHUK I hope you are doing well. It is an expected behavior because of browser policies. Please take a look at my answer on https://github.com/ant-media/Ant-Media-Server/issues/3499#issuecommen
3 answers to this question
Recommended Posts