pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJMEDIA Reference

pjmedia_rtp_status Struct Reference
[RTP Session and Encapsulation (RFC 3550)]


Detailed Description

This structure is used to receive additional information about the state of incoming RTP packet.

Data Fields

union {
   struct flag {
      int   bad:1
      int   badpt:1
      int   badssrc:1
      int   dup:1
      int   outorder:1
      int   probation:1
      int   restart:1
   }   flag
   pj_uint16_t   value
status
pj_uint16_t diff

Field Documentation

General flag to indicate that sequence is bad, and application should not process this packet. More information will be given in other flags.

Bad payload type.

Indicates duplicate packet

Indicates out of order packet

Indicates that session is in probation until more packets are received.

Indicates that sequence number has made a large jump, and internal base sequence number has been adjusted.

struct { ... } ::flag pjmedia_rtp_status::flag

Status flags.

Status value, to conveniently address all flags.

Status information union.

Sequence number difference from previous packet. Normally the value should be 1. Value greater than one may indicate packet loss. If packet with lower sequence is received, the value will be set to zero. If base sequence has been restarted, the value will be one.


The documentation for this struct was generated from the following file:

 


PJMEDIA small footprint Open Source media stack
(C)2003-2008 Benny Prijono