Configuration for a stream that should be actively pulled from an external source, rather than pushed to Livepeer. If specified, the stream will not have a streamKey.
Field | Type | Required | Description | Example |
---|---|---|---|---|
source |
str | ✔️ | URL from which to pull from. | https://myservice.com/live/stream.flv |
headers |
Dict[str, str] | ➖ | Headers to be sent with the request to the pull source. | { "Authorization": "Bearer 123" } |
is_mobile |
Optional[components.IsMobile] | ➖ | Indicates whether the stream will be pulled from a mobile source. | |
location |
Optional[components.Location] | ➖ | Approximate location of the pull source. The location is used to determine the closest Livepeer region to pull the stream from. |