Video API, REST: StreamLine methods
Stream line management service.
JSON Representation
{
"id": "string",
"channelId": "string",
"title": "string",
"thumbnailId": "string",
"createdAt": "string",
"updatedAt": "string",
"labels": "object",
// includes only one of the fields `manualLine`, `autoLine`
"rtmpPush": {
"url": "string"
},
"srtPush": {
"url": "string"
},
"rtmpPull": {
"url": "string"
},
"srtPull": {
"url": "string"
},
"tcpPull": {
"url": "string"
},
"rtspPull": {
"url": "string"
},
// end of the list of possible fields
"manualLine": {},
"autoLine": {
"status": "string"
}
}
Field | Description |
---|---|
id | string ID of the line. |
channelId | string ID of the channel where the line was created. |
title | string Line title. |
thumbnailId | string ID of the thumbnail. |
createdAt | string (date-time) Time when line was created. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
updatedAt | string (date-time) Time of last line update. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
labels | object Custom labels as |
rtmpPush | object RTMP push input type. includes only one of the fields rtmpPush , srtPush , rtmpPull , srtPull , tcpPull , rtspPull |
rtmpPush. url |
string RTMP server url. |
srtPush | object SRT push input type. includes only one of the fields rtmpPush , srtPush , rtmpPull , srtPull , tcpPull , rtspPull |
srtPush. url |
string SRT server url. |
rtmpPull | object RTMP pull input type. includes only one of the fields rtmpPush , srtPush , rtmpPull , srtPull , tcpPull , rtspPull |
rtmpPull. url |
string RTMP url for receiving video signal. |
srtPull | object SRT pull input type. includes only one of the fields rtmpPush , srtPush , rtmpPull , srtPull , tcpPull , rtspPull |
srtPull. url |
string SRT url for receiving video signal. |
tcpPull | object TCP pull input type. includes only one of the fields rtmpPush , srtPush , rtmpPull , srtPull , tcpPull , rtspPull |
tcpPull. url |
string TCP url for receiving video signal. |
rtspPull | object RTSP pull input type. includes only one of the fields rtmpPush , srtPush , rtmpPull , srtPull , tcpPull , rtspPull |
rtspPull. url |
string RTSP url for receiving video signal. |
manualLine | object Manual control of stream. includes only one of the fields manualLine , autoLine |
autoLine | object Automatic control of stream. includes only one of the fields manualLine , autoLine |
autoLine. status |
string Status of auto line. Auto line status.
|
Methods
Method | Description |
---|---|
create | Create stream line. |
delete | Delete stream line. |
get | Returns the specific stream line. |
getStreamKey | Returns unique stream key. |
list | List lines for channel. |
performAction | Perform an action on the line. |
update | Update stream line. |
updateStreamKey | Change stream key. |