Package dpkt :: Module rtp :: Class RTP
[hide private]
[frames] | no frames]

Class RTP

source code

 object --+    
          |    
dpkt.Packet --+
              |
             RTP

Nested Classes [hide private]

Inherited from dpkt.Packet: __metaclass__

Instance Methods [hide private]
 
_get_version(self) source code
 
_set_version(self, ver) source code
 
_get_p(self) source code
 
_set_p(self, p) source code
 
_get_x(self) source code
 
_set_x(self, x) source code
 
_get_cc(self) source code
 
_set_cc(self, cc) source code
 
_get_m(self) source code
 
_set_m(self, m) source code
 
_get_pt(self) source code
 
_set_pt(self, m) source code
 
__len__(self) source code
 
__str__(self)
str(x)
source code
 
unpack(self, buf)
Unpack packet header fields from buf, and set self.data.
source code

Inherited from dpkt.Packet: __getitem__, __init__, __repr__, pack, pack_hdr

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]
  __hdr__ = (('_type', 'H', 32768), ('seq', 'H', 0), ('ts', 'I',...
  csrc = ''
  __hdr_defaults__ = {'_type': 32768, 'seq': 0, 'ssrc': 0, 'ts': 0}
  __hdr_fields__ = ['_type', 'seq', 'ts', 'ssrc']
  __hdr_fmt__ = '>HHII'
  __hdr_len__ = 12
Properties [hide private]
  version
  p
  x
  cc
  m
  pt

Inherited from object: __class__

Method Details [hide private]

__len__(self)
(Length operator)

source code 
Overrides: dpkt.Packet.__len__

__str__(self)
(Informal representation operator)

source code 
str(x)

Overrides: object.__str__
(inherited documentation)

unpack(self, buf)

source code 
Unpack packet header fields from buf, and set self.data.

Overrides: dpkt.Packet.unpack
(inherited documentation)

Class Variable Details [hide private]

__hdr__

Value:
(('_type', 'H', 32768),
 ('seq', 'H', 0),
 ('ts', 'I', 0),
 ('ssrc', 'I', 0))

Property Details [hide private]

version

Get Method:
_get_version(self)
Set Method:
_set_version(self, ver)

p

Get Method:
_get_p(self)
Set Method:
_set_p(self, p)

x

Get Method:
_get_x(self)
Set Method:
_set_x(self, x)

cc

Get Method:
_get_cc(self)
Set Method:
_set_cc(self, cc)

m

Get Method:
_get_m(self)
Set Method:
_set_m(self, m)

pt

Get Method:
_get_pt(self)
Set Method:
_set_pt(self, m)