Skip to content

Commit

Permalink
スポットライト設定のデフォルト値を sora-demo に合わせる
Browse files Browse the repository at this point in the history
  • Loading branch information
shino committed Mar 30, 2021
1 parent ec54b1c commit 2dab061
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SpotlightRoomSetupActivity : AppCompatActivity() {
private val videoEnabledOptions = listOf("有効", "無効")
private val audioEnabledOptions = listOf("有効", "無効")
private val roleOptions = listOf("SENDRECV", "SENDONLY", "RECVONLY")
private val legacyOptions = listOf("有効", "無効")
private val legacyOptions = listOf("無効", "有効")
private val videoBitRateOptions = listOf("200", "500", "700", "1200", "2500", "4000", "5000", "10000", "15000", "20000", "30000")
private val videoSizeOptions = listOf("VGA", "QQVGA", "QCIF", "HQVGA", "QVGA", "HD", "FHD")
private val fpsOptions = listOf("30", "10", "15", "20", "24", "60")
Expand Down Expand Up @@ -61,11 +61,9 @@ class SpotlightRoomSetupActivity : AppCompatActivity() {
fpsSelection.name.text = "フレームレート"
fpsSelection.spinner.setItems(fpsOptions)

legacySelection.spinner.selectedIndex = 1 // 無効
spotlightNumberSelection.spinner.selectedIndex = 2 // 3
videoCodecSelection.spinner.selectedIndex = 0 // VP8
videoBitRateSelection.spinner.selectedIndex = 3 // 1200
videoSizeSelection.spinner.selectedIndex = 6 // FHD
videoBitRateSelection.spinner.selectedIndex = 1 // 500
}

private fun startSpotlightChat() {
Expand Down

0 comments on commit 2dab061

Please sign in to comment.