Jump to content
  • 0

streamFetcherAutoStart


Louis Veronneau
 Share

Question

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

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

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

 Share


×
×
  • Create New...