Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Router
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Managed Service for YDB
    • SpeechKit
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • Container Registry
    • Managed Service for Prometheus®
    • Message Queue
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Cloud Apps
    • Yandex AI Studio
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Yandex Cloud Video
    • Stackland
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • DataSphere
    • Vision OCR
    • Translate
    • SmartCaptcha
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Managed Service for GitLab
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • IoT Core
    • Serverless Containers
    • Cloud Notification Service
  • Статус работы сервисов
  • Marketplace
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
  • Кейсы
  • Документация
  • Блог
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Cloud Video
RU
    • Обзор
    • Управление
    • Политика автозапуска браузеров
  • Управление доступом
  • Правила тарификации
    • Аутентификация в API
    • Начало работы с API
      • Overview
        • Overview
        • Get
        • List
        • BatchGet
        • Create
        • Update
        • Delete
        • BatchDelete
        • PerformAction
        • GetStreamKey
        • UpdateStreamKey
  • Аудитные логи Audit Trails
  • История изменений
  • Решение проблем

В этой статье:

  • gRPC request
  • GetStreamLineRequest
  • StreamLine
  • RTMPPushInput
  • SRTPushInput
  • RTMPPullInput
  • SRTPullInput
  • ManualLine
  • AutoLine
  • StreamLineProcessingSettings
  • Summarization
  • InputTrack
  • Translation
  • TranslationTrack
  • SubtitleTrack
  • AudioTrack
  1. Справочник API
  2. gRPC (англ.)
  3. StreamLine
  4. Get

Video API, gRPC: StreamLineService.Get

Статья создана
Yandex Cloud
Обновлена 3 ноября 2026 г.
Открыть в Markdown
  • gRPC request
  • GetStreamLineRequest
  • StreamLine
  • RTMPPushInput
  • SRTPushInput
  • RTMPPullInput
  • SRTPullInput
  • ManualLine
  • AutoLine
  • StreamLineProcessingSettings
  • Summarization
  • InputTrack
  • Translation
  • TranslationTrack
  • SubtitleTrack
  • AudioTrack

Retrieves detailed information about a specific stream line by its ID.
Returns all stream line metadata, configuration, and related information.

gRPC requestgRPC request

rpc Get (GetStreamLineRequest) returns (StreamLine)

GetStreamLineRequestGetStreamLineRequest

{
  "stream_line_id": "string"
}

Field

Description

stream_line_id

string

Required field. ID of the stream line to retrieve.

The maximum string length in characters is 50.

StreamLineStreamLine

{
  "id": "string",
  "channel_id": "string",
  "title": "string",
  "input_source": "LineInputSource",
  // Includes only one of the fields `rtmp_push`, `srt_push`, `rtmp_pull`, `srt_pull`
  "rtmp_push": {
    "url": "string",
    "backup_url": "string"
  },
  "srt_push": {
    "url": "string",
    "backup_url": "string"
  },
  "rtmp_pull": {
    "url": "string",
    "backup_url": "string"
  },
  "srt_pull": {
    "url": "string",
    "backup_url": "string"
  },
  // end of the list of possible fields
  // Includes only one of the fields `manual_line`, `auto_line`
  "manual_line": "ManualLine",
  "auto_line": {
    "status": "AutoLineStatus"
  },
  // end of the list of possible fields
  "processing_settings": {
    "summarization": {
      "enable": "bool",
      "tracks": [
        {
          "track_index": "int64",
          "src_lang": "string"
        }
      ]
    },
    "translation": {
      "enable": "bool",
      "tracks": [
        {
          "input_track": {
            "track_index": "int64",
            "src_lang": "string"
          },
          "subtitles": [
            {
              "dst_lang": "string"
            }
          ],
          "audios": [
            {
              "dst_lang": "string"
            }
          ]
        }
      ]
    }
  },
  "created_at": "google.protobuf.Timestamp",
  "updated_at": "google.protobuf.Timestamp",
  "labels": "map<string, string>"
}

Entity representing the incoming video signal settings.

Field

Description

id

string

ID of the line.

channel_id

string

ID of the channel to which this stream line belongs.

title

string

Title of the stream line.

input_source

enum LineInputSource

Specifies which input source (main or backup) is currently active.

  • ANY: Use any available input source (main or backup).
  • MAIN: Use main input source.
  • BACKUP: Use backup input source (works only if backup input source is provided).

rtmp_push

RTMPPushInput

Real-Time Messaging Protocol (RTMP) push input type.

Includes only one of the fields rtmp_push, srt_push, rtmp_pull, srt_pull.

