Skip to content

WebvttDestinationSettings

Source code in docs_src/capo_medialive/types/webvtt_destination_settings.py
class WebvttDestinationSettings(TypedDict, closed=True):
    style_control: NotRequired[
        "capo_medialive.types.webvtt_destination_style_control.WebvttDestinationStyleControl"
    ]
    """Controls whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values."""
    position: NotRequired[
        "capo_medialive.types.text_caption_position_settings.TextCaptionPositionSettings"
    ]
    """Specifies the position of the output captions. Applies only when styleControl is set to manual."""

position instance-attribute

position: NotRequired[TextCaptionPositionSettings]

Specifies the position of the output captions. Applies only when styleControl is set to manual.

style_control instance-attribute

style_control: NotRequired[WebvttDestinationStyleControl]

Controls whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.