Louis Veronneau Posted December 18, 2020 Share Posted December 18, 2020 hi transmitting and receiving correectly if the transmitter stops transmitting for some seconds by caling : webRTCAdaptor.stop(streamId); the receiver then receives a publish_finished all is fine. now if the transmitter calls : webRTCAdaptor.publish(streamId, token); to restart broadcasting then the receiver do not automatically start even there is no message/events to the receiver if the stream restart. is there a way i can do this ? I mean the receiver would automaticaaly play the stream again if the transmitter stops for a second then restart. I have been looking for streamFetcherRestartPeriod or autostart but cant find anything on this. can we send autostart through the websocket ? thanks Louis Link to comment Share on other sites More sharing options...
0 Selim Emre Posted December 18, 2020 Share Posted December 18, 2020 Hi lveronneau, Have a good day. I think there is a misunderstanding about this issue. We are using StreamFetcher to pull RTSP and RTMP sources. Our play.html page is already trying the WebRTC Playing. I couldn't understand your issue. Could you please check our play.html page? https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/play.html Best Regards, Selim Link to comment Share on other sites More sharing options...
Question
Louis Veronneau
hi
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Dec 18
2
Top Posters For This Question
Selim Emre 1 post
Louis Veronneau 1 post
Popular Days
Dec 18 2020
2 posts
1 answer to this question
Recommended Posts