fix: fix typo about inactive. (#2380)

pull/2385/head
johzzy 4 years ago committed by GitHub
parent 81bda41b31
commit 2aad8ad5bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2966,7 +2966,7 @@ srs_error_t SrsRtcConnection::generate_publish_local_sdp(SrsRequest* req, SrsSdp
local_media_desc.sendonly_ = true;
} else if (audio_track->direction_ == "sendrecv") {
local_media_desc.sendrecv_ = true;
} else if (audio_track->direction_ == "inactive_") {
} else if (audio_track->direction_ == "inactive") {
local_media_desc.inactive_ = true;
}
@ -2999,7 +2999,7 @@ srs_error_t SrsRtcConnection::generate_publish_local_sdp(SrsRequest* req, SrsSdp
local_media_desc.sendonly_ = true;
} else if (video_track->direction_ == "sendrecv") {
local_media_desc.sendrecv_ = true;
} else if (video_track->direction_ == "inactive_") {
} else if (video_track->direction_ == "inactive") {
local_media_desc.inactive_ = true;
}
@ -3240,7 +3240,7 @@ void video_track_generate_play_offer(SrsRtcTrackDescription* track, string mid,
local_media_desc.sendonly_ = true;
} else if (track->direction_ == "sendrecv") {
local_media_desc.sendrecv_ = true;
} else if (track->direction_ == "inactive_") {
} else if (track->direction_ == "inactive") {
local_media_desc.inactive_ = true;
}
@ -3304,7 +3304,7 @@ srs_error_t SrsRtcConnection::generate_play_local_sdp(SrsRequest* req, SrsSdp& l
local_media_desc.sendonly_ = true;
} else if (audio_track->direction_ == "sendrecv") {
local_media_desc.sendrecv_ = true;
} else if (audio_track->direction_ == "inactive_") {
} else if (audio_track->direction_ == "inactive") {
local_media_desc.inactive_ = true;
}

Loading…
Cancel
Save