Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <rtp.h>

Enum TRtpEventType

TRtpEventType

Description

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

See all variants of the RegisterEventCallbackL() function.

ERtpAnyEvent

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.

ERtpSessionEventBase

Defines a base value for session events.

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

ERtpSessionFail

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.

ERtpNewSource

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

The event status is the SSRC of the stream.

ERtpNewRR

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.

ERtpBufferOverflow

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

When this event occurs, the packet is deleted.

ERtpUndersizedPacket

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.

ERtpSessionEventEnd

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

ERtpSendEventBase

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.

ERtpSendFail

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.

ERtpSendSucceeded

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

ERtpSendEventEnd

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

ERtpSourceEventBase

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.

ERtpSourceFail

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.

ERtpPacketReceived

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

ERtpCodecChange

An event type that indicates that the codec has changed.

The event status is the new payload type.

ERtpMarker

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

ERtpMisorder

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

ERtpDropout

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

ERtpSDES

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.

ERtpAPP

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

The event status is the SSRC of the sender.

ERtpSR

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

The event status is the SSRC of the sender.

ERtpRR

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

The event status is the SSRC of the sender.

ERtpBYE

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

The event status is the SSRC of the sender.

ERtpSourceEventEnd

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

[Top]


Enum TRtpOneShotness

TRtpOneShotness

Description

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 RRtpSessionRRtpSession, RRtpSendSourceRRtpSendSource, and RRtpReceiveSourceRRtpReceiveSource, or to the equivalent static functions.

ERtpNotOneShot

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

ERtpOneShot

Indicates that the call back function is only called once.


rtp.h Global variables

[Top]


KRtpNoExtension

const TInt KRtpNoExtension=-1;

Description

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