Skip to content

Commit a94a559

Browse files
authored
Add H265 as a supported codec (#742)
* Add H265 as a supported codec * Fix for e2ee options * changeset & spotless * Update libwebrtc to 137.7151.03
1 parent d4d2894 commit a94a559

6 files changed

Lines changed: 33 additions & 3 deletions

File tree

.changeset/chilled-zoos-report.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"client-sdk-android": minor
3+
---
4+
5+
Update libwebrtc to 137.7151.03

.changeset/wild-paws-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"client-sdk-android": minor
3+
---
4+
5+
Add H265 as a supported codec

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
webrtc = "137.7151.01"
2+
webrtc = "137.7151.03"
33

44
androidJainSipRi = "1.3.0-91"
55
androidx-activity = "1.9.0"

livekit-android-sdk/src/main/java/io/livekit/android/room/track/LocalVideoTrackOptions.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ enum class VideoCodec(val codecName: String) {
8989
VP8("vp8"),
9090
H264("h264"),
9191
VP9("vp9"),
92-
AV1("av1");
92+
AV1("av1"),
93+
H265("h265"),
94+
;
9395

9496
companion object {
9597
fun fromCodecName(codecName: String): VideoCodec {

sample-app-compose/src/main/java/io/livekit/android/composesample/SampleApplication.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023-2024 LiveKit, Inc.
2+
* Copyright 2023-2025 LiveKit, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@ class SampleApplication : Application() {
2424

2525
override fun onCreate() {
2626
super.onCreate()
27+
LiveKit.init(this)
2728
LiveKit.loggingLevel = LoggingLevel.VERBOSE
2829
// LiveKit.enableWebRTCLogging = true
2930
}

sample-app/src/main/java/io/livekit/android/sample/SampleApplication.kt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2025 LiveKit, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package io.livekit.android.sample
218

319
import android.app.Application
@@ -8,6 +24,7 @@ class SampleApplication : Application() {
824

925
override fun onCreate() {
1026
super.onCreate()
27+
LiveKit.init(this)
1128
LiveKit.loggingLevel = LoggingLevel.VERBOSE
1229
}
1330
}

0 commit comments

Comments
 (0)