MCPcopy Create free account
hub / github.com/pion/rtcp / SourceDescriptionItem

Struct SourceDescriptionItem

source_description.go:280–287  ·  view source on GitHub ↗

A SourceDescriptionItem is a part of a SourceDescription that describes a stream.

Source from the content-addressed store, hash-verified

278
279// A SourceDescriptionItem is a part of a SourceDescription that describes a stream.
280type SourceDescriptionItem struct {
281 // The type identifier for this item. eg, SDESCNAME for canonical name description.
282 //
283 // Type zero or SDESEnd is interpreted as the end of an item list and cannot be used.
284 Type SDESType
285 // Text is a unicode text blob associated with the item. Its meaning varies based on the item's Type.
286 Text string
287}
288
289// Len returns the length of the SourceDescriptionItem when encoded as binary.
290func (s SourceDescriptionItem) Len() int {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected