Package org.red5.server.api.stream
Interface IStreamPacket
- All Known Implementing Classes:
Aggregate,AudioData,CachedEvent,FlexMessage,FlexStreamSend,Invoke,Notify,VideoData
public interface IStreamPacket
Packet containing stream data.
- Author:
- The Red5 Project, Joachim Bauch ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.mina.core.buffer.IoBuffergetData()Packet contents.byteType of this packet.intTimestamp of this packet.
-
Method Details
-
getDataType
byte getDataType()Type of this packet. This is one of theTYPE_
constants.- Returns:
- the type
-
getTimestamp
int getTimestamp()Timestamp of this packet.- Returns:
- the timestamp in milliseconds
-
getData
org.apache.mina.core.buffer.IoBuffer getData()Packet contents.- Returns:
- the contents
-