-
- All Implemented Interfaces:
-
java.io.Serializable
public final class PerformanceStats extends Message<PerformanceStats, Nothing>
PerformanceStats represents the encoding/decoding statistics for a track.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPerformanceStats.Companion
-
Field Summary
Fields Modifier and Type Field Description private final TrackTypetrack_typeprivate final Codeccodecprivate final Floatavg_frame_time_msprivate final Floatavg_fpsprivate final VideoDimensionvideo_dimensionprivate final Integertarget_bitrateprivate final ProtoAdapter<PerformanceStats>adapterprivate final ByteStringunknownFields
-
Constructor Summary
Constructors Constructor Description PerformanceStats(TrackType track_type, Codec codec, Float avg_frame_time_ms, Float avg_fps, VideoDimension video_dimension, Integer target_bitrate, ByteString unknownFields)
-
Method Summary
Modifier and Type Method Description final TrackTypegetTrack_type()the type of the track (e.g. final CodecgetCodec()the codec used for the track final FloatgetAvg_frame_time_ms()the average encode/decode time in ms final FloatgetAvg_fps()the average fps for the track final VideoDimensiongetVideo_dimension()the track dimensions final IntegergetTarget_bitrate()the target bitrate for the track, only for published tracks final ProtoAdapter<PerformanceStats>adapter()final ByteStringunknownFields()VoidnewBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final PerformanceStatscopy(TrackType track_type, Codec codec, Float avg_frame_time_ms, Float avg_fps, VideoDimension video_dimension, Integer target_bitrate, ByteString unknownFields)-
-
Method Detail
-
getTrack_type
final TrackType getTrack_type()
the type of the track (e.g., video, audio, screen share)
-
getAvg_frame_time_ms
final Float getAvg_frame_time_ms()
the average encode/decode time in ms
-
getAvg_fps
final Float getAvg_fps()
the average fps for the track
-
getVideo_dimension
final VideoDimension getVideo_dimension()
the track dimensions
-
getTarget_bitrate
final Integer getTarget_bitrate()
the target bitrate for the track, only for published tracks
-
adapter
final ProtoAdapter<PerformanceStats> adapter()
-
unknownFields
final ByteString unknownFields()
-
newBuilder
@Deprecated(message = Shouldn't be used in Kotlin, level = DeprecationLevel.HIDDEN) Void newBuilder()
-
copy
final PerformanceStats copy(TrackType track_type, Codec codec, Float avg_frame_time_ms, Float avg_fps, VideoDimension video_dimension, Integer target_bitrate, ByteString unknownFields)
-
-
-
-