Package | Description |
---|---|
org.ice4j.ice | |
org.ice4j.ice.sdp |
Modifier and Type | Field and Description |
---|---|
private IceMediaStream |
CheckList.parentStream
A reference to the
IceMediaStream that we belong to. |
private IceMediaStream |
Component.parentStream
The IceMediaStream that this Component belongs to.
|
Modifier and Type | Field and Description |
---|---|
private Map<String,IceMediaStream> |
Agent.mediaStreams
The LinkedHashMap used to store the media streams
This map preserves the insertion order of the media streams.
|
Modifier and Type | Method and Description |
---|---|
static IceMediaStream |
IceMediaStream.build(Agent parentAgent,
String name)
Use builder pattern to provide an immutable IceMediaStream instance.
|
IceMediaStream |
Agent.createMediaStream(String mediaStreamName)
Creates a new media stream and stores it.
|
IceMediaStream |
CheckList.getParentStream()
Returns a reference to the
IceMediaStream that created and that
maintains this check list. |
IceMediaStream |
Component.getParentStream()
Returns a reference to the IceMediaStream that this
Component belongs to.
|
IceMediaStream |
Agent.getStream(String name)
Returns the IceMediaStream with the specified name or
null if no such stream has been registered with this
Agent yet.
|
Modifier and Type | Method and Description |
---|---|
List<IceMediaStream> |
Agent.getStreams()
Returns a List containing all IceMediaStreams currently
registered with this agent.
|
(package private) List<IceMediaStream> |
Agent.getStreamsWithPendingConnectivityEstablishment()
Gets the IceMediaStreams registered with this Agent for
which connectivity establishment is pending.
|
Modifier and Type | Method and Description |
---|---|
static Component |
Component.build(int componentID,
IceMediaStream mediaStream)
Use builder pattern to allow creation of immutable Component instances,
from outside the current package.
|
Component |
Agent.createComponent(IceMediaStream stream,
Transport transport,
int preferredPort,
int minPort,
int maxPort)
Creates a new
Component for the specified stream and
allocates potentially all local candidates that should belong to it. |
Component |
Agent.createComponent(IceMediaStream stream,
Transport transport,
int preferredPort,
int minPort,
int maxPort,
KeepAliveStrategy keepAliveStrategy)
Creates a new
Component for the specified stream and
allocates potentially all local candidates that should belong to it. |
Component |
Agent.createComponent(IceMediaStream stream,
Transport transport,
int preferredPort,
int minPort,
int maxPort,
KeepAliveStrategy keepAliveStrategy,
boolean useComponentSocket)
Creates a new
Component for the specified stream and
allocates potentially all local candidates that should belong to it. |
void |
Agent.removeStream(IceMediaStream stream)
Removes stream and all its child Components and
Candidates from the this agent and releases all resources that
they had allocated (like sockets for example)
|
Constructor and Description |
---|
CheckList(IceMediaStream parentStream)
Creates a check list with the specified name.
|
Component(int componentID,
IceMediaStream mediaStream,
KeepAliveStrategy keepAliveStrategy)
Deprecated.
|
Component(int componentID,
IceMediaStream mediaStream,
KeepAliveStrategy keepAliveStrategy,
boolean useComponentSocket)
Creates a new Component with the specified componentID
as a child of the specified IceMediaStream.
|
Modifier and Type | Method and Description |
---|---|
static void |
IceSdpUtils.initMediaDescription(javax.sdp.MediaDescription mediaDescription,
IceMediaStream iceMediaStream)
Reflects the candidates from the various components in
iceMediaStream into the specified m-line.
|
Copyright © 2018. All rights reserved.