From 8b56d6dc1087ebc0f53a7803e1cfcada181185f8 Mon Sep 17 00:00:00 2001 From: zztkm Date: Tue, 24 Dec 2024 14:46:19 +0900 Subject: [PATCH] =?UTF-8?q?=E9=9F=B3=E5=A3=B0=E3=82=B9=E3=83=88=E3=83=AA?= =?UTF-8?q?=E3=83=BC=E3=83=9F=E3=83=B3=E3=82=B0=E3=81=AB=E5=AF=BE=E5=BF=9C?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/kotlin/jp/shiguredo/sora/quickstart/MainActivity.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quickstart/src/main/kotlin/jp/shiguredo/sora/quickstart/MainActivity.kt b/quickstart/src/main/kotlin/jp/shiguredo/sora/quickstart/MainActivity.kt index acdc046..c906963 100644 --- a/quickstart/src/main/kotlin/jp/shiguredo/sora/quickstart/MainActivity.kt +++ b/quickstart/src/main/kotlin/jp/shiguredo/sora/quickstart/MainActivity.kt @@ -195,6 +195,8 @@ class MainActivity : AppCompatActivity() { enableSpotlight(spotlight, false) videoCodec = SoraVideoOption.Codec.VP9 + + audioStreamingLanguageCode = "ja-JP" } mediaChannel = SoraMediaChannel( @@ -203,7 +205,7 @@ class MainActivity : AppCompatActivity() { channelId = BuildConfig.CHANNEL_ID, signalingMetadata = Gson().fromJson(BuildConfig.SIGNALING_METADATA, Map::class.java), mediaOption = option, - listener = channelListener + listener = channelListener, ) mediaChannel!!.connect() }