diff --git a/documentation/features/render-video.mdx b/documentation/features/render-video.mdx index 3a01aba77..eda6ae483 100644 --- a/documentation/features/render-video.mdx +++ b/documentation/features/render-video.mdx @@ -7,7 +7,7 @@ nav: 3.6 It all comes down to this. All the setup so far has been done so that we can show live streaming video in our beautiful apps. -The React Native SDK provides a Component HmsView that renders the video on screen. We have to pass video trackId, scaleType and sink in this component. The prop scaleType can be selected from HMSVideoViewMode as required. When sink is true the video will be visible and when it is false video would be removed. It is ios only prop for android it is handled by the package itself. We can also add mirror a boolean prop as true to flip videos horizontally. Here is a code snippet explaining the way to link a videoTrack to HmsView. +The React Native SDK provides a Component HmsView that renders the video on screen. We have to pass video trackId, scaleType and sink in this component. The prop scaleType can be selected from HMSVideoViewMode as required. When sink is true the video will be visible and when it is false video would be removed. We can also add mirror a boolean prop as true to flip videos horizontally. Here is a code snippet explaining the way to link a videoTrack to HmsView. ```js import { HmsView, HMSVideoViewMode } from 'react-native-hms'; diff --git a/documentation/release-notes/release-notes.mdx b/documentation/release-notes/release-notes.mdx index d16ca5331..25e169a79 100644 --- a/documentation/release-notes/release-notes.mdx +++ b/documentation/release-notes/release-notes.mdx @@ -3,6 +3,21 @@ title: Release Notes nav: 4.1 --- +## 0.7.1 - 2021-10-27 +- Added mirror prop to HMSView to horizontally flip video tracks + +## 0.7.0 - 2021-10-22 +- Added audio level, peer & track object to HMSSpeaker +- Made package backwards compatible upto React Native version 0.63.0 +- Removed Xcode 13 requirement +- Updated Sample app + +## 0.6.0 - 2021-10-15 +- Added aspect ratio prop to HMSView +- Asking for Camera & Microphone permissions only when required +- Updated video tiles aspect ratio +- Added horizontal pagination in sample app to improve performance + ## 0.5.0 - 2021-09-29 - Added Role-based permissions