-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/sora-android-sdk-2022.3.0'
- Loading branch information
Showing
19 changed files
with
336 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Thu Jan 20 16:14:02 JST 2022 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
samples/src/main/kotlin/jp/shiguredo/sora/sample/option/SoraFrameSize.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package jp.shiguredo.sora.sample.option | ||
|
||
import jp.shiguredo.sora.sdk.channel.option.SoraVideoOption | ||
|
||
class SoraFrameSize { | ||
companion object { | ||
/* | ||
* NOTE: Kotlin の Map は順序保証あり | ||
* | ||
* > Entries of the map are iterated in the order they were specified. | ||
* https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/map-of.html | ||
*/ | ||
val landscape = mapOf( | ||
"QCIF: 176x144" to SoraVideoOption.FrameSize.Landscape.QCIF, | ||
"HQVGA: 240x160" to SoraVideoOption.FrameSize.Landscape.HQVGA, | ||
"QVGA: 320x240" to SoraVideoOption.FrameSize.Landscape.QVGA, | ||
"VGA: 640x480" to SoraVideoOption.FrameSize.Landscape.VGA, | ||
"HD: 1280x720" to SoraVideoOption.FrameSize.Landscape.HD, | ||
"FHD: 1920x1080" to SoraVideoOption.FrameSize.Landscape.FHD, | ||
"3840x1920" to SoraVideoOption.FrameSize.Landscape.Res3840x1920, | ||
"UHD: 3840x2160" to SoraVideoOption.FrameSize.Landscape.UHD3840x2160, | ||
"4096x2160" to SoraVideoOption.FrameSize.Landscape.UHD4096x2160, | ||
) | ||
val portrait = mapOf( | ||
"QCIF: 144x176" to SoraVideoOption.FrameSize.Portrait.QCIF, | ||
"HQVGA: 160x240" to SoraVideoOption.FrameSize.Portrait.HQVGA, | ||
"QVGA: 240x320" to SoraVideoOption.FrameSize.Portrait.QVGA, | ||
"VGA: 480x640" to SoraVideoOption.FrameSize.Portrait.VGA, | ||
"HD: 720x1280" to SoraVideoOption.FrameSize.Portrait.HD, | ||
"FHD: 1080x1920" to SoraVideoOption.FrameSize.Portrait.FHD, | ||
"3840x1920" to SoraVideoOption.FrameSize.Portrait.Res1920x3840, | ||
"UHD: 3840x2160" to SoraVideoOption.FrameSize.Portrait.UHD2160x3840, | ||
"4096x2160" to SoraVideoOption.FrameSize.Portrait.UHD2160x4096, | ||
) | ||
|
||
val all = landscape + portrait | ||
} | ||
} |
Oops, something went wrong.