Jump to content
  • 0

Can't stop a broadcast created using /api/v2/filters/create


Tom Yates
 Share

Question

Hi,

 

I'm following the guide here:

And created a stream with the filter plugin end-point:

`curl -i -X POST -H "Accept: Application/json" -H "Content-Type: application/json" "http://X.X.X.X:5080/WebRTCAppEE/rest/v2/filters/create" -d '{"inputStreams":["room1","room2"],"outputStreams":["testMerged"],"videoFilter":"[in0]scale=354:234:force_original_aspect_ratio=decrease,pad=360:240:3:3:color=black[s0];[in1]scale=354:234:force_original_aspect_ratio=decrease,pad=360:240:3:3:color=black[s1];[s0][s1]hstack=inputs=2,pad=120:480:(ow-iw)/2:(oh-ih)/2[out0]","audioFilter":"[in0]acopy[out0]","videoEnabled":"true","audioEnabled":"true"}'`

However, if I delete this broadcast using the API or the console. It's still running in the background:
`broadcast is deleted but could not stopped`

If I try and use the stop broadcast API end-point I get a "false" returned from the API:
`{"success":false,"message":null,"dataId":null,"errorId":0}`

How do I stop and delete a stream?

Thanks.

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

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...