Enum googapis::google::cloud::video::livestream::v1::video_stream::h264_codec_settings::GopMode [−][src]
Expand description
GOP mode can be either by frame count or duration.
Variants
GopFrameCount(i32)
Select the GOP size based on the specified frame count.
If GOP frame count is set instead of GOP duration, GOP duration will be
calculated by gopFrameCount
/frameRate
. The calculated GOP duration
must satisfy the limitations on gopDuration
as well.
Valid range is [60, 600].
Tuple Fields of GopFrameCount
0: i32
GopDuration(Duration)
Select the GOP size based on the specified duration. The default is
2s
. Note that gopDuration
must be less than or equal to
[segment_duration][google.cloud.video.livestream.v1.SegmentSettings.segment_duration], and
[segment_duration][google.cloud.video.livestream.v1.SegmentSettings.segment_duration] must be divisible
by gopDuration
. Valid range is [2s, 20s].
All video streams in the same channel must have the same GOP size.
Tuple Fields of GopDuration
0: Duration
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GopMode
impl UnwindSafe for GopMode
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more