mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
TEST: Upgrade pion to v3.2.9. (#3567)
------ Co-authored-by: chundonglinlin <chundonglinlin@163.com>
This commit is contained in:
parent
104cf14d68
commit
df854339ea
1383 changed files with 118469 additions and 41421 deletions
19
trunk/3rdparty/srs-bench/vendor/github.com/pion/rtcp/doc.go
generated
vendored
19
trunk/3rdparty/srs-bench/vendor/github.com/pion/rtcp/doc.go
generated
vendored
|
@ -14,16 +14,17 @@ service parameters, perhaps by limiting flow, or using a different codec.
|
|||
|
||||
Decoding RTCP packets:
|
||||
|
||||
pkt, err := rtcp.Unmarshal(rtcpData)
|
||||
pkts, err := rtcp.Unmarshal(rtcpData)
|
||||
// ...
|
||||
|
||||
switch p := pkt.(type) {
|
||||
case *rtcp.CompoundPacket:
|
||||
...
|
||||
case *rtcp.PictureLossIndication:
|
||||
...
|
||||
default:
|
||||
...
|
||||
for _, pkt := range pkts {
|
||||
switch p := pkt.(type) {
|
||||
case *rtcp.CompoundPacket:
|
||||
...
|
||||
case *rtcp.PictureLossIndication:
|
||||
...
|
||||
default:
|
||||
...
|
||||
}
|
||||
}
|
||||
|
||||
Encoding RTCP packets:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue