Intermittent issue with Medialive service

0

Hello,

We have requirements to publish live streaming from our mobile applications (Android and iOS) to other platforms like Facebook, Youtube etc. So, we are exploring and doing PoC on AWS Medialive service/channels. Please find the details below:

  1. We have created 1 Media Live channel and one input with RTMP Push.
  2. Created security group with input CIDR 0.0.0.0/0
  3. Created IAM role.
  4. Configured Output group - Youtube and Facebook

We have followed below AWS link to create above resources and i think it will give good insight to you for how we have configured theses services: https://aws.amazon.com/blogs/publicsector/live-streaming-facebook-youtube-aws-elemental-medialive/

We are using RTMP URL generated via Meadia Live Input in our mobile application and trying to broadcast our mobile app streaming on FB and YouTube through Medial Live. However, while we are broadcasting first time or in first attempt we are getting error messages - a. Input [rtmp://localhost:1935/livestreaming/livestreaming] contains no video. b. RTMP Stream Not Found. Searching for RTMP Push stream [] with App Name [], which does not exist at this time c. Audio not detected: Check input signal d. RTMP Has No Audio/Video. Waiting for RTMP input e. Audio Not Detected [1.1] Audio not detected: Check input signal

And also, sometime it's publishing to YouTube successfully but sometimes it is failing. So, we are unable to understand why and how we are getting intermittent issues.

Questions:

  1. Why we are getting intermittent issues? I don't think it will be configuration issue as if it's a configuration issue then it should not work single time.
  2. We have set channel class - SINGLE_PIPELINE. So will it work if we have single input and multiple output groups?
  3. We have seen 15-20 mins lags while broadcasting to FB and YouTube? Is it due to bad internet bandwidth. If yes, then what bandwidth is required for excellent connection?

To conclude this PoC we have to share these details with our client. So

Note - We have requirement to broadcast up to 5 outgroups like Facebook, YouTube etc. I'm now waiting for your feedback!!

Regards Abhishek Sharma

asked 10 months ago347 views
2 Answers
0

The errors you list indicate MediaLive is not receiving the RTMP input. This is likely due to a poor connection from the source to MediaLive. It could be that your mobile device is experiencing poor a signal strength, if using cellular connections. A loss of input will cause the MediaLive pipeline to blank or stop outputs.

If you view the Health metrics on the MediaLive console, review the Network Input and Input Framerate metrics. These will indicate when the input has problems. These metric are from 60 averages, when starting the MediaLive Channel, wait several minutes to see activity.

AWS
Mike-ME
answered 10 months ago
0

Following up: You have the option on your MediaLive Channel to show a static image or logo when the input fails. This option keeps the output stable with recognizable content even when the preferred input is not available. This option is called "Global Configuration /Input Loss Behavior". You might consider trying this out.

Also have a look at the "input video frame rate" metric for your Channel. It will indicate when input loss is happening though a drop in the frame rate of the received video. Use 10 second intervals for ongoing live events, and 1m or 5m intervals for completed events.

FYI You can quickly and easily make dashboards for your channels using the scripts found here: https://aws.amazon.com/blogs/media/cs-quick-and-easy-media-services-dashboards/

profile picture
rtcAMZN
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions