Skip to content

Commit

Permalink
Merge pull request #45 from shiguredo/feature/fix-uninitialized-lyra-…
Browse files Browse the repository at this point in the history
…bitrate-value

sdl_sample の audio_codec_lyra_bitrate を 0 で初期化する
  • Loading branch information
miosakuma authored Mar 4, 2024
2 parents 413e456 + d789399 commit aaf2bf3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
- SDL2 を 2.30.0 にあげる
- CLI11 を v2.4.1 にあげる
- @miosakuma @enm10k
- [FIX] sdl_sample で `--audio-codec-lyra-bitrate` が未指定の時に不定な値が送信されるのを修正する
- SDLSampleConfig.audio_codec_lyra_bitrate の値が初期化されておらず、未指定の時に不定な値が送信されるようになっていた
- SDLSampleConfig.audio_codec_lyra_bitrate の初期値を 0 に設定する
- 値が 0 の時、Sora に値は送信されない
- @miosakuma

## sora-cpp-sdk-2023.17.0

Expand Down
2 changes: 1 addition & 1 deletion sdl_sample/src/sdl_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct SDLSampleConfig {
std::string role;
std::string video_codec_type;
std::string audio_codec_type;
int audio_codec_lyra_bitrate;
int audio_codec_lyra_bitrate = 0;
boost::optional<bool> audio_codec_lyra_usedtx;
boost::optional<bool> multistream;
int width = 640;
Expand Down

0 comments on commit aaf2bf3

Please sign in to comment.