Video API, gRPC: StreamLineService.GetStreamKey
Статья создана
Обновлена 8 августа 2025 г.
Retrieves the unique stream key for a push-type stream line.
This key is used to authenticate when pushing video streams to the platform.
gRPC request
rpc GetStreamKey (GetStreamKeyRequest) returns (PushStreamKey)
GetStreamKeyRequest
{
  "stream_line_id": "string"
}
| Field | Description | 
| stream_line_id | string Required field. ID of the stream line for which to retrieve the stream key. | 
PushStreamKey
{
  "key": "string"
}
Represents the stream key used for pushing video streams.
| Field | Description | 
| key | string The unique stream key. |