Jump to content
  • 0

Error while restreaming from WebRTC stream to RTMP


Veera Bhadra
 Share

Question

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
Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
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
On Fri, 10 Jul at 2:56 PM , Bhadra <bhadra@x0pa.com> wrote:
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
--
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-server+unsubscribe@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
Link to comment
Share on other sites

  • 0

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

ffmpeg -re -i out.flv -codec copy -f flv rtmp://testliveevent-viassets-aase.channel.media.azure.net:1935/live/8dd5e1af3c1b40dab4bc11482470fb16/mytest

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-media-server@googlegroups.com <ant-media-server@googlegroups.com> on behalf of Ant Media <support@antmedia.freshdesk.com>

Sent: 13 July 2020 03:38

To: bhadra <bhadra@x0pa.com>

Cc: ant-media-server@googlegroups.com <ant-media-server@googlegroups.com>

Subject: Re: Error while restreaming from WebRTC stream to RTMP

 
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
On Fri, 10 Jul at 2:56 PM , Bhadra <bhadra@x0pa.com> wrote:
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
--

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 toant-media-server+unsubscribe@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

 

--

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-server+unsubscribe@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.

Link to comment
Share on other sites

  • 0
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
On Mon, 13 Jul at 1:34 PM , Bhadra <bhadra@x0pa.com> wrote:
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

ffmpeg -re -i out.flv -codec copy -f flv rtmp://testliveevent-viassets-aase.channel.media.azure.net:1935/live/8dd5e1af3c1b40dab4bc11482470fb16/mytest


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-media-server@googlegroups.com <ant-media-server@googlegroups.com> on behalf of Ant Media <support@antmedia.freshdesk.com>
Sent: 13 July 2020 03:38
To: bhadra <bhadra@x0pa.com>
Cc: ant-media-server@googlegroups.com <ant-media-server@googlegroups.com>
Subject: Re: Error while restreaming from WebRTC stream to RTMP
 
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
On Fri, 10 Jul at 2:56 PM , Bhadra <bhadra@x0pa.com> wrote:
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
--
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 toant-media-server+unsubscribe@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.
--
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-server+unsubscribe@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
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...