Farstream.RtpHeaderExtension¶
Fields¶
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
direction  | 
r/w  | 
the direction in which this extension can be used  | 
|
id  | 
r/w  | 
The identifier of the RTP header extension  | 
|
uri  | 
r/w  | 
The URI that defines this extension  | 
Methods¶
class  | 
  | 
  | 
Details¶
- class Farstream.RtpHeaderExtension¶
 Defines a RTP header extension with its negotiated identifier, direction and URI. They should only be created with
Farstream.RtpHeaderExtension.new().- classmethod new(id, direction, uri)¶
 - Parameters:
 id (
int) – The identifier of the RTP header extensiondirection (
Farstream.StreamDirection) – the direction in which this extension can be useduri (
str) – The URI that defines this extension
- Returns:
 - Return type:
 
Creates a new
Farstream.RtpHeaderExtension
- are_equal(extension2)¶
 - Parameters:
 extension2 (
Farstream.RtpHeaderExtension) – The secondFarstream.RtpHeaderExtension- Returns:
 - Return type:
 
Compares two
Farstream.RtpHeaderExtensionstructures