sdp

package
v4.16.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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