|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcom.wowza.wms.util.RTPUtils
public class RTPUtils
| Constructor Summary | |
|---|---|
RTPUtils()
|
|
| Method Summary | |
|---|---|
static double[] |
decodeRangeHeader(String rangeStr)
Decode RTP range header, Internal use. |
static RTPStream |
decodeStreamInfo(RTPContext context,
String streamId,
String streamInfo)
Decode SDP info and create RTP stream |
static byte[] |
formatH264CodecConfig(byte[] sps,
java.util.List<byte[]> ppss,
byte[] profileLevel)
Format codec config info, Internal use. |
static byte[] |
formatH264CodecConfigPacket(byte[] sps,
java.util.List<byte[]> ppss,
byte[] profileLevel)
Format codec config info, Internal use. |
static void |
loadConfigFile(RTPContext rtpContext,
String fileURL)
Load config file, Internal use. |
static RTPPushPublishSession |
startRTPPull(IApplicationInstance appInstance,
String streamName,
boolean streamPacketizer,
String ipAddress,
int streamPort)
Start pushing an RTP stream |
static RTPPushPublishSession |
startRTPPull(IApplicationInstance appInstance,
String streamName,
boolean streamPacketizer,
String ipAddress,
int streamPort,
boolean isRTPWrapped)
Start pushing an RTP stream |
static RTPPushPublishSession |
startRTPPull(IApplicationInstance appInstance,
String streamName,
boolean streamPacketizer,
String ipAddress,
int audioPort,
int videoPort)
Start pushing an RTP stream |
static RTPPushPublishSession |
startRTPPull(IApplicationInstance appInstance,
String streamName,
boolean streamPacketizer,
String ipAddress,
int audioPort,
int videoPort,
boolean isRTPWrapped)
Start pushing an RTP stream |
static RTPPushPublishSession |
startRTPPull(IApplicationInstance appInstance,
String streamName,
RTPDestination rtpDestination)
Start pushing an RTP stream |
static void |
stopRTPPull(RTPPushPublishSession rtpPushPublishSession)
Stop pushing an RTP stream |
static String |
updateSDPDestination(RTPDestination rtpDestination,
String sdpData)
Update SDP data information with RTP destination information |
static void |
writeCodecConfig(com.wowza.wms.rtp.model.RTPTrack rtpTrack,
long adjTimecode,
byte[] codecConfig)
Write codec config information, Internal use. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RTPUtils()
| Method Detail |
|---|
public static double[] decodeRangeHeader(String rangeStr)
rangeStr -
public static RTPStream decodeStreamInfo(RTPContext context,
String streamId,
String streamInfo)
context - RTP contextstreamId - stream idstreamInfo - SDP data
public static byte[] formatH264CodecConfig(byte[] sps,
java.util.List<byte[]> ppss,
byte[] profileLevel)
sps - ppss - profileLevel -
public static byte[] formatH264CodecConfigPacket(byte[] sps,
java.util.List<byte[]> ppss,
byte[] profileLevel)
sps - ppss - profileLevel -
public static void loadConfigFile(RTPContext rtpContext,
String fileURL)
rtpContext - fileURL -
public static RTPPushPublishSession startRTPPull(IApplicationInstance appInstance,
String streamName,
boolean streamPacketizer,
String ipAddress,
int streamPort)
appInstance - application instancestreamName - stream namestreamPacketizer - stream packetizeripAddress - IP addressstreamPort - stream port
public static RTPPushPublishSession startRTPPull(IApplicationInstance appInstance,
String streamName,
boolean streamPacketizer,
String ipAddress,
int streamPort,
boolean isRTPWrapped)
appInstance - application instancestreamName - stream namestreamPacketizer - stream packetizeripAddress - IP addressstreamPort - stream portisRTPWrapped - is RTP wrapped
public static RTPPushPublishSession startRTPPull(IApplicationInstance appInstance,
String streamName,
boolean streamPacketizer,
String ipAddress,
int audioPort,
int videoPort)
appInstance - application instancestreamName - stream namestreamPacketizer - stream packetizeripAddress - IP addressaudioPort - audio portvideoPort - video port
public static RTPPushPublishSession startRTPPull(IApplicationInstance appInstance,
String streamName,
boolean streamPacketizer,
String ipAddress,
int audioPort,
int videoPort,
boolean isRTPWrapped)
appInstance - application instancestreamName - stream namestreamPacketizer - stream packetizeripAddress - IP addressaudioPort - audio portvideoPort - video portisRTPWrapped - is RTP wrapped
public static RTPPushPublishSession startRTPPull(IApplicationInstance appInstance,
String streamName,
RTPDestination rtpDestination)
appInstance - application instancestreamName - stream namertpDestination - RTP destination
public static void stopRTPPull(RTPPushPublishSession rtpPushPublishSession)
rtpPushPublishSession - RTP push session
public static String updateSDPDestination(RTPDestination rtpDestination,
String sdpData)
rtpDestination - RTP destinationsdpData - SDP data
public static void writeCodecConfig(com.wowza.wms.rtp.model.RTPTrack rtpTrack,
long adjTimecode,
byte[] codecConfig)
rtpTrack - RTP trackadjTimecode - timecode (milliseconds)codecConfig - codec config
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||