mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRS: Fix bug
This commit is contained in:
parent
aaebecbcc9
commit
a826926073
26 changed files with 116 additions and 10 deletions
|
@ -66,6 +66,14 @@ struct SrsRtcpHeader
|
|||
uint16_t type:8;
|
||||
|
||||
uint16_t length:16;
|
||||
|
||||
SrsRtcpHeader() {
|
||||
rc = 0;
|
||||
padding = 0;
|
||||
version = 0;
|
||||
type = 0;
|
||||
length = 0;
|
||||
}
|
||||
};
|
||||
|
||||
class SrsRtcpCommon: public ISrsCodec
|
||||
|
@ -134,6 +142,16 @@ struct SrsRtcpRB
|
|||
uint32_t jitter;
|
||||
uint32_t lsr;
|
||||
uint32_t dlsr;
|
||||
|
||||
SrsRtcpRB() {
|
||||
ssrc = 0;
|
||||
fraction_lost = 0;
|
||||
lost_packets = 0;
|
||||
highest_sn = 0;
|
||||
jitter = 0;
|
||||
lsr = 0;
|
||||
dlsr = 0;
|
||||
}
|
||||
};
|
||||
|
||||
class SrsRtcpSR : public SrsRtcpCommon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue