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

Method DestinationSSRC

source_description.go:359–366  ·  view source on GitHub ↗

DestinationSSRC returns an array of SSRC values that this packet refers to.

()

Source from the content-addressed store, hash-verified

357
358// DestinationSSRC returns an array of SSRC values that this packet refers to.
359func (s *SourceDescription) DestinationSSRC() []uint32 {
360 out := make([]uint32, len(s.Chunks))
361 for i, v := range s.Chunks {
362 out[i] = v.Source
363 }
364
365 return out
366}
367
368func (s *SourceDescription) String() string {
369 var out strings.Builder

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected