Skip to content

Commit

Permalink
Merge branch 'main' into update-be-on-new-release
Browse files Browse the repository at this point in the history
  • Loading branch information
guerinoni authored Nov 29, 2023
2 parents c736b4e + 6e81b55 commit ba6b96e
Show file tree
Hide file tree
Showing 36 changed files with 100 additions and 815 deletions.
11 changes: 11 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

## [0.5.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.4.10...@stream-io/video-client-0.5.0) (2023-11-29)


### ⚠ BREAKING CHANGES

* **react-native:** move to webrtc 118 (#1197)

### Features

* **react-native:** move to webrtc 118 ([#1197](https://github.com/GetStream/stream-video-js/issues/1197)) ([8cdbe11](https://github.com/GetStream/stream-video-js/commit/8cdbe11de069fcb6eae5643f5cef5c9612f6c805))

### [0.4.10](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-0.4.9...@stream-io/video-client-0.4.10) (2023-11-27)


Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stream-io/video-client",
"version": "0.4.10",
"version": "0.5.0",
"packageManager": "[email protected]",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/client/src/logger.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Logger, LogLevel } from './coordinator/connection/types';
import { isReactNative } from './helpers/platforms';

// log levels, sorted by verbosity
export const logLevels: Record<LogLevel, number> = Object.freeze({
Expand All @@ -19,6 +20,11 @@ export const logToConsole: Logger = (logLevel, message, ...args) => {
logMethod = console.error;
break;
case 'warn':
if (isReactNative()) {
message = `WARN: ${message}`;
logMethod = console.info;
break;
}
logMethod = console.warn;
break;
case 'info':
Expand Down
5 changes: 5 additions & 0 deletions packages/react-bindings/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

### [0.3.11](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-bindings-0.3.10...@stream-io/video-react-bindings-0.3.11) (2023-11-29)

### Dependency Updates

* `@stream-io/video-client` updated to version `0.5.0`
### [0.3.10](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-bindings-0.3.9...@stream-io/video-react-bindings-0.3.10) (2023-11-27)

### Dependency Updates
Expand Down
2 changes: 1 addition & 1 deletion packages/react-bindings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stream-io/video-react-bindings",
"version": "0.3.10",
"version": "0.3.11",
"packageManager": "[email protected]",
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
Expand Down
20 changes: 20 additions & 0 deletions packages/react-native-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

## [0.3.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.2.14...@stream-io/video-react-native-sdk-0.3.0) (2023-11-29)

### Dependency Updates

* `@stream-io/video-client` updated to version `0.5.0`
* `@stream-io/video-react-bindings` updated to version `0.3.11`

### ⚠ BREAKING CHANGES

* **react-native:** move to webrtc 118 (#1197)

### Features

* **react-native:** move to webrtc 118 ([#1197](https://github.com/GetStream/stream-video-js/issues/1197)) ([8cdbe11](https://github.com/GetStream/stream-video-js/commit/8cdbe11de069fcb6eae5643f5cef5c9612f6c805))


### Bug Fixes

* **react-native:** remove unused import ([388d5fc](https://github.com/GetStream/stream-video-js/commit/388d5fc41479190c34b1f5042303157b96149381))

### [0.2.14](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.2.13...@stream-io/video-react-native-sdk-0.2.14) (2023-11-27)

### Dependency Updates
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-sdk/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api 'io.github.webrtc-sdk:android:104.5112.10'
api 'org.jitsi:webrtc:118.+'
implementation project(':stream-io_react-native-webrtc')
implementation "androidx.annotation:annotation:1.4.0"
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
package com.streamvideo.reactnative

import com.streamvideo.reactnative.video.SimulcastVideoEncoderFactoryWrapper
import com.streamvideo.reactnative.video.WrappedVideoDecoderFactoryProxy
import com.oney.WebRTCModule.WebRTCModuleOptions
import kotlin.properties.Delegates


Expand All @@ -20,11 +16,9 @@ object StreamVideoReactNative {
}
}

@JvmStatic
@JvmStatic @Deprecated("No need to use setup() anymore")
fun setup() {
val options = WebRTCModuleOptions.getInstance()
options.videoEncoderFactory = SimulcastVideoEncoderFactoryWrapper(null, true, true)
options.videoDecoderFactory = WrappedVideoDecoderFactoryProxy()
// do nothing
}

@JvmStatic
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit ba6b96e

Please sign in to comment.