Modifier and Type | Field and Description |
---|---|
protected java.util.List<ContentPacketExtension> |
IceUdpTransportManager.cpeList
This is where we keep our answer between the time we get the offer and
are ready with the answer.
|
Modifier and Type | Method and Description |
---|---|
ContentPacketExtension |
CallPeerMediaHandlerJabberImpl.createContentForMedia(org.jitsi.service.neomedia.MediaType mediaType)
Creates a
ContentPacketExtension for a particular stream. |
static ContentPacketExtension |
TransportManagerJabberImpl.findContentByName(java.lang.Iterable<ContentPacketExtension> cpExtList,
java.lang.String name)
Looks through the cpExtList and returns the
ContentPacketExtension with the specified name. |
ContentPacketExtension |
CallPeerMediaHandlerJabberImpl.getLocalContent(java.lang.String contentType)
Returns the local content of a specific content type (like audio or
video).
|
ContentPacketExtension |
CallPeerMediaHandlerJabberImpl.getRemoteContent(java.lang.String contentType)
Get the remote content of a specific content type (like audio or video).
|
protected ContentPacketExtension |
TransportManagerJabberImpl.removeContent(java.lang.Iterable<ContentPacketExtension> contents,
java.lang.String name)
Removes a content with a specific name from a specific collection of
contents and closes any associated StreamConnector.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ContentPacketExtension> |
CallPeerMediaHandlerJabberImpl.createContentList()
Creates a List containing the
ContentPacketExtension s of
the streams that this handler is prepared to initiate depending on
available MediaDevices and local on-hold and video transmission
preferences. |
java.util.List<ContentPacketExtension> |
CallPeerMediaHandlerJabberImpl.createContentList(org.jitsi.service.neomedia.MediaType mediaType)
Creates a List containing the
ContentPacketExtension s of
the streams of a specific MediaType that this handler is
prepared to initiate depending on available MediaDevices and
local on-hold and video transmission preferences. |
java.lang.Iterable<ContentPacketExtension> |
CallPeerMediaHandlerJabberImpl.generateSessionAccept()
Wraps up any ongoing candidate harvests and returns our response to the
last offer we've received, so that the peer could use it to send a
session-accept.
|
java.lang.Iterable<ContentPacketExtension> |
CallPeerMediaHandlerJabberImpl.getLocalContentList()
Returns a complete list of call currently known local content-s.
|
abstract java.util.List<ContentPacketExtension> |
TransportManagerJabberImpl.wrapupCandidateHarvest()
Notifies the transport manager that it should conclude candidate
harvesting as soon as possible and return the lists of candidates
gathered so far.
|
java.util.List<ContentPacketExtension> |
IceUdpTransportManager.wrapupCandidateHarvest()
Simply returns the list of local candidates that we gathered during the
harvest.
|
java.util.List<ContentPacketExtension> |
RawUdpTransportManager.wrapupCandidateHarvest()
Simply returns the list of local candidates that we gathered during the
harvest.
|
Modifier and Type | Method and Description |
---|---|
org.jitsi.service.neomedia.MediaType |
CallPeerJabberImpl.getMediaType(ContentPacketExtension content)
Gets the MediaType of content.
|
void |
CallPeerMediaHandlerJabberImpl.reinitContent(java.lang.String name,
ContentPacketExtension content,
boolean modify)
Reinitialize a media content such as video.
|
protected abstract org.jivesoftware.smack.packet.PacketExtension |
TransportManagerJabberImpl.startCandidateHarvest(ContentPacketExtension theirContent,
ContentPacketExtension ourContent,
TransportInfoSender transportInfoSender,
java.lang.String media)
Starts transport candidate harvest for a specific
ContentPacketExtension that we are going to offer or answer
with.
|
protected org.jivesoftware.smack.packet.PacketExtension |
IceUdpTransportManager.startCandidateHarvest(ContentPacketExtension theirContent,
ContentPacketExtension ourContent,
TransportInfoSender transportInfoSender,
java.lang.String media)
Starts transport candidate harvest for a specific
ContentPacketExtension that we are going to offer or answer
with.
|
protected org.jivesoftware.smack.packet.PacketExtension |
RawUdpTransportManager.startCandidateHarvest(ContentPacketExtension theirContent,
ContentPacketExtension ourContent,
TransportInfoSender transportInfoSender,
java.lang.String media)
Starts transport candidate harvest for a specific
ContentPacketExtension that we are going to offer or answer
with.
|
Modifier and Type | Method and Description |
---|---|
ColibriConferenceIQ |
CallJabberImpl.createColibriChannels(CallPeerJabberImpl peer,
java.util.Map<ContentPacketExtension,ContentPacketExtension> contentMap)
Allocates colibri (conference) channels for a specific MediaType
to be used by a specific CallPeer.
|
ColibriConferenceIQ |
CallJabberImpl.createColibriChannels(CallPeerJabberImpl peer,
java.util.Map<ContentPacketExtension,ContentPacketExtension> contentMap)
Allocates colibri (conference) channels for a specific MediaType
to be used by a specific CallPeer.
|
static ContentPacketExtension |
TransportManagerJabberImpl.findContentByName(java.lang.Iterable<ContentPacketExtension> cpExtList,
java.lang.String name)
Looks through the cpExtList and returns the
ContentPacketExtension with the specified name. |
void |
CallPeerMediaHandlerJabberImpl.processAnswer(java.util.List<ContentPacketExtension> answer)
Handles the specified answer by creating and initializing the
corresponding MediaStreams.
|
void |
CallPeerMediaHandlerJabberImpl.processOffer(java.util.List<ContentPacketExtension> offer)
Parses and handles the specified offer and returns a content
extension representing the current state of this media handler.
|
void |
CallPeerMediaHandlerJabberImpl.processTransportInfo(java.lang.Iterable<ContentPacketExtension> contents)
Processes the transport-related information provided by the remote
peer in a specific set of ContentPacketExtensions.
|
protected ContentPacketExtension |
TransportManagerJabberImpl.removeContent(java.lang.Iterable<ContentPacketExtension> contents,
java.lang.String name)
Removes a content with a specific name from a specific collection of
contents and closes any associated StreamConnector.
|
protected void |
CallPeerJabberImpl.sendTransportInfo(java.lang.Iterable<ContentPacketExtension> contents)
Sends local candidate addresses from the local peer to the remote peer
using the transport-info
JingleIQ . |
void |
TransportInfoSender.sendTransportInfo(java.lang.Iterable<ContentPacketExtension> contents)
Sends specific
ContentPacketExtension s in a
transport-info JingleIQ from the local peer to the
remote peer. |
void |
TransportManagerJabberImpl.startCandidateHarvest(java.util.List<ContentPacketExtension> theirOffer,
java.util.List<ContentPacketExtension> ourAnswer,
TransportInfoSender transportInfoSender)
Starts transport candidate harvest.
|
void |
TransportManagerJabberImpl.startCandidateHarvest(java.util.List<ContentPacketExtension> theirOffer,
java.util.List<ContentPacketExtension> ourAnswer,
TransportInfoSender transportInfoSender)
Starts transport candidate harvest.
|
void |
IceUdpTransportManager.startCandidateHarvest(java.util.List<ContentPacketExtension> theirOffer,
java.util.List<ContentPacketExtension> ourAnswer,
TransportInfoSender transportInfoSender)
Starts transport candidate harvest.
|
void |
IceUdpTransportManager.startCandidateHarvest(java.util.List<ContentPacketExtension> theirOffer,
java.util.List<ContentPacketExtension> ourAnswer,
TransportInfoSender transportInfoSender)
Starts transport candidate harvest.
|
void |
RawUdpTransportManager.startCandidateHarvest(java.util.List<ContentPacketExtension> theirOffer,
java.util.List<ContentPacketExtension> ourAnswer,
TransportInfoSender transportInfoSender)
Starts transport candidate harvest.
|
void |
RawUdpTransportManager.startCandidateHarvest(java.util.List<ContentPacketExtension> theirOffer,
java.util.List<ContentPacketExtension> ourAnswer,
TransportInfoSender transportInfoSender)
Starts transport candidate harvest.
|
void |
TransportManagerJabberImpl.startCandidateHarvest(java.util.List<ContentPacketExtension> ourOffer,
TransportInfoSender transportInfoSender)
Starts transport candidate harvest.
|
boolean |
TransportManagerJabberImpl.startConnectivityEstablishment(java.lang.Iterable<ContentPacketExtension> remote)
Starts the connectivity establishment of this
TransportManagerJabberImpl i.e.
|
boolean |
IceUdpTransportManager.startConnectivityEstablishment(java.lang.Iterable<ContentPacketExtension> remote)
Starts the connectivity establishment of the associated ICE
Agent.
|
boolean |
RawUdpTransportManager.startConnectivityEstablishment(java.lang.Iterable<ContentPacketExtension> remote)
Overrides the super implementation in order to remember the remote
counterpart of the negotiation between the local and the remote peer for
subsequent calls to
RawUdpTransportManager.getStreamTarget(MediaType) . |
Modifier and Type | Method and Description |
---|---|
boolean |
ColibriBuilder.addAllocateChannelsReq(boolean useBundle,
java.lang.String endpointName,
boolean peerIsInitiator,
java.util.List<ContentPacketExtension> contents)
Adds next channel allocation request to
ColibriBuilder.RequestType.ALLOCATE_CHANNELS query currently being built. |
boolean |
ColibriBuilder.addAllocateOctoChannelsReq(java.util.List<ContentPacketExtension> contents,
java.util.List<java.lang.String> relayIds)
Adds a request for allocation of "octo" channel to the query currently
being built.
|
static ColibriConferenceIQ |
ColibriAnalyser.getResponseContents(ColibriConferenceIQ conferenceResponse,
java.util.List<ContentPacketExtension> peerContents)
Utility method for extracting info about channels allocated from JVB
response.
|
Modifier and Type | Method and Description |
---|---|
ContentPacketExtension |
JingleIQ.getContentByName(java.lang.String contentName)
Finds ContentPacketExtension that matches given
contentName.
|
ContentPacketExtension |
JingleIQ.getContentForType(java.lang.Class<? extends org.jivesoftware.smack.packet.PacketExtension> contentType)
Determines if this packet contains a content with a child
matching the specified contentType and returns it.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ContentPacketExtension> |
JingleIQ.getContentList()
Returns a reference (and not a copy so be careful how you are handling
it) of this element's content list.
|
java.util.List<ContentPacketExtension> |
GroupPacketExtension.getContents()
Gets the contents of this group.
|
Modifier and Type | Method and Description |
---|---|
void |
JingleIQ.addContent(ContentPacketExtension contentPacket)
Adds contentPacket to this IQ's content list.
|
static JingleIQ |
JinglePacketFactory.createContentModify(java.lang.String from,
java.lang.String to,
java.lang.String sid,
ContentPacketExtension content)
Creates a new
JingleIQ with the content-modify action. |
Modifier and Type | Method and Description |
---|---|
void |
GroupPacketExtension.addContents(java.util.List<ContentPacketExtension> contents)
Sets the contents of this group.
|
static GroupPacketExtension |
GroupPacketExtension.createBundleGroup(java.util.List<ContentPacketExtension> contents)
Creates new GroupPacketExtension for BUNDLE semantics
initialized with given contents list.
|
static JingleIQ |
JinglePacketFactory.createContentAccept(java.lang.String from,
java.lang.String to,
java.lang.String sid,
java.lang.Iterable<ContentPacketExtension> contentList)
Creates a new
JingleIQ with the content-accept action. |
static JingleIQ |
JinglePacketFactory.createContentAdd(java.lang.String from,
java.lang.String to,
java.lang.String sid,
java.util.List<ContentPacketExtension> contentList)
Creates a new
JingleIQ with the content-add action. |
static JingleIQ |
JinglePacketFactory.createContentReject(java.lang.String from,
java.lang.String to,
java.lang.String sid,
java.lang.Iterable<ContentPacketExtension> contentList)
Creates a new
JingleIQ with the content-reject action. |
static JingleIQ |
JinglePacketFactory.createContentRemove(java.lang.String from,
java.lang.String to,
java.lang.String sid,
java.lang.Iterable<ContentPacketExtension> contentList)
Creates a new
JingleIQ with the content-remove action. |
static JingleIQ |
JinglePacketFactory.createDescriptionInfo(java.lang.String from,
java.lang.String to,
java.lang.String sid,
java.lang.Iterable<ContentPacketExtension> contentList)
Creates a
JingleIQ description-info packet with the
specified from, to, sid, and content. |
static JingleIQ |
JinglePacketFactory.createSessionAccept(java.lang.String from,
java.lang.String to,
java.lang.String sid,
java.lang.Iterable<ContentPacketExtension> contentList)
Creates a
JingleIQ session-accept packet with the
specified from, to, sid, and content. |
static JingleIQ |
JinglePacketFactory.createSessionInitiate(java.lang.String from,
java.lang.String to,
java.lang.String sid,
java.util.List<ContentPacketExtension> contentList)
Creates a new
JingleIQ with the session-initiate action. |
static JingleIQ |
JinglePacketFactory.createTransportInfo(java.lang.String from,
java.lang.String to,
java.lang.String sid,
java.lang.Iterable<ContentPacketExtension> contentList)
Creates a
JingleIQ transport-info packet with the
specified from, to, sid, and
contentList. |
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. |
Modifier and Type | Method and Description |
---|---|
static org.jitsi.service.neomedia.MediaStreamTarget |
JingleUtils.extractDefaultTarget(ContentPacketExtension content)
Returns the default candidate for the specified content content.
|
static org.jitsi.service.neomedia.MediaDirection |
JingleUtils.getDirection(ContentPacketExtension content,
boolean initiatorPerspective)
Determines the direction of the media stream that content
describes and returns the corresponding MediaDirection enum
entry.
|
static CandidatePacketExtension |
JingleUtils.getFirstCandidate(ContentPacketExtension content,
int componentID)
Returns the first candidate for the specified componentID or
null if no such component exists.
|
static org.jitsi.service.neomedia.MediaType |
JingleUtils.getMediaType(ContentPacketExtension content)
Returns the MediaType for content by looking for it
in the content's description, if any.
|
static RtpDescriptionPacketExtension |
JingleUtils.getRtpDescription(ContentPacketExtension content)
Extracts and returns an
RtpDescriptionPacketExtension provided
with content or null if there is none. |
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.