- java.lang.Object
-
- dev.onvoid.webrtc.RTCRtpCapabilities
-
public class RTCRtpCapabilities extends Object
Contains the capabilities of the system for receiving media. The RTCRtpCapabilities class is meant to provide a way to discover the types of capabilities of the application including which codecs may be supported.- Author:
- Alex Andres
-
-
Constructor Summary
Constructors Constructor Description RTCRtpCapabilities(List<RTCRtpCodecCapability> codecs, List<RTCRtpHeaderExtensionCapability> headerExtensions)Creates an instance of RTCRtpCapabilities with the supported codec and RTP header extension capabilities.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RTCRtpCodecCapability>getCodecs()Returns the supported media codecs as well as entries for RTX, RED and FEC mechanisms.List<RTCRtpHeaderExtensionCapability>getHeaderExtensions()Returns the supported RTP header extensions.StringtoString()
-
-
-
Constructor Detail
-
RTCRtpCapabilities
public RTCRtpCapabilities(List<RTCRtpCodecCapability> codecs, List<RTCRtpHeaderExtensionCapability> headerExtensions)
Creates an instance of RTCRtpCapabilities with the supported codec and RTP header extension capabilities.- Parameters:
codecs- The supported media codecs.headerExtensions- The supported RTP header extensions.
-
-
Method Detail
-
getCodecs
public List<RTCRtpCodecCapability> getCodecs()
Returns the supported media codecs as well as entries for RTX, RED and FEC mechanisms.- Returns:
- The supported media codecs.
-
getHeaderExtensions
public List<RTCRtpHeaderExtensionCapability> getHeaderExtensions()
Returns the supported RTP header extensions.- Returns:
- The supported RTP header extensions.
-
-