Specifies the input type and settings for the video signal source.

srt_push

SRTPushInput

Secure Reliable Transport (SRT) push input type.

Includes only one of the fields rtmp_push, srt_push, rtmp_pull, srt_pull.

Specifies the input type and settings for the video signal source.

rtmp_pull

RTMPPullInput

Real-Time Messaging Protocol (RTMP) pull input type.

Includes only one of the fields rtmp_push, srt_push, rtmp_pull, srt_pull.

Specifies the input type and settings for the video signal source.

srt_pull

SRTPullInput

Secure Reliable Transport (SRT) pull input type.

Includes only one of the fields rtmp_push, srt_push, rtmp_pull, srt_pull.

Specifies the input type and settings for the video signal source.

manual_line

ManualLine

Manual stream control.

Includes only one of the fields manual_line, auto_line.

Specifies the control type of the stream line.

auto_line

AutoLine

Automatic stream control.

Includes only one of the fields manual_line, auto_line.

Specifies the control type of the stream line.

processing_settings

StreamLineProcessingSettings

Processing settings.

created_at

google.protobuf.Timestamp

Timestamp when the stream line was initially created in the system.

updated_at

google.protobuf.Timestamp

Timestamp of the last modification to the stream line or its metadata.

labels

object (map<string, string>)

Custom user-defined labels as key:value pairs.
Maximum 64 labels per stream line.
Labels can be used for organization, filtering, and metadata purposes.

RTMPPushInputRTMPPushInput

Settings for an RTMP (Real-Time Messaging Protocol) push input.
Used when the video stream is pushed to an RTMP server.
@see https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol

Field

Description

url

string

RTMP server url.

backup_url

string

RTMP server URL for the signal identified by the backup stream key.

SRTPushInputSRTPushInput

Settings for an SRT (Secure Reliable Transport) push input.
Used when the video stream is pushed to an SRT server.
@see https://en.wikipedia.org/wiki/Secure_Reliable_Transport

Field

Description

url

string

SRT server url.

backup_url

string

SRT server URL for the signal identified by the backup stream key.

RTMPPullInputRTMPPullInput

Settings for an RTMP pull input.
Used when the service pulls the video stream from an RTMP source.
@see https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol

Field

Description

url

string

RTMP url for receiving video signal.

backup_url

string

Backup RTMP url (optional).

SRTPullInputSRTPullInput

Settings for an SRT pull input.
Used when the service pulls the video stream from an SRT source.
@see https://en.wikipedia.org/wiki/Secure_Reliable_Transport

Field

Description

url

string

SRT url for receiving video signal.

backup_url

string

Backup SRT url (optional).

ManualLineManualLine

Represents a manual line type where the stream control is handled manually.
This means that stream start/stop actions are performed by the user.

Field

Description

Empty

AutoLineAutoLine

Represents an automatic line type where the stream control is handled automatically.

Field

Description

status

enum AutoLineStatus

The status of the automatic line.

  • DEACTIVATED: The automatic line is deactivated and not currently active.
  • ACTIVE: The automatic line is active and operational.

StreamLineProcessingSettingsStreamLineProcessingSettings

Field

Description

summarization

Summarization

Settings for stream line summarization.

translation

Translation

Settings for stream line translation.

SummarizationSummarization

Field

Description

enable

bool

Enable line summarization.

tracks[]

InputTrack

Input tracks.

InputTrackInputTrack

Field

Description

track_index

int64

Input audio track index (one-based).

The minimum value is 1.

src_lang

string

Source track language represented as a three-letter code according to ISO 639-2/T.

Value must match the regular expression ara|deu|eng|spa|fra|ita|jpn|kor|rus|tur|zho.

TranslationTranslation

Field

Description

enable

bool

Enable line translation.
Neurotranslations and neurosubtitles cannot be enabled in low latency mode.

tracks[]

TranslationTrack

Input tracks.

TranslationTrackTranslationTrack

Field

Description

input_track

InputTrack

Required field. Input track settings.

subtitles[]

SubtitleTrack

Settings for target subtitle tracks.

audios[]

AudioTrack

Settings for target audio tracks.

SubtitleTrackSubtitleTrack

Field

Description

dst_lang

string

Required field. Language of subtitles represented as a three-letter code according to ISO 639-2/T.

Value must match the regular expression eng|kaz|rus.

AudioTrackAudioTrack

Field

Description

dst_lang

string

Required field. Target language represented as a three-letter code according to ISO 639-2/T.

Value must match the regular expression eng|kaz|rus.

Была ли статья полезна?

Предыдущая
Overview
Следующая
List
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»