Build a UGC Live Streaming App with Amazon IVS: Responding to Stream State Events (Lesson 3.5)

Your video will begin in 10
74 Views
Published
In this lesson, we'll look at how StreamCat responds to stream state events to update a channel's state or publish a VOD asset for a previous broadcast. If you recall from lesson 1.4, StreamCat uses an Amazon EventBridge rule to listen for various state change events related to our Amazon IVS channels. This EventBridge rule triggers an AWS Lambda function, and that function persists and updates database records as necessary. In this lesson, we'll focus on how StreamCat handles the following events:

- Stream Start
- Stream End
- Recording Start
- Recording End

Resources:
https://github.com/aws-samples/amazon-ivs-ugc-sample

Learn More About Amazon IVS:

Amazon IVS
https://aws.amazon.com/ivs/

Low-Latency Streaming User Guide
https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/what-is.html

Low-Latency Streaming API Reference
https://docs.aws.amazon.com/ivs/latest/LowLatencyAPIReference/index.html

Real-Time Streaming User Guide
https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/what-is.html

Real-Time Streaming API Reference
https://docs.aws.amazon.com/ivs/#:~:text=Real%2DTime%20Streaming%20API%20Reference

IVS Chat User Guide
https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/getting-started-chat.html

IVS Chat API Reference
https://docs.aws.amazon.com/ivs/latest/ChatAPIReference/index.html

Chat Messaging API Reference
https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/index.html

IVS Rocks - Demos, Sample Code, Pricing Calculator and more!
https://ivs.rocks

React Based UGC Demo
https://github.com/aws-samples/amazon-ivs-ugc-platform-web-demo

Chapters:
00:00 Intro
00:42 Event Format and Sample Events
01:08 Handling Stream Start and End Events
01:51 Handling Recording Start
02:24 Hanlding Recording End
02:57 Lesson Summary

Follow Amazon Web Services:
Official Website: https://aws.amazon.com/what-is-aws
Twitch: https://twitch.tv/aws
Twitter: https://twitter.com/awsdevelopers
Facebook: https://facebook.com/amazonwebservices
Instagram: https://instagram.com/amazonwebservices


#AWS #Amazon Interactive Video Service
Category
AWS Developers
Tags
amazon eventbridge, amazon ivs, aws
Be the first to comment