Smart Home iOS App: Implementing HTTP Live Streaming for Camera-Equipped Devices | AWS Certified Solutions Architect - Professional Exam

Implementing HTTP Live Streaming for Camera-Equipped Devices

Prev Question Next Question

Question

Your team is building up a smart home iOS APP.

The end users have used your company's camera-equipped home devices such as baby monitors, webcams, and home surveillance systems.

Then the videos are uploaded to AWS.

Afterward, through the mobile APP, users can play the on-demand or live videos using the format of HTTP Live Streaming (HLS)

Which combinations of steps should you use to accomplish this task? (Select TWO)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answers - B, D.

AWS provides a live streaming solution that combines AWS Elemental MediaLive and AWS Elemental MediaPackage with Amazon CloudFront to build a highly resilient and scalable architecture that delivers your live content worldwide.

The diagram below presents the live streaming video architecture you can automatically deploy using the solution's implementation guide and accompanying AWS CloudFormation template.

Option A is INCORRECT because Kinesis Data Firehose is not used for live streaming; instead, it is used for streaming data delivery.

Option B is CORRECT because AWS provides a live streaming solution that combines AWS Elemental MediaLive and AWS Elemental MediaPackage with Amazon CloudFront to build a highly resilient and scalable architecture that delivers your live content worldwide.

AWS Elemental MediaStore is a video origination and storage service that offers the high performance and immediate consistency required for live and on-demand media.

You can use AWS Elemental MediaStore to store assets that MediaLive retrieves and uses when transcoding, and as a destination for output from MediaLive.

Option C is incorrect because transforming the stream data to HLS compatible data using Kinesis Data Analytics or customer code in EC2/Lambda is not needed or irrelevant here.

Option D is CORRECT because the GetHLSStreamingSessionURL API is called to retrieve the HLS streaming session URL.

When you have the HLS streaming session URL, provide it to the video player, which will be able to play the video.

AWS Docs for reference:

https://aws.amazon.com/solutions/live-streaming-on-aws/ https://docs.aws.amazon.com/medialive/latest/ug/medialive-ug.pdf#what-is
oT] —

live channel source

dual ingest support. ——>

ingest the live feed and transcode
into multiple bitrates

Just-in-Time package of the MediaLive global distribution for the HLS, DASH, MSS,
output in HLS, OASH, MSS, and CMAF and CMAF versions ofthe live feed

AWS Elemental
MediaLive

live video processing

‘AWS Elemental
MediaPackage
origination and
LIT packaging

_,| ® C)
© |x
Amazon |
CloudFront
— . rap Odden
content gelivery networ playback for the live stream

M
&

‘Amazon $3 bucket
(demo HLS source feed)

a}

supported on multiple devices
B —_

— &
Amazon $3 bucket

(demo preview player) Amazon users
CloudFront

To accomplish the task of playing on-demand or live videos using HTTP Live Streaming (HLS) through the mobile APP, you should use the following two combinations of steps:

B. Use AWS Elemental MediaLive and AWS Elemental MediaPackage with Amazon CloudFront.

AWS Elemental MediaLive is a video processing service that enables you to create high-quality live video streams for delivery to broadcast televisions and internet-connected devices, such as smartphones, tablets, and connected TVs. You can use MediaLive to encode live video streams into HLS format, which is compatible with most iOS devices. AWS Elemental MediaPackage is a video origination and just-in-time packaging service that prepares video content for delivery over the internet. MediaPackage supports the creation of HLS video streams with features such as encryption, ad insertion, and time-shifted TV. Amazon CloudFront is a content delivery network (CDN) service that caches and delivers the HLS video streams to users around the world, providing low latency and high transfer speeds. By using AWS Elemental MediaLive and AWS Elemental MediaPackage with Amazon CloudFront, you can create, package, and deliver HLS video streams to iOS devices for on-demand or live streaming.

C. Transform the stream data to HLS compatible data by using Kinesis Data Analytics or customer code in EC2/Lambda. Then in the mobile application, use HLS protocol to display the video stream by using the converted HLS streaming data.

In this approach, you need to transform the video stream data from the users' home devices into HLS compatible data. You can do this by using Kinesis Data Analytics, which is a fully managed service that enables you to analyze streaming data using SQL or Java. Alternatively, you can use customer code in EC2/Lambda to transform the stream data. After the stream data is transformed into HLS compatible data, you can use the HLS protocol to display the video stream in the mobile application. The mobile application can access the converted HLS streaming data and use it to play on-demand or live videos using HLS format.

In conclusion, to accomplish the task of playing on-demand or live videos using HTTP Live Streaming (HLS) through the mobile APP, you can use the combination of steps B and C. By using AWS Elemental MediaLive and AWS Elemental MediaPackage with Amazon CloudFront, you can create, package, and deliver HLS video streams to iOS devices. Alternatively, you can transform the stream data into HLS compatible data using Kinesis Data Analytics or customer code in EC2/Lambda, and then use HLS protocol to display the video stream in the mobile application.