Video API, REST: StreamLine.get
Returns the specific stream line.
HTTP request
GET https://video.api.cloud.yandex.net/video/v1/streamLines/{streamLineId}
Path parameters
Parameter | Description |
---|---|
streamLineId | ID of the line. |
Response
HTTP Code: 200 - OK
{
"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"
}
}
Entity that is responsible for the incoming video signal settings.
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.
|