Video API, gRPC: StreamService.UpdateTranslationOptions
Update translation options for the onair stream.
Only works with streams created on stream lines with enabled neurotranslation.
gRPC request
rpc UpdateTranslationOptions (UpdateTranslationOptionsRequest) returns (google.protobuf.Empty
UpdateTranslationOptionsRequest
{
"stream_id": "string",
// Includes only one of the fields `enable_translation`, `disable_translation`
"enable_translation": "EnableTranslationOption",
"disable_translation": "DisableTranslationOption"
// end of the list of possible fields
}
|
Field |
Description |
|
stream_id |
string Required field. ID of the stream for which to set an option. The maximum string length in characters is 50. |
|
enable_translation |
Enable neurotranslations for the stream. Includes only one of the fields Specifies which option to set for the stream. |
|
disable_translation |
Disable neurotranslations for the stream. Includes only one of the fields Specifies which option to set for the stream. |
EnableTranslationOption
Parameters for the enable translation option.
|
Field |
Description |
|
Empty |
|
DisableTranslationOption
Parameters for the disable translation option.
|
Field |
Description |
|
Empty |
|
google.protobuf.Empty
{}
|
Field |
Description |
|
Empty |
|