mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Fix audio track NULL bug
This commit is contained in:
parent
040893efde
commit
fbbdf5ba0e
1 changed files with 1 additions and 1 deletions
|
@ -1627,7 +1627,7 @@ SrsRtcStreamDescription* SrsRtcStreamDescription::copy()
|
||||||
|
|
||||||
SrsRtcTrackDescription* SrsRtcStreamDescription::find_track_description_by_ssrc(uint32_t ssrc)
|
SrsRtcTrackDescription* SrsRtcStreamDescription::find_track_description_by_ssrc(uint32_t ssrc)
|
||||||
{
|
{
|
||||||
if (audio_track_desc_->has_ssrc(ssrc)) {
|
if (audio_track_desc_ && audio_track_desc_->has_ssrc(ssrc)) {
|
||||||
return audio_track_desc_;
|
return audio_track_desc_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue