Class MediaInfo (0.11.12)

MediaInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
media_progress_duration google.protobuf.duration_pb2.Duration
The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds][google.protobuf.Duration.seconds] should be set to 90.
media_progress_percentage float
Media progress should be computed using only the media_progress_duration relative to the media total length. This value must be between [0, 1.0] inclusive. If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset. This field is a member of oneof_ _media_progress_percentage.