Skip to content

Commit 4630f32

Browse files
committed
refactor: rename package to io.getstream.webrtc, update artifact versioning, and revert select files to Java
- Renamed package from org.webrtc to io.getstream.webrtc across all source files - Updated artifact version: - Release builds: use 'stream-renamed' suffix (e.g., 1.3.6-stream-renamed) - Snapshot builds: use '-stream-renamed-SNAPSHOT' for development tracking - Reverted the following files from Kotlin back to Java for compatibility and consistency: - ResolutionAdjustment - DefaultAlignedVideoEncoderFactory - SimulcastAlignedVideoEncoderFactory
1 parent 4d78ffe commit 4630f32

208 files changed

Lines changed: 1881 additions & 1611 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

buildSrc/src/main/kotlin/io/getstream/Configurations.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ object Configurations {
88
const val majorVersion = 1
99
const val minorVersion = 3
1010
const val patchVersion = 6
11-
const val versionName = "$majorVersion.$minorVersion.$patchVersion"
12-
const val snapshotVersionName = "$majorVersion.$minorVersion.${patchVersion + 1}-SNAPSHOT"
11+
const val versionName = "$majorVersion.$minorVersion.$patchVersion-stream-renamed"
12+
const val snapshotVersionName = "$majorVersion.$minorVersion.${patchVersion + 1}-stream-renamed-SNAPSHOT"
1313
const val artifactGroup = "io.getstream"
1414
}

stream-webrtc-android/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rootProject.extra.apply {
1818
apply(from ="${rootDir}/scripts/publish-module.gradle")
1919

2020
android {
21-
namespace = "org.webrtc"
21+
namespace = "io.getstream.webrtc"
2222
compileSdk = Configurations.compileSdk
2323

2424
defaultConfig {
@@ -44,7 +44,7 @@ android {
4444
baselineProfile {
4545
baselineProfileOutputDir = "."
4646
filter {
47-
include("org.webrtc.**")
47+
include("io.getstream.webrtc.**")
4848
}
4949
}
5050
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# defines consumer proguard rules for org.webrt
2-
-keep class org.webrtc.** { *; }
2+
-keep class io.getstream.webrtc.** { *; }

stream-webrtc-android/libs/arm64-v8a/libjingle_peerconnection_so.so renamed to stream-webrtc-android/libs/arm64-v8a/libstream_jingle_peerconnection_so.so

11 MB
Binary file not shown.

stream-webrtc-android/libs/armeabi-v7a/libjingle_peerconnection_so.so renamed to stream-webrtc-android/libs/armeabi-v7a/libstream_jingle_peerconnection_so.so

6.27 MB
Binary file not shown.

stream-webrtc-android/libs/x86/libjingle_peerconnection_so.so renamed to stream-webrtc-android/libs/x86/libstream_jingle_peerconnection_so.so

11.8 MB
Binary file not shown.

stream-webrtc-android/libs/x86_64/libjingle_peerconnection_so.so renamed to stream-webrtc-android/libs/x86_64/libstream_jingle_peerconnection_so.so

12.2 MB
Binary file not shown.

stream-webrtc-android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
limitations under the License.
1616
-->
1717
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18-
package="org.webrtc">
18+
package="io.getstream.webrtc">
1919

2020
<uses-permission android:name="android.permission.INTERNET" />
2121
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

stream-webrtc-android/src/main/java/org/webrtc/AddIceObserver.java renamed to stream-webrtc-android/src/main/java/io/getstream/webrtc/AddIceObserver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* be found in the AUTHORS file in the root of the source tree.
99
*/
1010

11-
package org.webrtc;
11+
package io.getstream.webrtc;
1212

1313
/** Interface to handle completion of addIceCandidate */
1414
public interface AddIceObserver {

stream-webrtc-android/src/main/java/org/webrtc/AndroidVideoDecoder.java renamed to stream-webrtc-android/src/main/java/io/getstream/webrtc/AndroidVideoDecoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* be found in the AUTHORS file in the root of the source tree.
99
*/
1010

11-
package org.webrtc;
11+
package io.getstream.webrtc;
1212

1313
import android.media.MediaCodec;
1414
import android.media.MediaCodecInfo.CodecCapabilities;
@@ -21,7 +21,7 @@
2121
import java.util.concurrent.BlockingDeque;
2222
import java.util.concurrent.LinkedBlockingDeque;
2323
import java.util.concurrent.TimeUnit;
24-
import org.webrtc.ThreadUtils.ThreadChecker;
24+
import io.getstream.webrtc.ThreadUtils.ThreadChecker;
2525

2626
/**
2727
* Android hardware video decoder.

0 commit comments

Comments
 (0)