|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lastbamboo.common.offer.answer.IceMediaStreamDesc
public final class IceMediaStreamDesc
Describes an individual media stream.
| Constructor Summary | |
|---|---|
IceMediaStreamDesc(boolean tcp,
boolean udp,
String mimeContentType,
String mimeContentSubtype,
int numComponents,
boolean useRelay)
Creates a new media stream description with all the information necessary for ICE to establish the stream. |
|
IceMediaStreamDesc(boolean tcp,
boolean udp,
String mimeContentType,
String mimeContentSubtype,
int numComponents,
boolean useRelay,
boolean reliable)
Creates a new media stream description with all the information necessary for ICE to establish the stream. |
|
IceMediaStreamDesc(String mimeContentType,
String mimeContentSubtype,
int numComponents,
boolean useRelay)
Creates a new media stream description with all the information necessary for ICE to establish the stream. |
|
| Method Summary | |
|---|---|
static IceMediaStreamDesc |
allStreams()
|
String |
getMimeContentSubtype()
|
String |
getMimeContentType()
|
int |
getNumComponents()
|
boolean |
isReliable()
Whether or not there's a reliability layer over this stream, which is true for TCP and any reliable UDT streams. |
boolean |
isTcp()
|
boolean |
isUdp()
|
boolean |
isUseRelay()
|
static IceMediaStreamDesc |
newReliable()
Create a new reliable stream for HTTP traffic over either TCP or reliable UDP. |
static IceMediaStreamDesc |
newReliableNoRelay()
Create a new reliable stream for HTTP traffic over either TCP or reliable UDP, but that doesn't use relays. |
static IceMediaStreamDesc |
newUnreliableUdpStream()
Creates a new stream description for a raw UDP stream that's not reliable. |
static IceMediaStreamDesc |
newUnreliableUdpStreamNoRelay()
Creates a new stream description for a raw UDP stream that's not reliable and doesn't use a relay. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IceMediaStreamDesc(String mimeContentType,
String mimeContentSubtype,
int numComponents,
boolean useRelay)
mimeContentType - The MIME content type for SDP.mimeContentSubtype - The MIME content subtype.numComponents - The number of components in the media stream.useRelay - Whether or not to use relay (TURN) servers.
public IceMediaStreamDesc(boolean tcp,
boolean udp,
String mimeContentType,
String mimeContentSubtype,
int numComponents,
boolean useRelay)
tcp - Whether or not the stream will use TCP.udp - Whether or not the stream will use UDP.mimeContentType - The MIME content type for SDP.mimeContentSubtype - The MIME content subtype.numComponents - The number of components in the media stream.useRelay - Whether or not to use relay (TURN) servers.
public IceMediaStreamDesc(boolean tcp,
boolean udp,
String mimeContentType,
String mimeContentSubtype,
int numComponents,
boolean useRelay,
boolean reliable)
tcp - Whether or not the stream will use TCP.udp - Whether or not the stream will use UDP.mimeContentType - The MIME content type for SDP.mimeContentSubtype - The MIME content subtype.numComponents - The number of components in the media stream.useRelay - Whether or not to use relay (TURN) servers.| Method Detail |
|---|
public static IceMediaStreamDesc newUnreliableUdpStream()
public static IceMediaStreamDesc newUnreliableUdpStreamNoRelay()
public static IceMediaStreamDesc newReliable()
public static IceMediaStreamDesc newReliableNoRelay()
public static IceMediaStreamDesc allStreams()
public String getMimeContentSubtype()
public String getMimeContentType()
public boolean isTcp()
public boolean isUdp()
public int getNumComponents()
public boolean isUseRelay()
public boolean isReliable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||