Does the YouTube Data API expose multi-camera live

2019-03-02 03:46发布

问题:

I am trying to integrate a YouTube live event which uses multi-camera views as per Google's documentation into a site - I'd love to be able to access both camera views from the live event if possible.

Does the YouTube Data API support querying the multiple different camera views? Are they listed as children of a single event? What's the returned data structure like?

Or is this simply not possible - i.e. a single live event with multiple cameras will show in the API as just a standard live event?

回答1:

The YouTube Live Streaming API does not support multiple camera angles at this time. The API docs specify that a liveEvent can only be bound to one liveStream

liveStream - Contains information about the video stream that you are transmitting to YouTube. The stream provides the content that will be broadcast to YouTube users. Once created, a liveStream resource can be bound to exactly one liveBroadcast resource. (Similarly, the liveBroadcast resource can only be bound to one liveStream resource.