How can I get rtmp url and stream name for particular live event?
Previously I've been using Youtube API v.2.0 and could retrieve the list of live events which contained both rtmp urls and stream names. With the new Youtube Live Streaming API (v.3.0) I can retrieve the list of live events using liveBroadcasts
list method, but the response doesn't contain any rtmp urls and stream names. In order to get them I should create a new liveStream
resource or use an existing one.
Is there any way to get rtmp url and stream name without doing that?
You are right, you have to create liveStream. Broadcast is only the event object, whereas stream is your connection point. Here are some examples: https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/insert#examples