rtp.h File Reference

Enum TRtpEventType

A set of values that defines the event types that may be handled.

See all variants of the RegisterEventCallbackL() function.

See also: TRtpEvent

EnumeratorValueDescription
ERtpAnyEvent0

A special event type that is interpreted by all of the RegisterEventCallbackL() set of functions to mean that the registered callback function is to be called for any event except failure events.

ERtpSessionEventBase0x100

Defines a base value for session events.

All session event types have values that are greater than this.

ERtpSessionFail0x101

An event type that indicates that a session-level error has occurred.

The event status is a standard Symbian OS error code. The callback parameter is used to register interest in only one type of error.

ERtpNewSource0x102

An event type that indicates that a new stream has been received.

The event status is the SSRC of the stream.

ERtpNewRR0x103

An event type that indicates that an RTCP RR (Receiver Report) has been received.

The event status is the SSRC of the sender.

Note - This event type has not been implemented yet.

ERtpBufferOverflow0x104

An event type that indicates that a packet bigger than the expected maximum has been received.

When this event occurs, the packet is deleted.

ERtpUndersizedPacket0x105

An event type that indicates that a packet has been recived that is smaller than its header.

When this event occurs, the packet is deleted.

ENonRtpDataReceived0x106
ENonRtcpDataReceived0x107
ERtpSessionEventEnd0x1ff

Not an event type, but defines the upper limit for session event type values.

ERtpSendEventBase0x200

Not an event type but defines a base value for send stream events.

All send stream event types have values that are greater than this.

ERtpSendFail0x201

An event type that indicates that an error has occurred while sending a packet.

The event status is a standard Symbian OS error code. The callback parameter is used only to register interest in one type of error.

ERtpSendSucceeded0x202

An event type that indicates that a send packet operation has succeeded.

ERtpSendEventEnd0x2ff

Not an event type, but defines the upper limit for send stream event type values.

ERtpSourceEventBase0x300

Not an event type but defines a base value for receive stream events.

All receive stream event types have values that are greater than this.

ERtpSourceFail0x301

An event type that indicates that an error has occurred.

The event status is a standard Symbian OS error code. The callback parameter is used only to register interest in one type of error.

ERtpPacketReceived0x302

An event type that indicates that an in-sequence packet has been received.

ERtpCodecChange0x303

An event type that indicates that the codec has changed.

The event status is the new payload type.

ERtpMarker0x304

An event type that indicates that a marker packet has arrived.

ERtpMisorder0x305

An event type that indicates that a misordered packet has arrived.

ERtpDropout0x306

An event type that indicates that a dropout has been detected.

ERtpSDES0x307

An event type that indicates that a SDES (Source Description) RTCP packet has been received.

For SDES events, the callback parameter is used to specify the type of SDES. Use a value from TRtpSendPacketType

The event status is the SSRC of the sender.

See also: RRtpSession::TRtpSendPacketType

ERtpAPP0x308

An event type that indicates that a APP (Application Defined) RTCP packet has been received.

The event status is the SSRC of the sender.

ERtpSR0x309

An event type that indicates that a SR (Sender Report) RTCP packet has been received.

The event status is the SSRC of the sender.

ERtpRR0x30a

An event type that indicates that a RR (Receiver Report) RTCP packet has been received.

The event status is the SSRC of the sender.

ERtpBYE0x30b

An event type that indicates that a BYE (Goodbye) RTCP packet has been received.

The event status is the SSRC of the sender.

ERtpSourceEventEnd0x3ff

Not an event type, but defines the upper limit for receive stream event type values.

Enum TRtpOneShotness

Indicates whether a callback function can be called once, or more than once.

The appropriate enum value is passed as an argument to the RegisterEventCallbackL() functions of RRtpSession, RRtpSendSource, and RRtpReceiveSource, or to the equivalent static functions.

See also: RRtpSession RRtpSendSource RRtpReceiveSource

EnumeratorValueDescription
ERtpNotOneShot0

Indicates that the call back function can be called more than once.

ERtpOneShot0x40000000

Indicates that the call back function is only called once.

Typedef TRtpCallbackFunction

typedef void(*TRtpCallbackFunction

KRtpNoParameter

const TIntKRtpNoParameter

Enum TPacketType

EnumeratorValueDescription
EPacketRtp
EPacketRtcp

KRtpNoExtension

const TIntKRtpNoExtension

A value that can be passed as the second parameter in a call to either RRtpSendSource::NewSendPacketL() or RRtpSendSource::NewSendPacketLC() to indicate that no exension is required for the RTP send packet.

Enum TRtpPanicCode

Panic ( TRtpPanicCode )

GLREF_C voidPanic(TRtpPanicCodeaPanicCode)