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

Method String

header.go:43–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41)
42
43func (p PacketType) String() string {
44 switch p {
45 case TypeSenderReport:
46 return "SR"
47 case TypeReceiverReport:
48 return "RR"
49 case TypeSourceDescription:
50 return "SDES"
51 case TypeGoodbye:
52 return "BYE"
53 case TypeApplicationDefined:
54 return "APP"
55 case TypeTransportSpecificFeedback:
56 return "TSFB"
57 case TypePayloadSpecificFeedback:
58 return "PSFB"
59 case TypeExtendedReport:
60 return "XR"
61 default:
62 return string(p)
63 }
64}
65
66const rtpVersion = 2
67

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected