Class: Google::Cloud::Video::LiveStream::V1::AutoTranscriptionConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/livestream/v1/resources.rb

Overview

Advanced configurations for auto-generated text streams.

Defined Under Namespace

Modules: DisplayTiming, QualityPreset

Instance Attribute Summary collapse

Instance Attribute Details

#display_timing::Google::Cloud::Video::LiveStream::V1::AutoTranscriptionConfig::DisplayTiming

Returns Optional. Whether auto-generated text streams are displayed synchronously or asynchronously with the original audio.

Returns:



530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 530

class AutoTranscriptionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether auto-generated text streams are displayed synchronously or
  # asynchronously with the original audio.
  module DisplayTiming
    # Display timing is not specified. Caption display will be asynchronous by
    # default.
    DISPLAY_TIMING_UNSPECIFIED = 0

    # Caption will be displayed asynchronous with audio.
    ASYNC = 1

    # Caption will be displayed synchronous with audio. This option increases
    # overall media output latency, and reduces viewing latency between audio
    # and auto-generated captions.
    SYNC = 2
  end

  # Presets to tune the latency and quality of auto-generated captions.
  module QualityPreset
    # Quality Preset is not specified. By default, BALANCED_QUALITY will be
    # used.
    QUALITY_PRESET_UNSPECIFIED = 0

    # Reduce the latency of auto-generated captions. This may reduce the
    # quality of the captions.
    LOW_LATENCY = 1

    # Default behavior when QualityPreset is not specified.
    BALANCED_QUALITY = 2

    # Increases the quality of the auto-generated captions at the cost of
    # higher latency.
    IMPROVED_QUALITY = 3
  end
end

#quality_preset::Google::Cloud::Video::LiveStream::V1::AutoTranscriptionConfig::QualityPreset

Returns Optional. Tunes the latency and quality of auto-generated captions.

Returns:



530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'proto_docs/google/cloud/video/livestream/v1/resources.rb', line 530

class AutoTranscriptionConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Whether auto-generated text streams are displayed synchronously or
  # asynchronously with the original audio.
  module DisplayTiming
    # Display timing is not specified. Caption display will be asynchronous by
    # default.
    DISPLAY_TIMING_UNSPECIFIED = 0

    # Caption will be displayed asynchronous with audio.
    ASYNC = 1

    # Caption will be displayed synchronous with audio. This option increases
    # overall media output latency, and reduces viewing latency between audio
    # and auto-generated captions.
    SYNC = 2
  end

  # Presets to tune the latency and quality of auto-generated captions.
  module QualityPreset
    # Quality Preset is not specified. By default, BALANCED_QUALITY will be
    # used.
    QUALITY_PRESET_UNSPECIFIED = 0

    # Reduce the latency of auto-generated captions. This may reduce the
    # quality of the captions.
    LOW_LATENCY = 1

    # Default behavior when QualityPreset is not specified.
    BALANCED_QUALITY = 2

    # Increases the quality of the auto-generated captions at the cost of
    # higher latency.
    IMPROVED_QUALITY = 3
  end
end