Jump to content
  • 0

Stream will auto start broadcasting and pull video from source after server reboot despite having "autoStart=false" being passed in


wisher1801
 Share

Question


The stream will auto start broadcast and pull video from source after server reboot despite having "autoStart=false" being passed in as parameters when
creating the new streamsource via createbroadcast restful api. The following is
the api request send to server. Thanks.
 

http://xxx.xxx.xxx.xxx:5080/aaa/rest/v2/broadcasts/create?autoStart=false

{"name":"Size
1","type":"streamSource","streamUrl":"rtmp://xxx.xxx.xxx.xxx/aaa/stream1"}


Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

Hi,

autoStart parameter you used is on stream source creation only. So it is not used on server restart. 
You may set false the following configuration parameter in properties file to disable autostart.
settings.streamFetcherAutoStart=false
Note that since this is an application level configuration it affects all stream sources added to the application. 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...