-
- All Implemented Interfaces:
-
java.io.Serializable
public final class OutboundRtp extends Message<OutboundRtp, Nothing>
=================================================================== OUTBOUND (PUBLISHER SENDING MEDIA) ===================================================================
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classOutboundRtp.Companion
-
Field Summary
Fields Modifier and Type Field Description private final RtpBasebaseprivate final Doublefpsprivate final Doubleavg_encode_time_secondsprivate final Doublebitrate_bpsprivate final Integermin_dimension_pxprivate final ProtoAdapter<OutboundRtp>adapterprivate final ByteStringunknownFields
-
Method Summary
Modifier and Type Method Description final RtpBasegetBase()final DoublegetFps()delta(framesEncoded)/delta(time) if missing final DoublegetAvg_encode_time_seconds()stat\["totalEncodeTime"\] / max(1, stat\["framesEncoded"\]) final DoublegetBitrate_bps()delta(bytesSent)*8 / delta(timeSeconds); requires prev bytes/timestamp; ignore if delta<=0 final IntegergetMin_dimension_px()min(stat\["frameWidth"\], stat\["frameHeight"\]) final ProtoAdapter<OutboundRtp>adapter()final ByteStringunknownFields()VoidnewBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final OutboundRtpcopy(RtpBase base, Double fps, Double avg_encode_time_seconds, Double bitrate_bps, Integer min_dimension_px, ByteString unknownFields)-
-
Method Detail
-
getAvg_encode_time_seconds
final Double getAvg_encode_time_seconds()
stat\["totalEncodeTime"\] / max(1, stat\["framesEncoded"\])
-
getBitrate_bps
final Double getBitrate_bps()
delta(bytesSent)*8 / delta(timeSeconds); requires prev bytes/timestamp; ignore if delta<=0
-
getMin_dimension_px
final Integer getMin_dimension_px()
min(stat\["frameWidth"\], stat\["frameHeight"\])
-
adapter
final ProtoAdapter<OutboundRtp> adapter()
-
unknownFields
final ByteString unknownFields()
-
newBuilder
@Deprecated(message = Shouldn't be used in Kotlin, level = DeprecationLevel.HIDDEN) Void newBuilder()
-
-
-
-