Skip to content

Commit

Permalink
Merge branch 'main' into docs/cc-react
Browse files Browse the repository at this point in the history
  • Loading branch information
myandrienko authored Dec 19, 2024
2 parents 93c6326 + 0629e49 commit d87f1c4
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 13 deletions.
7 changes: 7 additions & 0 deletions packages/react-native-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

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

## [1.4.22](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.4.21...@stream-io/video-react-native-sdk-1.4.22) (2024-12-19)


### Bug Fixes

* **rn-video:** highlightedContainer prop typo ([#1627](https://github.com/GetStream/stream-video-js/issues/1627)) ([56d9137](https://github.com/GetStream/stream-video-js/commit/56d9137514701b9313a6ea9ee8ba2f6ff2f61209))

## [1.4.21](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.4.20...@stream-io/video-react-native-sdk-1.4.21) (2024-12-17)

### Dependency Updates
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stream-io/video-react-native-sdk",
"version": "1.4.21",
"version": "1.4.22",
"packageManager": "[email protected]",
"main": "dist/commonjs/index.js",
"module": "dist/module/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ export const ParticipantView = ({
const isScreenSharing = trackType === 'screenShareTrack';
const applySpeakerStyle = isSpeaking && !isScreenSharing;
const speakerStyle = applySpeakerStyle && [
styles.highligtedContainer,
styles.highlightedContainer,
{ borderColor: colors.buttonPrimary },
participantView.highligtedContainer,
participantView.highlightedContainer,
];

return (
Expand Down Expand Up @@ -180,7 +180,7 @@ const useStyles = () => {
justifyContent: 'space-between',
alignItems: 'center',
},
highligtedContainer: {
highlightedContainer: {
borderWidth: 2,
},
networkIndicatorOnly: { justifyContent: 'flex-end' },
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-sdk/src/theme/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export type Theme = {
participantView: {
container: ViewStyle;
footerContainer: ViewStyle;
highligtedContainer: ViewStyle;
highlightedContainer: ViewStyle;
};
videoRenderer: {
container: ViewStyle;
Expand Down Expand Up @@ -496,7 +496,7 @@ export const defaultTheme: Theme = {
participantView: {
container: {},
footerContainer: {},
highligtedContainer: {},
highlightedContainer: {},
},
reactionsPicker: {
reactionsPopup: {},
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react-native/dogfood/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stream-io/video-react-native-dogfood",
"version": "4.9.10",
"version": "4.9.11",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@

.str-video__participant-view {
transition: width 0.2s ease-in-out;
max-width: unset;
}
}
14 changes: 8 additions & 6 deletions sample-apps/react/egress-composite/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,16 @@ window.setupLayout = (configuration: ConfigurationValue) => {

// Uncomment and tweak this setup script
/**
(() => {
(async () => {
const { apiKey, token } = await fetch(
'https://pronto.getstream.io/api/auth/create-token?environment=pronto&user_id=egress',
).then((res) => res.json());
const v = document.createElement('script');
v.innerHTML = `window.setupLayout(${JSON.stringify({
call_id: 'yb-rec-test',
call_type: 'oliver',
api_key: 'par8f5s3gn2j',
token:
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiZWdyZXNzLXVzZXIiLCJpc3MiOiJodHRwczovL3Byb250by5nZXRzdHJlYW0uaW8iLCJzdWIiOiJ1c2VyL2VncmVzcy11c2VyIiwiaWF0IjoxNzE1NTk1ODMzLCJleHAiOjE3MTYyMDA2Mzh9.vEj47kFkliwqriammHXpypYdedWi8HDON222eOh0LWA',
call_id: 'recording-test',
call_type: 'default',
api_key: apiKey,
token,
layout: 'single-participant',
screenshare_layout: 'spotlight',
// ext_css: cssUrl,
Expand Down

0 comments on commit d87f1c4

Please sign in to comment.