MCPcopy Create free account
hub / github.com/Monibuca/engine / H264Type

Method H264Type

common/frame.go:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (r *RTPFrame) H264Type() (naluType codec.H264NALUType) {
33 return naluType.Parse(r.Payload[0])
34}
35func (r *RTPFrame) H265Type() (naluType codec.H265NALUType) {
36 return naluType.Parse(r.Payload[0])
37}

Callers 1

WriteRTPFrameMethod · 0.80

Calls 1

ParseMethod · 0.45

Tested by

no test coverage detected