@stream-io/video-react-native-sdk 1.5.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +1 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/module/version.js +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/ios/StreamVideoReactNative.m +20 -2
- package/package.json +3 -3
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.6.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.5.2...@stream-io/video-react-native-sdk-1.6.0) (2025-01-02)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `@stream-io/video-client` updated to version `1.14.0`
|
|
10
|
+
* `@stream-io/video-react-bindings` updated to version `1.3.0`
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **closed captions:** Integration in the SDKs ([#1508](https://github.com/GetStream/stream-video-js/issues/1508)) ([bcb8589](https://github.com/GetStream/stream-video-js/commit/bcb85892c0dafcb03f9debf8d2fd361622224166))
|
|
15
|
+
|
|
16
|
+
## [1.5.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.5.1...@stream-io/video-react-native-sdk-1.5.2) (2024-12-31)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* iOS thermal state issue ([#1633](https://github.com/GetStream/stream-video-js/issues/1633)) ([3d2a4c4](https://github.com/GetStream/stream-video-js/commit/3d2a4c42a4de2eb0e8f43586c6d4b0aaed1d34e4))
|
|
22
|
+
|
|
5
23
|
## [1.5.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.5.0...@stream-io/video-react-native-sdk-1.5.1) (2024-12-20)
|
|
6
24
|
|
|
7
25
|
### Dependency Updates
|
package/README.md
CHANGED
|
@@ -136,6 +136,7 @@ Stream's video roadmap and changelog are available [here](https://github.com/Get
|
|
|
136
136
|
- [x] Speaking while muted
|
|
137
137
|
- [x] Demo app on play-store and app-store
|
|
138
138
|
- [x] Transcriptions
|
|
139
|
+
- [x] Closed Captions
|
|
139
140
|
- [x] Speaker management
|
|
140
141
|
- [x] PiP on iOS
|
|
141
142
|
- [x] Video filters
|
package/dist/commonjs/version.js
CHANGED
package/dist/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '1.
|
|
1
|
+
export const version = '1.6.0';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "1.
|
|
1
|
+
export declare const version = "1.6.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -56,7 +56,9 @@ RCT_EXPORT_METHOD(isLowPowerModeEnabled:(RCTPromiseResolveBlock)resolve rejecter
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
RCT_EXPORT_METHOD(currentThermalState:(RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {
|
|
59
|
-
|
|
59
|
+
NSInteger thermalState = [NSProcessInfo processInfo].thermalState;
|
|
60
|
+
NSString *thermalStateString = [self stringForThermalState:thermalState];
|
|
61
|
+
resolve(thermalStateString);
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
-(void)dealloc {
|
|
@@ -125,7 +127,23 @@ RCT_EXPORT_METHOD(currentThermalState:(RCTPromiseResolveBlock)resolve rejecter:(
|
|
|
125
127
|
return;
|
|
126
128
|
}
|
|
127
129
|
NSInteger thermalState = [NSProcessInfo processInfo].thermalState;
|
|
128
|
-
[self
|
|
130
|
+
NSString *thermalStateString = [self stringForThermalState:thermalState];
|
|
131
|
+
[self sendEventWithName:@"thermalStateDidChange" body:thermalStateString];
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
- (NSString *)stringForThermalState:(NSInteger)thermalState {
|
|
135
|
+
switch (thermalState) {
|
|
136
|
+
case NSProcessInfoThermalStateNominal:
|
|
137
|
+
return @"NOMINAL";
|
|
138
|
+
case NSProcessInfoThermalStateFair:
|
|
139
|
+
return @"FAIR";
|
|
140
|
+
case NSProcessInfoThermalStateSerious:
|
|
141
|
+
return @"SERIOUS";
|
|
142
|
+
case NSProcessInfoThermalStateCritical:
|
|
143
|
+
return @"CRITICAL";
|
|
144
|
+
default:
|
|
145
|
+
return @"UNSPECIFIED";
|
|
146
|
+
}
|
|
129
147
|
}
|
|
130
148
|
|
|
131
149
|
-(void)screenShareEventReceived:(NSString*)event {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stream-io/video-react-native-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"packageManager": "yarn@3.2.4",
|
|
5
5
|
"main": "dist/commonjs/index.js",
|
|
6
6
|
"module": "dist/module/index.js",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"!**/.*"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@stream-io/video-client": "1.
|
|
50
|
-
"@stream-io/video-react-bindings": "1.
|
|
49
|
+
"@stream-io/video-client": "1.14.0",
|
|
50
|
+
"@stream-io/video-react-bindings": "1.3.0",
|
|
51
51
|
"intl-pluralrules": "2.0.1",
|
|
52
52
|
"lodash.merge": "^4.6.2",
|
|
53
53
|
"react-native-url-polyfill": "1.3.0",
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '1.
|
|
1
|
+
export const version = '1.6.0';
|