Modifier and Type | Method and Description |
---|---|
static ContentPacketExtension |
JingleUtils.createDescription(ContentPacketExtension.CreatorEnum creator,
java.lang.String contentName,
ContentPacketExtension.SendersEnum senders,
java.util.List<org.jitsi.service.neomedia.format.MediaFormat> formats,
java.util.List<org.jitsi.service.neomedia.RTPExtension> rtpExtensions,
DynamicPayloadTypeRegistry dynamicPayloadTypes,
DynamicRTPExtensionsRegistry rtpExtensionsRegistry)
Creates a new
ContentPacketExtension instance according to the
specified formats, connector and direction,
and using the dynamicPayloadTypes registry to handle dynamic
payload type registrations. |
static java.util.List<org.jitsi.service.neomedia.format.MediaFormat> |
JingleUtils.extractFormats(RtpDescriptionPacketExtension description,
DynamicPayloadTypeRegistry ptRegistry)
Extracts and returns the list of MediaFormats advertised in
description preserving their oder and registering dynamic payload
type numbers in the specified ptRegistry.
|
static PayloadTypePacketExtension |
JingleUtils.formatToPayloadType(org.jitsi.service.neomedia.format.MediaFormat format,
DynamicPayloadTypeRegistry ptRegistry)
Converts a specific
MediaFormat into a new
PayloadTypePacketExtension instance. |
static org.jitsi.service.neomedia.format.MediaFormat |
JingleUtils.payloadTypeToMediaFormat(PayloadTypePacketExtension payloadType,
DynamicPayloadTypeRegistry ptRegistry)
Returns the
MediaFormat described in the payloadType
extension or null if we don't recognize the format. |
static org.jitsi.service.neomedia.format.MediaFormat |
JingleUtils.payloadTypeToMediaFormat(PayloadTypePacketExtension payloadType,
org.jitsi.service.neomedia.MediaService mediaService,
DynamicPayloadTypeRegistry ptRegistry)
Returns the
MediaFormat described in the payloadType
extension or null if we don't recognize the format. |
Modifier and Type | Method and Description |
---|---|
static javax.sdp.MediaDescription |
SdpUtils.createMediaDescription(java.lang.String transport,
java.util.List<org.jitsi.service.neomedia.format.MediaFormat> formats,
org.jitsi.service.neomedia.StreamConnector connector,
org.jitsi.service.neomedia.MediaDirection direction,
java.util.List<org.jitsi.service.neomedia.RTPExtension> rtpExtensions,
DynamicPayloadTypeRegistry dynamicPayloadTypes,
DynamicRTPExtensionsRegistry rtpExtensionsRegistry)
Creates a new MediaDescription instance according to the
specified formats, connector and direction,
and using the dynamicPayloadTypes registry to handle dynamic
payload type registrations.
|
static java.util.List<org.jitsi.service.neomedia.format.MediaFormat> |
SdpUtils.extractFormats(javax.sdp.MediaDescription mediaDesc,
DynamicPayloadTypeRegistry ptRegistry)
Extracts and returns the list of MediaFormats advertised in
mediaDesc preserving their oder and registering dynamic payload
type numbers in the specified ptRegistry.
|
Modifier and Type | Method and Description |
---|---|
protected DynamicPayloadTypeRegistry |
CallPeerMediaHandler.getDynamicPayloadTypes()
Returns the
DynamicPayloadTypeRegistry instance we are currently
using. |
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.