Reputation: 163
I am working on a project which will perform live streaming on YouTube.
So far I have created a live event and stream and bind them together.
After creating stream I got ingestion address and unique stream name.
But now my question is where to pass encoded streams so that it could be live.
I have encoded streams.
For testing purpose I want to pass those steam with the help of ingestion address, but I am struggling into it.
I am using the Java sample to create broadcast.
Upvotes: 0
Views: 1632
Reputation: 42449
You pass the encoded streams to the ingestionAddress
returned from your liveStream
object. The valid ingestions formats are either RTMP or DASH video with the streamName
as the key.
If you're using RTMP, your ingestion address looks something like rtmp://a.rtmp.youtube.com/live2
.
Upvotes: 2