Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit c347164

Browse files
authored
Rename OWT_CLOUD_GAMING to OWT_CG_SERVER. (#192)
This change is preparation for cg client build support on Windows.
1 parent 15bb85d commit c347164

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

BUILD.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ config("common_config") {
479479
]
480480
}
481481

482-
if (owt_cloud_gaming) {
483-
defines += [ "OWT_CLOUD_GAMING" ]
482+
if (owt_cg_server) {
483+
defines += [ "OWT_CG_SERVER" ]
484484
}
485485
}
486486

api/audio_codecs/opus/audio_decoder_opus.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ absl::optional<AudioDecoderOpus::Config> AudioDecoderOpus::SdpToConfig(
4444
return absl::nullopt; // Bad stereo parameter.
4545
}
4646
}
47-
#ifdef OWT_CLOUD_GAMING
47+
#ifdef OWT_CG_SERVER
4848
return 2;
4949
#endif
5050
return 1; // Default to mono.

api/transport/bitrate_settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct BitrateConstraints {
4242
int max_bitrate_bps = -1;
4343

4444
private:
45-
#ifdef OWT_CLOUD_GAMING
45+
#ifdef OWT_CG_SERVER
4646
static constexpr int kDefaultStartBitrateBps = 5000000;
4747
#else
4848
static constexpr int kDefaultStartBitrateBps = 300000;

0 commit comments

Comments
 (0)