Skip to content

Commit

Permalink
refactor(rtsp-output): Removed redundant code.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamscottxu committed Dec 23, 2023
1 parent 4b9009f commit eefc717
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rtsp_output_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ void RtspOutputHelper::CreateAudioEncoder()
nullptr)
encoder = obs_get_encoder_by_name(
"avc_aac_stream");*/ //OBS 26.0.2 Or Older
if ((encoder = obs_get_encoder_by_name("adv_stream_audio")) ==
nullptr) //OBS 30.0.0 Or Older
encoder = obs_get_encoder_by_name("adv_stream_aac");
/*if ((encoder = obs_get_encoder_by_name("adv_stream_audio")) ==
nullptr) //OBS 30.0.0 Or Older*/
encoder = obs_get_encoder_by_name("adv_stream_aac");
}
else
encoder = obs_get_encoder_by_name("simple_aac");
Expand Down

0 comments on commit eefc717

Please sign in to comment.