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
|
@ -254,6 +254,7 @@ srs_error_t SrsSSRCGroup::encode(std::ostringstream& os)
|
|||
SrsMediaPayloadType::SrsMediaPayloadType(int payload_type)
|
||||
{
|
||||
payload_type_ = payload_type;
|
||||
clock_rate_ = 0;
|
||||
}
|
||||
|
||||
SrsMediaPayloadType::~SrsMediaPayloadType()
|
||||
|
@ -288,7 +289,9 @@ SrsMediaDesc::SrsMediaDesc(const std::string& type)
|
|||
{
|
||||
type_ = type;
|
||||
|
||||
port_ = 0;
|
||||
rtcp_mux_ = false;
|
||||
rtcp_rsize_ = false;
|
||||
|
||||
sendrecv_ = false;
|
||||
recvonly_ = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue