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

Method setupBlockHeader

extended_report.go:535–539  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

533}
534
535func (b *VoIPMetricsReportBlock) setupBlockHeader() {
536 b.XRHeader.BlockType = VoIPMetricsReportBlockType
537 b.XRHeader.TypeSpecific = 0
538 b.XRHeader.BlockLength = uint16(wireSize(b)/4 - 1) //nolint:gosec // G115
539}
540
541func (b *VoIPMetricsReportBlock) unpackBlockHeader() {
542}

Callers

nothing calls this directly

Calls 1

wireSizeFunction · 0.85

Tested by

no test coverage detected