Jump to content
  • 0

Can't get to stream to Youtube from Ant Media App (Community Edition) in linode


Basnetwork
 Share

Question

4 answers to this question

Recommended Posts

  • 0
2 hours ago, Basnetwork said:

Please i need help with my stream, i have done everything right but unfortunately i can get to stream to Youtube and i don't know what is wrong.

Ant media community does seem to support simulcast via RTMP. ,ask sure your settings are compatible with YouTube and lookout for any errors in your log file.

Link to comment
Share on other sites

  • 0

Yash is right. The problem is probably related to the audio track. We can fix it using Filter Plugin. For the solution, we got 2 options.

The first one is adding audio from another stream.

curl -i -X POST -H "Accept: Application/json" -H "Content-Type: application/json" "http://localhost:5080/LiveApp/rest/v2/filters/create" -d '{"filterId":"filter1","inputStreams":["stream1","stream2"],"outputStreams":["test"],"videoFilter":"[in0]copy[out0]","audioFilter":"[in1]acopy[out0]","videoEnabled":"true","audioEnabled":"true"}'

The second one is generating audio using audioFilter:

curl -i -X POST -H "Accept: Application/json" -H "Content-Type: application/json" "http://localhost:5080/LiveApp/rest/v2/filters/create" -d '{"filterId":"filter1","inputStreams":["stream1"],"outputStreams":["test"],"videoFilter":"[in0]copy[out0]","audioFilter":"sine=frequency=1000:sample_rate=48000:duration=5000[s0];[s0]acopy[out0]","videoEnabled":"true","audioEnabled":"true"}'


Note: Filter Plugin is only supported in Enterprise Edition.

Link to comment
Share on other sites

 Share

×
×
  • Create New...