core: Index | Files

package srtp

import ""


Package Files

config.pb.go srtp.go

func New Uses

func New(ctx context.Context, config interface{}) (interface{}, error)

New returns a new SRTP instance based on the given config.

type Config Uses

type Config struct {
    Version              uint32   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
    Padding              bool     `protobuf:"varint,2,opt,name=padding,proto3" json:"padding,omitempty"`
    Extension            bool     `protobuf:"varint,3,opt,name=extension,proto3" json:"extension,omitempty"`
    CsrcCount            uint32   `protobuf:"varint,4,opt,name=csrc_count,json=csrcCount,proto3" json:"csrc_count,omitempty"`
    Marker               bool     `protobuf:"varint,5,opt,name=marker,proto3" json:"marker,omitempty"`
    PayloadType          uint32   `protobuf:"varint,6,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`

func (*Config) Descriptor Uses

func (*Config) Descriptor() ([]byte, []int)

func (*Config) GetCsrcCount Uses

func (m *Config) GetCsrcCount() uint32

func (*Config) GetExtension Uses

func (m *Config) GetExtension() bool

func (*Config) GetMarker Uses

func (m *Config) GetMarker() bool

func (*Config) GetPadding Uses

func (m *Config) GetPadding() bool

func (*Config) GetPayloadType Uses

func (m *Config) GetPayloadType() uint32

func (*Config) GetVersion Uses

func (m *Config) GetVersion() uint32

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) Reset Uses

func (m *Config) Reset()

func (*Config) String Uses

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown Uses

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal Uses

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge Uses

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size Uses

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal Uses

func (m *Config) XXX_Unmarshal(b []byte) error

type SRTP Uses

type SRTP struct {
    // contains filtered or unexported fields

func (*SRTP) Serialize Uses

func (s *SRTP) Serialize(b []byte)

Serialize implements PacketHeader.

func (*SRTP) Size Uses

func (*SRTP) Size() int32

Package srtp imports 7 packages (graph) and is imported by 6 packages. Updated 2019-04-03. Refresh now. Tools for package owners.