Package | Description |
---|---|
org.ice4j.ice |
Modifier and Type | Field and Description |
---|---|
private KeepAliveStrategy |
Component.keepAliveStrategy
The
KeepAliveStrategy used by this component to select which
pairs are to be kept alive. |
Modifier and Type | Method and Description |
---|---|
static KeepAliveStrategy |
KeepAliveStrategy.fromString(String string) |
static KeepAliveStrategy |
KeepAliveStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeepAliveStrategy[] |
KeepAliveStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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. |
protected Component |
IceMediaStream.createComponent(KeepAliveStrategy keepAliveStrategy,
boolean useComponentSocket)
Creates and adds a component to this media-stream
The component ID is incremented to the next integer value
when creating the component so make sure you keep that in mind in case
assigning a specific component ID is important to you.
|
Constructor and Description |
---|
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.
|
Copyright © 2018. All rights reserved.