Error while restreaming from WebRTC stream to RTMP

49 views
Skip to first unread message

Veera Bhadra

unread,
Jul 10, 2020, 7:56:28 AM7/10/20
to Ant Media Server
When I try to re-stream the WebRTC stream to RTMP endpoint in Azure Media Services Live Event.

I'm getting the following error.

INFO  io.antmedia.muxer.RtmpMuxer - Not writing to muxer because it's not started for rtmps://xxxx-aase.channel.media.azure.net:2935/live/3738848743874878734747/stream12

Would like to know what might be the issue here

Ant Media

unread,
Jul 12, 2020, 6:08:04 PM7/12/20
to bha...@x0pa.com, ant-medi...@googlegroups.com
Hi Bhadra,
Are you sure if your RTMP Endpoint URL is correct?
Did you try to stream to that endpoint with another tool like OBS or ffmpeg?



PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/
Regards,
Burak Kekec
, Bhadra <bha...@x0pa.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Ant Media Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/e4b8e1de-3f6e-4334-879f-95c1e5a64af5n%40googlegroups.com.
12469:1264838

bhadra

unread,
Jul 13, 2020, 6:34:32 AM7/13/20
to Ant Media, ant-medi...@googlegroups.com
Hi Burak,

Are you sure if your RTMP Endpoint URL is correct?
Yes.

Did you try to stream to that endpoint with another tool like OBS or ffmpeg?
I'm able to stream with ffmpeg

I have tried the FFmpeg command



When I tried the above command I got the error 'av_interleaved_write_frame(): Broken pipe' (image attached)

But I'm able to publish the stream with the following command

ffmpeg -i out.flv -strict -2 -c:a aac -b:a 128k -ar 44100 -r 30 -g 60 -keyint_min 60 -b:v 400000 -c:v libx264 -preset medium -bufsize 400k -maxrate 400k -f flv rtmp://testliveevent-viassets-aase.channel.media.azure.net:1935/live/8dd5e1af3c1b40dab4bc11482470fb16/test1


When I contacted the Azure support, the following is the response:

Unfortunately, ANT is not working like it is documented. It’s best to leave this up to the Ant team to figure out since some reverse engineering would be avoided.  
Azure support can troubleshoot the problem from an RTMP connection standpoint, but I don't think that the service will actually make a push connection to the Media Services ingest.  
I have logs to confirm that

I think the Ant server supports Server --> Client RTMP, but not Server --> Server RTMP.


From: ant-medi...@googlegroups.com <ant-medi...@googlegroups.com> on behalf of Ant Media <sup...@antmedia.freshdesk.com>
Sent: 13 July 2020 03:38
To: bhadra <bha...@x0pa.com>
Cc: ant-medi...@googlegroups.com <ant-medi...@googlegroups.com>
Subject: Re: Error while restreaming from WebRTC stream to RTMP
 
You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/sMzLrE5Qgo8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/5f0b89c325ab1_25c2b02bcfe344c483165a9.sidekiq-frequent-fd-poduseast1-main4-green-5f47d98b88-bxk85%40email.freshdesk.com.

Ant Media

unread,
Jul 14, 2020, 9:15:35 AM7/14/20
to bha...@x0pa.com, ant-medi...@googlegroups.com
Hi Bhadra,
I think you have created this issue:

We will assign it to one of our friends to check it.


PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/
Regards,
Burak Kekec
, Bhadra <bha...@x0pa.com> wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Ant Media Server" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ant-media-server/sMzLrE5Qgo8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ant-media-serv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/5f0b89c325ab1_25c2b02bcfe344c483165a9.sidekiq-frequent-fd-poduseast1-main4-green-5f47d98b88-bxk85%40email.freshdesk.com.
12469:1264838
Reply all
Reply to author
Forward
0 new messages