sdp

package
v2.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 6 Imported by: 2

Documentation

Overview

Package sdp contains a SDP encoder/decoder compatible with most RTSP implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionDescription

type SessionDescription psdp.SessionDescription

SessionDescription is a SDP session description.

func (*SessionDescription) Attribute

func (s *SessionDescription) Attribute(key string) (string, bool)

Attribute returns the value of an attribute and if it exists

func (*SessionDescription) Marshal

func (s *SessionDescription) Marshal() ([]byte, error)

Marshal encodes a SessionDescription.

func (*SessionDescription) Unmarshal

func (s *SessionDescription) Unmarshal(byts []byte) error

Unmarshal decodes a SessionDescription. This is rewritten from scratch to guarantee compatibility with most RTSP implementations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL