Documentation ¶
Overview ¶
Package srtp is a generated protocol buffer package.
It is generated from these files:
v2ray.com/core/transport/internet/headers/srtp/config.proto
It has these top-level messages:
Config
Index ¶
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetCsrcCount() uint32
- func (m *Config) GetExtension() bool
- func (m *Config) GetMarker() bool
- func (m *Config) GetPadding() bool
- func (m *Config) GetPayloadType() uint32
- func (m *Config) GetVersion() uint32
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- type SRTP
- type SRTPFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Version uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` Padding bool `protobuf:"varint,2,opt,name=padding" json:"padding,omitempty"` Extension bool `protobuf:"varint,3,opt,name=extension" json:"extension,omitempty"` CsrcCount uint32 `protobuf:"varint,4,opt,name=csrc_count,json=csrcCount" json:"csrc_count,omitempty"` Marker bool `protobuf:"varint,5,opt,name=marker" json:"marker,omitempty"` PayloadType uint32 `protobuf:"varint,6,opt,name=payload_type,json=payloadType" json:"payload_type,omitempty"` }
func (*Config) Descriptor ¶
func (*Config) GetCsrcCount ¶
func (*Config) GetExtension ¶
func (*Config) GetPadding ¶
func (*Config) GetPayloadType ¶
func (*Config) GetVersion ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type SRTPFactory ¶
type SRTPFactory struct { }
func (SRTPFactory) Create ¶
func (v SRTPFactory) Create(rawSettings interface{}) internet.PacketHeader
Click to show internal directories.
Click to hide internal directories.