Package org.webrtc
Class RtpParameters
java.lang.Object
org.webrtc.RtpParameters
The parameters for an
RtpSender
, 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
Modifier and TypeClassDescriptionstatic class
static enum
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionfinal List<RtpParameters.Codec>
When bandwidth is constrained and the RtpSender needs to choose between degrading resolution or degrading framerate, degradationPreference indicates which is preferred.final List<RtpParameters.Encoding>
private final List<RtpParameters.HeaderExtension>
private final RtpParameters.Rtcp
final String
-
Constructor Summary
ConstructorDescriptionRtpParameters
(String transactionId, RtpParameters.DegradationPreference degradationPreference, RtpParameters.Rtcp rtcp, List<RtpParameters.HeaderExtension> headerExtensions, List<RtpParameters.Encoding> encodings, List<RtpParameters.Codec> codecs) -
Method Summary
Modifier and TypeMethodDescription(package private) List<RtpParameters.Codec>
(package private) RtpParameters.DegradationPreference
(package private) List<RtpParameters.Encoding>
getRtcp()
(package private) String
-
Field Details
-
transactionId
-
degradationPreference
When bandwidth is constrained and the RtpSender needs to choose between degrading resolution or degrading framerate, degradationPreference indicates which is preferred. -
rtcp
-
headerExtensions
-
encodings
-
codecs
-
-
Constructor Details
-
RtpParameters
RtpParameters(String transactionId, RtpParameters.DegradationPreference degradationPreference, RtpParameters.Rtcp rtcp, List<RtpParameters.HeaderExtension> headerExtensions, List<RtpParameters.Encoding> encodings, List<RtpParameters.Codec> codecs)
-
-
Method Details
-
getTransactionId
String getTransactionId() -
getDegradationPreference
RtpParameters.DegradationPreference getDegradationPreference() -
getRtcp
-
getHeaderExtensions
-
getEncodings
List<RtpParameters.Encoding> getEncodings() -
getCodecs
List<RtpParameters.Codec> getCodecs()
-