Skip to content

Commit

Permalink
use aar files
Browse files Browse the repository at this point in the history
  • Loading branch information
kanat committed Oct 2, 2024
1 parent 141ea5f commit b0377d3
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 9 deletions.
5 changes: 4 additions & 1 deletion demo-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,12 @@ dependencies {
implementation(project(":stream-video-android-ui-compose"))
implementation(project(":stream-video-android-ui-xml"))
implementation(project(":stream-video-android-filters-video"))
// TODO implementation(project(":stream-video-android-noise-cancellation"))
compileOnly(project(":stream-video-android-previewdata"))

// Noise Cancellation
// TODO implementation(project(":stream-video-android-noise-cancellation"))
implementation(files("libs/stream-noise-cancellation-1.0.0.aar"))

// Stream Chat SDK
implementation(libs.stream.chat.compose)
implementation(libs.stream.chat.offline)
Expand Down
Binary file added demo-app/libs/stream-noise-cancellation-1.0.0.aar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import io.getstream.video.android.data.services.stream.StreamService
import io.getstream.video.android.datastore.delegate.StreamUserDataStore
import io.getstream.video.android.model.ApiKey
import io.getstream.video.android.model.User
import io.getstream.video.android.noise.cancellation.NoiseCancellation
import io.getstream.video.android.util.config.AppConfig
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
Expand Down Expand Up @@ -207,7 +208,7 @@ object StreamVideoInitHelper {
authData.token
},
appName = "Stream Video Demo App",
audioProcessing = /*NoiseCancellation(context)*/null,
audioProcessing = NoiseCancellation(context),
).build()
}
}
20 changes: 14 additions & 6 deletions stream-video-android-core/api/stream-video-android-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class io/getstream/video/android/core/Call {
public final fun end (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun fireEvent (Lorg/openapitools/client/models/VideoEvent;)V
public final fun get (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getAudioFilter ()Lio/getstream/video/android/core/call/audio/AudioFilter;
public final fun getAudioFilter ()Lio/getstream/video/android/core/call/audio/InputAudioFilter;
public final fun getCamera ()Lio/getstream/video/android/core/CameraManager;
public final fun getCid ()Ljava/lang/String;
public final fun getId ()Ljava/lang/String;
Expand All @@ -31,6 +31,7 @@ public final class io/getstream/video/android/core/Call {
public final fun hasCapability ([Lorg/openapitools/client/models/OwnCapability;)Z
public final fun initRenderer (Lio/getstream/webrtc/android/ui/VideoTextureViewRenderer;Ljava/lang/String;Lstream/video/sfu/models/TrackType;Lkotlin/jvm/functions/Function1;)V
public static synthetic fun initRenderer$default (Lio/getstream/video/android/core/Call;Lio/getstream/webrtc/android/ui/VideoTextureViewRenderer;Ljava/lang/String;Lstream/video/sfu/models/TrackType;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
public final fun isAudioProcessingEnabled ()Z
public final fun isLocalPin (Ljava/lang/String;)Z
public final fun isPinnedParticipant (Ljava/lang/String;)Z
public final fun isServerPin (Ljava/lang/String;)Z
Expand Down Expand Up @@ -60,7 +61,7 @@ public final class io/getstream/video/android/core/Call {
public final fun sendCustomEvent (Ljava/util/Map;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun sendReaction (Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun sendReaction$default (Lio/getstream/video/android/core/Call;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public final fun setAudioFilter (Lio/getstream/video/android/core/call/audio/AudioFilter;)V
public final fun setAudioFilter (Lio/getstream/video/android/core/call/audio/InputAudioFilter;)V
public final fun setVideoFilter (Lio/getstream/video/android/core/call/video/VideoFilter;)V
public final fun setVisibility (Ljava/lang/String;Lstream/video/sfu/models/TrackType;Z)V
public final fun startHLS (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand All @@ -74,6 +75,7 @@ public final class io/getstream/video/android/core/Call {
public final fun subscribeFor ([Ljava/lang/Class;Lio/getstream/video/android/core/events/VideoEventListener;)Lio/getstream/video/android/core/EventSubscription;
public final fun switchSfu (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun takeScreenshot (Lio/getstream/video/android/core/model/VideoTrack;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun toggleAudioProcessing ()Z
public final fun unpinForEveryone (Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun update (Ljava/util/Map;Lorg/openapitools/client/models/CallSettingsRequest;Lorg/threeten/bp/OffsetDateTime;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun update$default (Lio/getstream/video/android/core/Call;Ljava/util/Map;Lorg/openapitools/client/models/CallSettingsRequest;Lorg/threeten/bp/OffsetDateTime;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
Expand Down Expand Up @@ -823,7 +825,8 @@ public final class io/getstream/video/android/core/StreamVideoBuilder {
public fun <init> (Landroid/content/Context;Ljava/lang/String;Lio/getstream/video/android/core/GEO;Lio/getstream/video/android/model/User;Ljava/lang/String;Lkotlin/jvm/functions/Function2;Lio/getstream/video/android/core/logging/LoggingLevel;Lio/getstream/video/android/core/notifications/NotificationConfig;Lkotlin/jvm/functions/Function1;JZLjava/lang/String;ZLio/getstream/video/android/core/notifications/internal/service/CallServiceConfig;Ljava/lang/String;Lio/getstream/video/android/core/sounds/Sounds;ZLio/getstream/video/android/core/permission/android/StreamPermissionCheck;)V
public fun <init> (Landroid/content/Context;Ljava/lang/String;Lio/getstream/video/android/core/GEO;Lio/getstream/video/android/model/User;Ljava/lang/String;Lkotlin/jvm/functions/Function2;Lio/getstream/video/android/core/logging/LoggingLevel;Lio/getstream/video/android/core/notifications/NotificationConfig;Lkotlin/jvm/functions/Function1;JZLjava/lang/String;ZLio/getstream/video/android/core/notifications/internal/service/CallServiceConfig;Ljava/lang/String;Lio/getstream/video/android/core/sounds/Sounds;ZLio/getstream/video/android/core/permission/android/StreamPermissionCheck;I)V
public fun <init> (Landroid/content/Context;Ljava/lang/String;Lio/getstream/video/android/core/GEO;Lio/getstream/video/android/model/User;Ljava/lang/String;Lkotlin/jvm/functions/Function2;Lio/getstream/video/android/core/logging/LoggingLevel;Lio/getstream/video/android/core/notifications/NotificationConfig;Lkotlin/jvm/functions/Function1;JZLjava/lang/String;ZLio/getstream/video/android/core/notifications/internal/service/CallServiceConfig;Ljava/lang/String;Lio/getstream/video/android/core/sounds/Sounds;ZLio/getstream/video/android/core/permission/android/StreamPermissionCheck;ILjava/lang/String;)V
public synthetic fun <init> (Landroid/content/Context;Ljava/lang/String;Lio/getstream/video/android/core/GEO;Lio/getstream/video/android/model/User;Ljava/lang/String;Lkotlin/jvm/functions/Function2;Lio/getstream/video/android/core/logging/LoggingLevel;Lio/getstream/video/android/core/notifications/NotificationConfig;Lkotlin/jvm/functions/Function1;JZLjava/lang/String;ZLio/getstream/video/android/core/notifications/internal/service/CallServiceConfig;Ljava/lang/String;Lio/getstream/video/android/core/sounds/Sounds;ZLio/getstream/video/android/core/permission/android/StreamPermissionCheck;ILjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun <init> (Landroid/content/Context;Ljava/lang/String;Lio/getstream/video/android/core/GEO;Lio/getstream/video/android/model/User;Ljava/lang/String;Lkotlin/jvm/functions/Function2;Lio/getstream/video/android/core/logging/LoggingLevel;Lio/getstream/video/android/core/notifications/NotificationConfig;Lkotlin/jvm/functions/Function1;JZLjava/lang/String;ZLio/getstream/video/android/core/notifications/internal/service/CallServiceConfig;Ljava/lang/String;Lio/getstream/video/android/core/sounds/Sounds;ZLio/getstream/video/android/core/permission/android/StreamPermissionCheck;ILjava/lang/String;Lorg/webrtc/ManagedAudioProcessingFactory;)V
public synthetic fun <init> (Landroid/content/Context;Ljava/lang/String;Lio/getstream/video/android/core/GEO;Lio/getstream/video/android/model/User;Ljava/lang/String;Lkotlin/jvm/functions/Function2;Lio/getstream/video/android/core/logging/LoggingLevel;Lio/getstream/video/android/core/notifications/NotificationConfig;Lkotlin/jvm/functions/Function1;JZLjava/lang/String;ZLio/getstream/video/android/core/notifications/internal/service/CallServiceConfig;Ljava/lang/String;Lio/getstream/video/android/core/sounds/Sounds;ZLio/getstream/video/android/core/permission/android/StreamPermissionCheck;ILjava/lang/String;Lorg/webrtc/ManagedAudioProcessingFactory;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun build ()Lio/getstream/video/android/core/StreamVideo;
}

Expand Down Expand Up @@ -987,7 +990,10 @@ public final class io/getstream/video/android/core/call/TrackDimensions {
public fun toString ()Ljava/lang/String;
}

public abstract interface class io/getstream/video/android/core/call/audio/AudioFilter {
public abstract interface class io/getstream/video/android/core/call/audio/AudioFilter : io/getstream/video/android/core/call/audio/InputAudioFilter {
}

public abstract interface class io/getstream/video/android/core/call/audio/InputAudioFilter {
public abstract fun applyFilter (IIILjava/nio/ByteBuffer;)V
}

Expand Down Expand Up @@ -1026,9 +1032,10 @@ public final class io/getstream/video/android/core/call/connection/StreamPeerCon
}

public final class io/getstream/video/android/core/call/connection/StreamPeerConnectionFactory {
public fun <init> (Landroid/content/Context;I)V
public synthetic fun <init> (Landroid/content/Context;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun <init> (Landroid/content/Context;ILorg/webrtc/ManagedAudioProcessingFactory;)V
public synthetic fun <init> (Landroid/content/Context;ILorg/webrtc/ManagedAudioProcessingFactory;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getEglBase ()Lorg/webrtc/EglBase;
public final fun isAudioProcessingEnabled ()Z
public final fun makeAudioSource (Lorg/webrtc/MediaConstraints;)Lorg/webrtc/AudioSource;
public static synthetic fun makeAudioSource$default (Lio/getstream/video/android/core/call/connection/StreamPeerConnectionFactory;Lorg/webrtc/MediaConstraints;ILjava/lang/Object;)Lorg/webrtc/AudioSource;
public final fun makeAudioTrack (Lorg/webrtc/AudioSource;Ljava/lang/String;)Lorg/webrtc/AudioTrack;
Expand All @@ -1037,6 +1044,7 @@ public final class io/getstream/video/android/core/call/connection/StreamPeerCon
public final fun makeVideoTrack (Lorg/webrtc/VideoSource;Ljava/lang/String;)Lorg/webrtc/VideoTrack;
public final fun setAudioRecordDataCallback (Lkotlin/jvm/functions/Function4;)V
public final fun setAudioSampleCallback (Lkotlin/jvm/functions/Function1;)V
public final fun toggleAudioProcessing ()Z
}

public final class io/getstream/video/android/core/call/signal/socket/RTCEventMapper {
Expand Down
2 changes: 1 addition & 1 deletion stream-video-android-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ dependencies {
// webrtc
// api(libs.stream.webrtc)
// api(libs.stream.webrtc.ui)
api(files("../.webrtc/stream_libwebrtc_m118.6.aar"))
api(files("libs/stream_libwebrtc_m118.6.aar"))
api(libs.stream.webrtc.ui) {
exclude(group = "io.getstream", module = "stream-webrtc-android")
}
Expand Down
Binary file not shown.

0 comments on commit b0377d3

Please sign in to comment.