Package tvi.webrtc
Class RtpParameters
- java.lang.Object
-
- tvi.webrtc.RtpParameters
-
public class RtpParameters extends java.lang.Object
The parameters for anRtpSender
, as defined in http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface. Note: These structures use nullable Integer/etc. types because in the future, they may be used to construct ORTC RtpSender/RtpReceivers, in which case "null" will be used to represent "choose the implementation default value".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RtpParameters.Codec
static class
RtpParameters.DegradationPreference
static class
RtpParameters.Encoding
static class
RtpParameters.HeaderExtension
static class
RtpParameters.Rtcp
-
Field Summary
Fields Modifier and Type Field Description java.util.List<RtpParameters.Codec>
codecs
RtpParameters.DegradationPreference
degradationPreference
When bandwidth is constrained and the RtpSender needs to choose between degrading resolution or degrading framerate, degradationPreference indicates which is preferred.java.util.List<RtpParameters.Encoding>
encodings
java.lang.String
transactionId
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<RtpParameters.HeaderExtension>
getHeaderExtensions()
RtpParameters.Rtcp
getRtcp()
-
-
-
Field Detail
-
transactionId
public final java.lang.String transactionId
-
degradationPreference
@Nullable public RtpParameters.DegradationPreference degradationPreference
When bandwidth is constrained and the RtpSender needs to choose between degrading resolution or degrading framerate, degradationPreference indicates which is preferred.
-
encodings
public final java.util.List<RtpParameters.Encoding> encodings
-
codecs
public final java.util.List<RtpParameters.Codec> codecs
-
-
Method Detail
-
getRtcp
public RtpParameters.Rtcp getRtcp()
-
getHeaderExtensions
public java.util.List<RtpParameters.HeaderExtension> getHeaderExtensions()
-
-