@100mslive/react-native-room-kit 1.0.6 → 1.0.7

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.
Files changed (277) hide show
  1. package/lib/commonjs/Icons/Recording/assets/recording-pause.png +0 -0
  2. package/lib/commonjs/Icons/Recording/assets/recording-pause@2x.png +0 -0
  3. package/lib/commonjs/Icons/Recording/assets/recording-pause@3x.png +0 -0
  4. package/lib/commonjs/Icons/Recording/index.js +1 -1
  5. package/lib/commonjs/Icons/Recording/index.js.map +1 -1
  6. package/lib/commonjs/components/AnimatedFooter.js +5 -3
  7. package/lib/commonjs/components/AnimatedFooter.js.map +1 -1
  8. package/lib/commonjs/components/AnimatedHLSFooter.js +4 -9
  9. package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -1
  10. package/lib/commonjs/components/AnimatedHeader.js +17 -5
  11. package/lib/commonjs/components/AnimatedHeader.js.map +1 -1
  12. package/lib/commonjs/components/BottomSheet.js +11 -5
  13. package/lib/commonjs/components/BottomSheet.js.map +1 -1
  14. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +2 -1
  15. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -1
  16. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +11 -10
  17. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -1
  18. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +5 -3
  19. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
  20. package/lib/commonjs/components/DisplayView.js +4 -11
  21. package/lib/commonjs/components/DisplayView.js.map +1 -1
  22. package/lib/commonjs/components/EndRoomModal.js +1 -2
  23. package/lib/commonjs/components/EndRoomModal.js.map +1 -1
  24. package/lib/commonjs/components/EndRoomModalContent.js +2 -1
  25. package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
  26. package/lib/commonjs/components/Footer.js +12 -18
  27. package/lib/commonjs/components/Footer.js.map +1 -1
  28. package/lib/commonjs/components/GridView.js +31 -1
  29. package/lib/commonjs/components/GridView.js.map +1 -1
  30. package/lib/commonjs/components/HLSFooter.js +3 -1
  31. package/lib/commonjs/components/HLSFooter.js.map +1 -1
  32. package/lib/commonjs/components/HLSView.js +1 -1
  33. package/lib/commonjs/components/HLSView.js.map +1 -1
  34. package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js +2 -0
  35. package/lib/commonjs/components/HMSKeyboardAvoidingView.android.js.map +1 -1
  36. package/lib/commonjs/components/HMSKeyboardAvoidingView.js +3 -1
  37. package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -1
  38. package/lib/commonjs/components/HMSLiveIndicator.js +6 -57
  39. package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -1
  40. package/lib/commonjs/components/HMSLiveViewerCount.js +78 -0
  41. package/lib/commonjs/components/HMSLiveViewerCount.js.map +1 -0
  42. package/lib/commonjs/components/HMSOverlayChatView.js +11 -2
  43. package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
  44. package/lib/commonjs/components/HMSPreviewEditName.js +6 -1
  45. package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -1
  46. package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js +2 -1
  47. package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
  48. package/lib/commonjs/components/HMSRecordingIndicator.js +14 -4
  49. package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
  50. package/lib/commonjs/components/HMSRoomOptions.js +3 -6
  51. package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
  52. package/lib/commonjs/components/Header.js +11 -3
  53. package/lib/commonjs/components/Header.js.map +1 -1
  54. package/lib/commonjs/components/LeaveRoomBottomSheet.js +4 -7
  55. package/lib/commonjs/components/LeaveRoomBottomSheet.js.map +1 -1
  56. package/lib/commonjs/components/Meeting.js +2 -13
  57. package/lib/commonjs/components/Meeting.js.map +1 -1
  58. package/lib/commonjs/components/MeetingScreenContent.js +46 -48
  59. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
  60. package/lib/commonjs/components/MiniView.js.map +1 -1
  61. package/lib/commonjs/components/OverlayedViews.js +6 -2
  62. package/lib/commonjs/components/OverlayedViews.js.map +1 -1
  63. package/lib/commonjs/components/PeerSettingsModalContent.js +2 -1
  64. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
  65. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +2 -1
  66. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  67. package/lib/commonjs/components/PressableIcon.js +6 -2
  68. package/lib/commonjs/components/PressableIcon.js.map +1 -1
  69. package/lib/commonjs/components/RoomSettingsModalContent.js +25 -9
  70. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
  71. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +1 -1
  72. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  73. package/lib/commonjs/components/WebrtcView.js +37 -2
  74. package/lib/commonjs/components/WebrtcView.js.map +1 -1
  75. package/lib/commonjs/hooks-util-selectors.js +2 -1
  76. package/lib/commonjs/hooks-util-selectors.js.map +1 -1
  77. package/lib/commonjs/hooks-util.js +59 -29
  78. package/lib/commonjs/hooks-util.js.map +1 -1
  79. package/lib/commonjs/redux/actionTypes.js +3 -1
  80. package/lib/commonjs/redux/actionTypes.js.map +1 -1
  81. package/lib/commonjs/redux/actions/index.js +8 -1
  82. package/lib/commonjs/redux/actions/index.js.map +1 -1
  83. package/lib/commonjs/redux/reducers/appState.js +9 -1
  84. package/lib/commonjs/redux/reducers/appState.js.map +1 -1
  85. package/lib/commonjs/utils/types.js +3 -3
  86. package/lib/commonjs/utils/types.js.map +1 -1
  87. package/lib/module/Icons/Recording/assets/recording-pause.png +0 -0
  88. package/lib/module/Icons/Recording/assets/recording-pause@2x.png +0 -0
  89. package/lib/module/Icons/Recording/assets/recording-pause@3x.png +0 -0
  90. package/lib/module/Icons/Recording/index.js +1 -1
  91. package/lib/module/Icons/Recording/index.js.map +1 -1
  92. package/lib/module/components/AnimatedFooter.js +5 -3
  93. package/lib/module/components/AnimatedFooter.js.map +1 -1
  94. package/lib/module/components/AnimatedHLSFooter.js +5 -10
  95. package/lib/module/components/AnimatedHLSFooter.js.map +1 -1
  96. package/lib/module/components/AnimatedHeader.js +18 -6
  97. package/lib/module/components/AnimatedHeader.js.map +1 -1
  98. package/lib/module/components/BottomSheet.js +12 -6
  99. package/lib/module/components/BottomSheet.js.map +1 -1
  100. package/lib/module/components/Chat/ChatFilterBottomSheetView.js +2 -1
  101. package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -1
  102. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +13 -12
  103. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -1
  104. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +6 -4
  105. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
  106. package/lib/module/components/DisplayView.js +5 -12
  107. package/lib/module/components/DisplayView.js.map +1 -1
  108. package/lib/module/components/EndRoomModal.js +1 -2
  109. package/lib/module/components/EndRoomModal.js.map +1 -1
  110. package/lib/module/components/EndRoomModalContent.js +2 -1
  111. package/lib/module/components/EndRoomModalContent.js.map +1 -1
  112. package/lib/module/components/Footer.js +12 -18
  113. package/lib/module/components/Footer.js.map +1 -1
  114. package/lib/module/components/GridView.js +32 -2
  115. package/lib/module/components/GridView.js.map +1 -1
  116. package/lib/module/components/HLSFooter.js +3 -1
  117. package/lib/module/components/HLSFooter.js.map +1 -1
  118. package/lib/module/components/HLSView.js +2 -2
  119. package/lib/module/components/HLSView.js.map +1 -1
  120. package/lib/module/components/HMSKeyboardAvoidingView.android.js +2 -3
  121. package/lib/module/components/HMSKeyboardAvoidingView.android.js.map +1 -1
  122. package/lib/module/components/HMSKeyboardAvoidingView.js +3 -1
  123. package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -1
  124. package/lib/module/components/HMSLiveIndicator.js +9 -60
  125. package/lib/module/components/HMSLiveIndicator.js.map +1 -1
  126. package/lib/module/components/HMSLiveViewerCount.js +70 -0
  127. package/lib/module/components/HMSLiveViewerCount.js.map +1 -0
  128. package/lib/module/components/HMSOverlayChatView.js +11 -2
  129. package/lib/module/components/HMSOverlayChatView.js.map +1 -1
  130. package/lib/module/components/HMSPreviewEditName.js +6 -1
  131. package/lib/module/components/HMSPreviewEditName.js.map +1 -1
  132. package/lib/module/components/HMSPreviewHLSLiveIndicator.js +2 -1
  133. package/lib/module/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
  134. package/lib/module/components/HMSRecordingIndicator.js +14 -4
  135. package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
  136. package/lib/module/components/HMSRoomOptions.js +3 -6
  137. package/lib/module/components/HMSRoomOptions.js.map +1 -1
  138. package/lib/module/components/Header.js +10 -3
  139. package/lib/module/components/Header.js.map +1 -1
  140. package/lib/module/components/LeaveRoomBottomSheet.js +4 -7
  141. package/lib/module/components/LeaveRoomBottomSheet.js.map +1 -1
  142. package/lib/module/components/Meeting.js +3 -14
  143. package/lib/module/components/Meeting.js.map +1 -1
  144. package/lib/module/components/MeetingScreenContent.js +51 -53
  145. package/lib/module/components/MeetingScreenContent.js.map +1 -1
  146. package/lib/module/components/MiniView.js.map +1 -1
  147. package/lib/module/components/OverlayedViews.js +6 -2
  148. package/lib/module/components/OverlayedViews.js.map +1 -1
  149. package/lib/module/components/PeerSettingsModalContent.js +2 -1
  150. package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
  151. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +2 -1
  152. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  153. package/lib/module/components/PressableIcon.js +6 -2
  154. package/lib/module/components/PressableIcon.js.map +1 -1
  155. package/lib/module/components/RoomSettingsModalContent.js +26 -10
  156. package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
  157. package/lib/module/components/RoomSettingsModalDebugModeContent.js +2 -2
  158. package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  159. package/lib/module/components/WebrtcView.js +37 -2
  160. package/lib/module/components/WebrtcView.js.map +1 -1
  161. package/lib/module/hooks-util-selectors.js +2 -1
  162. package/lib/module/hooks-util-selectors.js.map +1 -1
  163. package/lib/module/hooks-util.js +58 -29
  164. package/lib/module/hooks-util.js.map +1 -1
  165. package/lib/module/redux/actionTypes.js +3 -1
  166. package/lib/module/redux/actionTypes.js.map +1 -1
  167. package/lib/module/redux/actions/index.js +6 -0
  168. package/lib/module/redux/actions/index.js.map +1 -1
  169. package/lib/module/redux/reducers/appState.js +9 -1
  170. package/lib/module/redux/reducers/appState.js.map +1 -1
  171. package/lib/module/utils/types.js +2 -2
  172. package/lib/module/utils/types.js.map +1 -1
  173. package/lib/typescript/Icons/Recording/index.d.ts +1 -1
  174. package/lib/typescript/Icons/Recording/index.d.ts.map +1 -1
  175. package/lib/typescript/components/AnimatedFooter.d.ts.map +1 -1
  176. package/lib/typescript/components/AnimatedHLSFooter.d.ts.map +1 -1
  177. package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -1
  178. package/lib/typescript/components/BottomSheet.d.ts +1 -0
  179. package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
  180. package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts.map +1 -1
  181. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -1
  182. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -1
  183. package/lib/typescript/components/DisplayView.d.ts.map +1 -1
  184. package/lib/typescript/components/EndRoomModal.d.ts.map +1 -1
  185. package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
  186. package/lib/typescript/components/Footer.d.ts +1 -1
  187. package/lib/typescript/components/Footer.d.ts.map +1 -1
  188. package/lib/typescript/components/GridView.d.ts.map +1 -1
  189. package/lib/typescript/components/HLSView.d.ts.map +1 -1
  190. package/lib/typescript/components/HMSKeyboardAvoidingView.android.d.ts.map +1 -1
  191. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +2 -1
  192. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -1
  193. package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -1
  194. package/lib/typescript/components/HMSLiveViewerCount.d.ts +3 -0
  195. package/lib/typescript/components/HMSLiveViewerCount.d.ts.map +1 -0
  196. package/lib/typescript/components/HMSOverlayChatView.d.ts +5 -1
  197. package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -1
  198. package/lib/typescript/components/HMSPreviewEditName.d.ts.map +1 -1
  199. package/lib/typescript/components/HMSPreviewHLSLiveIndicator.d.ts.map +1 -1
  200. package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
  201. package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -1
  202. package/lib/typescript/components/Header.d.ts +1 -0
  203. package/lib/typescript/components/Header.d.ts.map +1 -1
  204. package/lib/typescript/components/LeaveRoomBottomSheet.d.ts.map +1 -1
  205. package/lib/typescript/components/Meeting.d.ts.map +1 -1
  206. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
  207. package/lib/typescript/components/OverlayedViews.d.ts +4 -1
  208. package/lib/typescript/components/OverlayedViews.d.ts.map +1 -1
  209. package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
  210. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
  211. package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
  212. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
  213. package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
  214. package/lib/typescript/components/WebrtcView.d.ts +2 -0
  215. package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
  216. package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
  217. package/lib/typescript/hooks-util.d.ts +4 -0
  218. package/lib/typescript/hooks-util.d.ts.map +1 -1
  219. package/lib/typescript/redux/actionTypes.d.ts +1 -0
  220. package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
  221. package/lib/typescript/redux/actions/index.d.ts +6 -0
  222. package/lib/typescript/redux/actions/index.d.ts.map +1 -1
  223. package/lib/typescript/redux/index.d.ts +1 -0
  224. package/lib/typescript/redux/index.d.ts.map +1 -1
  225. package/lib/typescript/redux/reducers/appState.d.ts +1 -0
  226. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
  227. package/lib/typescript/redux/reducers/index.d.ts +1 -0
  228. package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
  229. package/lib/typescript/utils/types.d.ts +1 -0
  230. package/lib/typescript/utils/types.d.ts.map +1 -1
  231. package/package.json +179 -179
  232. package/src/HMSRoomSetup.tsx +1 -1
  233. package/src/Icons/Recording/assets/recording-pause.png +0 -0
  234. package/src/Icons/Recording/assets/recording-pause@2x.png +0 -0
  235. package/src/Icons/Recording/assets/recording-pause@3x.png +0 -0
  236. package/src/Icons/Recording/index.tsx +3 -1
  237. package/src/components/AnimatedFooter.tsx +9 -3
  238. package/src/components/AnimatedHLSFooter.tsx +8 -17
  239. package/src/components/AnimatedHeader.tsx +16 -5
  240. package/src/components/BottomSheet.tsx +11 -5
  241. package/src/components/Chat/ChatFilterBottomSheetView.tsx +1 -0
  242. package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +12 -7
  243. package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +5 -4
  244. package/src/components/DisplayView.tsx +4 -13
  245. package/src/components/EndRoomModal.tsx +0 -1
  246. package/src/components/EndRoomModalContent.tsx +2 -1
  247. package/src/components/Footer.tsx +18 -23
  248. package/src/components/GridView.tsx +31 -4
  249. package/src/components/HLSFooter.tsx +1 -1
  250. package/src/components/HLSView.tsx +2 -1
  251. package/src/components/HMSKeyboardAvoidingView.android.tsx +1 -5
  252. package/src/components/HMSKeyboardAvoidingView.tsx +6 -3
  253. package/src/components/HMSLiveIndicator.tsx +8 -73
  254. package/src/components/HMSLiveViewerCount.tsx +90 -0
  255. package/src/components/HMSOverlayChatView.tsx +18 -2
  256. package/src/components/HMSPreviewEditName.tsx +10 -1
  257. package/src/components/HMSPreviewHLSLiveIndicator.tsx +2 -1
  258. package/src/components/HMSRecordingIndicator.tsx +20 -3
  259. package/src/components/HMSRoomOptions.tsx +0 -3
  260. package/src/components/Header.tsx +14 -3
  261. package/src/components/LeaveRoomBottomSheet.tsx +3 -6
  262. package/src/components/Meeting.tsx +2 -19
  263. package/src/components/MeetingScreenContent.tsx +67 -64
  264. package/src/components/MiniView.tsx +4 -4
  265. package/src/components/OverlayedViews.tsx +6 -3
  266. package/src/components/PeerSettingsModalContent.tsx +2 -1
  267. package/src/components/PeerVideoTile/PeerVideoTileView.tsx +2 -1
  268. package/src/components/PressableIcon.tsx +22 -17
  269. package/src/components/RoomSettingsModalContent.tsx +22 -6
  270. package/src/components/RoomSettingsModalDebugModeContent.tsx +2 -1
  271. package/src/components/WebrtcView.tsx +59 -22
  272. package/src/hooks-util-selectors.tsx +2 -1
  273. package/src/hooks-util.ts +61 -44
  274. package/src/redux/actionTypes.ts +3 -0
  275. package/src/redux/actions/index.ts +5 -0
  276. package/src/redux/reducers/appState.ts +8 -0
  277. package/src/utils/types.ts +12 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA2B,CAAC;AAE9C,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,OAAO,KAAK,CAAC,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/redux/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA2B,CAAC;AAE9C,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,OAAO,KAAK,CAAC,QAAQ,CAAC"}
@@ -43,6 +43,7 @@ type IntialStateType = {
43
43
  chatFilterSheetVisible: boolean;
44
44
  handleBackButton: boolean;
45
45
  autoEnterPipMode: boolean;
46
+ editUsernameDisabled: boolean;
46
47
  };
47
48
  declare const appReducer: (state: IntialStateType | undefined, action: ActionType) => IntialStateType;
48
49
  export default appReducer;
@@ -1 +1 @@
1
- {"version":3,"file":"appState.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/appState.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAA2B,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,EACP,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd,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AAG,IAAI,CAAC;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,qBAAqB,EAAE,IAAI,GAAG,aAAa,CAAC;IAC5C,kBAAkB,EAAE,IAAI,GAAG,aAAa,CAAC;IACzC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,2BAA2B,EAAE,OAAO,CAAC;IACrC,uBAAuB,EAAE,IAAI,GAAG,aAAa,CAAC;IAC9C,yBAAyB,EAAE,aAAa,EAAE,CAAC;IAC3C,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,wBAAwB,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/D,sBAAsB,EAAE,OAAO,CAAC;IAChC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,oBAAoB,EAAE,OAAO,CAAC;CAC/B,CAAC;AAkCF,QAAA,MAAM,UAAU,+CAEN,UAAU,KACjB,eA6NF,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -35,6 +35,7 @@ declare const _default: import("redux").Reducer<import("redux").CombinedState<{
35
35
  chatFilterSheetVisible: boolean;
36
36
  handleBackButton: boolean;
37
37
  autoEnterPipMode: boolean;
38
+ editUsernameDisabled: boolean;
38
39
  };
39
40
  user: {
40
41
  userName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAMG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/redux/reducers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAMG"}
@@ -112,4 +112,5 @@ export declare enum OnLeaveReason {
112
112
  PIP = "pip"
113
113
  }
114
114
  export declare const TerminalExceptionCodes: (string | number)[];
115
+ export declare const HeaderFooterHideDelayMs = 5000;
115
116
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;CAEtB,CAAC;AAEF,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,cAAc,mBAAmB;IACjC,IAAI,SAAS;IACb,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,KAAK;CACb;AAED,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,KAAK;CACb;AAED,oBAAY,UAAU;IACpB,kBAAkB,qBAAqB;IACvC,mBAAmB,sBAAsB;IACzC,iBAAiB,oBAAoB;IACrC,WAAW,eAAe;IAC1B,YAAY,qBAAqB;IACjC,iBAAiB,yBAAyB;IAC1C,WAAW,eAAe;IAC1B,aAAa,iBAAiB;IAC9B,iBAAiB,oBAAoB;IACrC,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,SAAS,aAAa;IACtB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,UAAU,cAAc;IACxB,UAAU,cAAc;IACxB,QAAQ,YAAY;IACpB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,qBAAqB,0BAA0B;IAC/C,iBAAiB,oBAAoB;IACr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S;CACd;AAED,oBAAY,QAAQ;IAClB,aAAa,KAAK;IAClB,MAAM,IAAI;IACV,QAAQ,IAAI;CACb;AAED,oBAAY,SAAS;IACnB,QAAQ,aAAa;CACtB;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;AAE7D,eAAO,MAAM,uBAAuB;;;GAMnC,CAAC;AAEF,oBAAY,iBAAiB;IAC3B,6BAA6B,IAAI;IACjC,WAAW,IAAI;IACf,YAAY,IAAI;CACjB;AAED,eAAO,MAAM,mBAAmB,mCAAoC,CAAC;AAErE,eAAO,MAAM,mBAAmB;;CAAgC,CAAC;AAEjE,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAE5C,oBAAY,aAAa;IACvB;;OAEG;IACH,KAAK,UAAU;IACf;;OAEG;IACH,WAAW,gBAAgB;IAC3B;;OAEG;IACH,QAAQ,eAAe;IACvB;;OAEG;IACH,cAAc,mBAAmB;IACjC;;OAEG;IACH,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,sBAAsB,qBAOlC,CAAC;AAEF,eAAO,MAAM,uBAAuB,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,181 +1,181 @@
1
1
  {
2
- "name": "@100mslive/react-native-room-kit",
3
- "version": "1.0.6",
4
- "description": "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.",
5
- "main": "lib/commonjs/index",
6
- "module": "lib/module/index",
7
- "types": "lib/typescript/index.d.ts",
8
- "react-native": "src/index",
9
- "source": "src/index",
10
- "files": [
11
- "src",
12
- "lib",
13
- "android",
14
- "ios",
15
- "cpp",
16
- "*.podspec",
17
- "!lib/typescript/example",
18
- "!ios/build",
19
- "!android/build",
20
- "!android/gradle",
21
- "!android/gradlew",
22
- "!android/gradlew.bat",
23
- "!android/local.properties",
24
- "!**/__tests__",
25
- "!**/__fixtures__",
26
- "!**/__mocks__",
27
- "!**/.*"
28
- ],
29
- "scripts": {
30
- "test": "jest",
31
- "typecheck": "tsc --noEmit",
32
- "lint": "eslint \"**/*.{js,ts,tsx}\"",
33
- "prepack": "bob build",
34
- "release": "release-it",
35
- "example": "yarn --cwd example",
36
- "bootstrap": "yarn example && yarn install"
37
- },
38
- "keywords": [
39
- "react-native",
40
- "ios",
41
- "android"
42
- ],
43
- "repository": "https://github.com/100mslive/react-native-hms",
44
- "author": "Yogesh <yogesh@100ms.live> (https://www.100ms.live/), Jatin <jatin.nagar@100ms.live> (https://www.100ms.live/)",
45
- "license": "MIT",
46
- "bugs": {
47
- "url": "https://github.com/100mslive/react-native-hms/issues"
48
- },
49
- "homepage": "https://github.com/100mslive/react-native-hms#readme",
50
- "publishConfig": {
51
- "registry": "https://registry.npmjs.org/"
52
- },
53
- "dependencies": {
54
- "@100mslive/types-prebuilt": "^0.12.0",
55
- "@react-navigation/native": "^6.0.8",
56
- "react-redux": "^7.2.4",
57
- "redux": "^4.1.0"
58
- },
59
- "devDependencies": {
60
- "@commitlint/config-conventional": "^17.0.2",
61
- "@evilmartians/lefthook": "^1.2.2",
62
- "@react-native-community/eslint-config": "^3.0.2",
63
- "@release-it/conventional-changelog": "^5.0.0",
64
- "@types/jest": "^28.1.2",
65
- "@types/react": "~17.0.21",
66
- "@types/react-native": "^0.64.5",
67
- "commitlint": "^17.0.2",
68
- "del-cli": "^5.0.0",
69
- "eslint": "^8.4.1",
70
- "eslint-config-prettier": "^8.5.0",
71
- "eslint-plugin-prettier": "^4.0.0",
72
- "jest": "^28.1.1",
73
- "pod-install": "^0.1.0",
74
- "prettier": "^2.0.5",
75
- "react": "17.0.1",
76
- "react-native": "0.64.4",
77
- "react-native-builder-bob": "^0.21.2",
78
- "release-it": "^15.0.0",
79
- "typescript": "^5.0.2"
80
- },
81
- "peerDependencies": {
82
- "@100mslive/react-native-hms": "1.9.5",
83
- "@react-native-community/blur": "^4.3.2",
84
- "@react-native-masked-view/masked-view": "^0.2.9",
85
- "@shopify/flash-list": "^1.4.3",
86
- "lottie-react-native": "5.1.6",
87
- "react": "*",
88
- "react-native": "*",
89
- "react-native-gesture-handler": "^2.12.1",
90
- "react-native-linear-gradient": "^2.7.3",
91
- "react-native-modal": "^12.1.0",
92
- "react-native-reanimated": ">=2.17.0",
93
- "react-native-safe-area-context": "^3.3.0",
94
- "react-native-simple-toast": "^1.1.3"
95
- },
96
- "resolutions": {
97
- "@types/react": "17.0.21"
98
- },
99
- "engines": {
100
- "node": ">= 16.0.0"
101
- },
102
- "packageManager": "^yarn@1.22.15",
103
- "jest": {
104
- "preset": "react-native",
105
- "modulePathIgnorePatterns": [
106
- "<rootDir>/example/node_modules",
107
- "<rootDir>/lib/"
108
- ]
109
- },
110
- "commitlint": {
111
- "extends": [
112
- "@commitlint/config-conventional"
113
- ]
114
- },
115
- "release-it": {
116
- "git": {
117
- "commitMessage": "chore: release ${version}",
118
- "tagName": "v${version}"
119
- },
120
- "npm": {
121
- "publish": true
122
- },
123
- "github": {
124
- "release": true
125
- },
126
- "plugins": {
127
- "@release-it/conventional-changelog": {
128
- "preset": "angular"
129
- }
130
- }
131
- },
132
- "eslintConfig": {
133
- "root": true,
134
- "extends": [
135
- "@react-native-community",
136
- "prettier"
137
- ],
138
- "rules": {
139
- "prettier/prettier": [
140
- "error",
141
- {
142
- "quoteProps": "consistent",
143
- "singleQuote": true,
144
- "tabWidth": 2,
145
- "trailingComma": "es5",
146
- "useTabs": false
147
- }
148
- ]
149
- }
150
- },
151
- "eslintIgnore": [
152
- "node_modules/",
153
- "lib/"
154
- ],
155
- "prettier": {
156
- "quoteProps": "consistent",
157
- "singleQuote": true,
158
- "tabWidth": 2,
159
- "trailingComma": "es5",
160
- "useTabs": false
161
- },
162
- "react-native-builder-bob": {
163
- "source": "src",
164
- "output": "lib",
165
- "targets": [
166
- "commonjs",
167
- "module",
168
- [
169
- "typescript",
170
- {
171
- "project": "tsconfig.build.json",
172
- "tsc": "node_modules/typescript/bin/tsc"
173
- }
174
- ]
175
- ],
176
- "main": "lib/commonjs/index.js",
177
- "module": "lib/module/index.js",
178
- "react-native": "src/index.ts",
179
- "types": "lib/typescript/index.d.ts"
180
- }
2
+ "name": "@100mslive/react-native-room-kit",
3
+ "version": "1.0.7",
4
+ "description": "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.",
5
+ "main": "lib/commonjs/index",
6
+ "module": "lib/module/index",
7
+ "types": "lib/typescript/index.d.ts",
8
+ "react-native": "src/index",
9
+ "source": "src/index",
10
+ "files": [
11
+ "src",
12
+ "lib",
13
+ "android",
14
+ "ios",
15
+ "cpp",
16
+ "*.podspec",
17
+ "!lib/typescript/example",
18
+ "!ios/build",
19
+ "!android/build",
20
+ "!android/gradle",
21
+ "!android/gradlew",
22
+ "!android/gradlew.bat",
23
+ "!android/local.properties",
24
+ "!**/__tests__",
25
+ "!**/__fixtures__",
26
+ "!**/__mocks__",
27
+ "!**/.*"
28
+ ],
29
+ "scripts": {
30
+ "test": "jest",
31
+ "typecheck": "tsc --noEmit",
32
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
33
+ "prepack": "bob build",
34
+ "release": "release-it",
35
+ "example": "yarn --cwd example",
36
+ "bootstrap": "yarn example && yarn install"
37
+ },
38
+ "keywords": [
39
+ "react-native",
40
+ "ios",
41
+ "android"
42
+ ],
43
+ "repository": "https://github.com/100mslive/react-native-hms",
44
+ "author": "Yogesh <yogesh@100ms.live> (https://www.100ms.live/), Jatin <jatin.nagar@100ms.live> (https://www.100ms.live/)",
45
+ "license": "MIT",
46
+ "bugs": {
47
+ "url": "https://github.com/100mslive/react-native-hms/issues"
48
+ },
49
+ "homepage": "https://github.com/100mslive/react-native-hms#readme",
50
+ "publishConfig": {
51
+ "registry": "https://registry.npmjs.org/"
52
+ },
53
+ "dependencies": {
54
+ "@100mslive/types-prebuilt": "^0.12.0",
55
+ "@react-navigation/native": "^6.0.8",
56
+ "react-redux": "^7.2.4",
57
+ "redux": "^4.1.0"
58
+ },
59
+ "devDependencies": {
60
+ "@commitlint/config-conventional": "^17.0.2",
61
+ "@evilmartians/lefthook": "^1.2.2",
62
+ "@react-native-community/eslint-config": "^3.0.2",
63
+ "@release-it/conventional-changelog": "^5.0.0",
64
+ "@types/jest": "^28.1.2",
65
+ "@types/react": "~17.0.21",
66
+ "@types/react-native": "^0.64.5",
67
+ "commitlint": "^17.0.2",
68
+ "del-cli": "^5.0.0",
69
+ "eslint": "^8.4.1",
70
+ "eslint-config-prettier": "^8.5.0",
71
+ "eslint-plugin-prettier": "^4.0.0",
72
+ "jest": "^28.1.1",
73
+ "pod-install": "^0.1.0",
74
+ "prettier": "^2.0.5",
75
+ "react": "17.0.1",
76
+ "react-native": "0.64.4",
77
+ "react-native-builder-bob": "^0.21.2",
78
+ "release-it": "^15.0.0",
79
+ "typescript": "^5.0.2"
80
+ },
81
+ "peerDependencies": {
82
+ "@100mslive/react-native-hms": "1.9.6",
83
+ "@react-native-community/blur": "^4.3.2",
84
+ "@react-native-masked-view/masked-view": "^0.2.9",
85
+ "@shopify/flash-list": "^1.4.3",
86
+ "lottie-react-native": "5.1.6",
87
+ "react": "*",
88
+ "react-native": "*",
89
+ "react-native-gesture-handler": "^2.12.1",
90
+ "react-native-linear-gradient": "^2.7.3",
91
+ "react-native-modal": "^12.1.0",
92
+ "react-native-reanimated": ">=2.17.0",
93
+ "react-native-safe-area-context": "^3.3.0",
94
+ "react-native-simple-toast": "^1.1.3"
95
+ },
96
+ "resolutions": {
97
+ "@types/react": "17.0.21"
98
+ },
99
+ "engines": {
100
+ "node": ">= 16.0.0"
101
+ },
102
+ "packageManager": "^yarn@1.22.15",
103
+ "jest": {
104
+ "preset": "react-native",
105
+ "modulePathIgnorePatterns": [
106
+ "<rootDir>/example/node_modules",
107
+ "<rootDir>/lib/"
108
+ ]
109
+ },
110
+ "commitlint": {
111
+ "extends": [
112
+ "@commitlint/config-conventional"
113
+ ]
114
+ },
115
+ "release-it": {
116
+ "git": {
117
+ "commitMessage": "chore: release ${version}",
118
+ "tagName": "v${version}"
119
+ },
120
+ "npm": {
121
+ "publish": true
122
+ },
123
+ "github": {
124
+ "release": true
125
+ },
126
+ "plugins": {
127
+ "@release-it/conventional-changelog": {
128
+ "preset": "angular"
129
+ }
130
+ }
131
+ },
132
+ "eslintConfig": {
133
+ "root": true,
134
+ "extends": [
135
+ "@react-native-community",
136
+ "prettier"
137
+ ],
138
+ "rules": {
139
+ "prettier/prettier": [
140
+ "error",
141
+ {
142
+ "quoteProps": "consistent",
143
+ "singleQuote": true,
144
+ "tabWidth": 2,
145
+ "trailingComma": "es5",
146
+ "useTabs": false
147
+ }
148
+ ]
149
+ }
150
+ },
151
+ "eslintIgnore": [
152
+ "node_modules/",
153
+ "lib/"
154
+ ],
155
+ "prettier": {
156
+ "quoteProps": "consistent",
157
+ "singleQuote": true,
158
+ "tabWidth": 2,
159
+ "trailingComma": "es5",
160
+ "useTabs": false
161
+ },
162
+ "react-native-builder-bob": {
163
+ "source": "src",
164
+ "output": "lib",
165
+ "targets": [
166
+ "commonjs",
167
+ "module",
168
+ [
169
+ "typescript",
170
+ {
171
+ "project": "tsconfig.build.json",
172
+ "tsc": "node_modules/typescript/bin/tsc"
173
+ }
174
+ ]
175
+ ],
176
+ "main": "lib/commonjs/index.js",
177
+ "module": "lib/module/index.js",
178
+ "react-native": "src/index.ts",
179
+ "types": "lib/typescript/index.d.ts"
180
+ }
181
181
  }
@@ -140,7 +140,7 @@ export const HMSRoomSetup = () => {
140
140
  }
141
141
  }, [
142
142
  // prebuiltCleanUp,
143
- hmsInstance
143
+ hmsInstance,
144
144
  ]);
145
145
 
146
146
  // HMS Room, Peers, Track Listeners
@@ -5,7 +5,7 @@ import type { ImageProps } from 'react-native';
5
5
  import { useHMSRoomStyle } from '../../hooks-util';
6
6
 
7
7
  interface RecordingIconProps extends Omit<ImageProps, 'source'> {
8
- type?: 'off' | 'on';
8
+ type?: 'off' | 'on' | 'pause';
9
9
  }
10
10
 
11
11
  export const RecordingIcon: React.FC<RecordingIconProps> = ({
@@ -22,6 +22,8 @@ export const RecordingIcon: React.FC<RecordingIconProps> = ({
22
22
  source={
23
23
  type === 'on'
24
24
  ? require('./assets/recording.png')
25
+ : type === 'pause'
26
+ ? require('./assets/recording-pause.png')
25
27
  : require('./assets/recording-off.png')
26
28
  }
27
29
  style={[styles.icon, iconStyles, style]}
@@ -6,6 +6,8 @@ import Animated, {
6
6
  } from 'react-native-reanimated';
7
7
  import type { SharedValue } from 'react-native-reanimated';
8
8
 
9
+ import { useFooterHeight } from './Footer';
10
+
9
11
  interface AnimatedFooterProps {
10
12
  offset: SharedValue<number>;
11
13
  }
@@ -14,12 +16,16 @@ export const AnimatedFooter: React.FC<AnimatedFooterProps> = ({
14
16
  offset,
15
17
  children,
16
18
  }) => {
19
+ const footerHeight = useFooterHeight();
20
+
17
21
  const animatedStyles = useAnimatedStyle(() => {
18
22
  return {
19
- opacity: interpolate(offset.value, [0, 0.7, 1], [0, 0.5, 1]),
20
- transform: [{ translateY: interpolate(offset.value, [0, 1], [10, 0]) }],
23
+ opacity: interpolate(offset.value, [0, 0.3, 1], [0, 0.7, 1]),
24
+ transform: [
25
+ { translateY: interpolate(offset.value, [0, 1], [footerHeight, 0]) },
26
+ ],
21
27
  };
22
- }, []);
28
+ }, [footerHeight]);
23
29
 
24
30
  const animatedProps = useAnimatedProps((): {
25
31
  pointerEvents: 'none' | 'auto';
@@ -2,11 +2,12 @@ import * as React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  import Animated, {
4
4
  interpolate,
5
- useAnimatedProps,
6
5
  useAnimatedStyle,
7
6
  } from 'react-native-reanimated';
8
7
  import type { SharedValue } from 'react-native-reanimated';
9
8
 
9
+ import { useFooterHeight } from './Footer';
10
+
10
11
  interface AnimatedHLSFooterProps {
11
12
  offset: SharedValue<number>;
12
13
  style?: StyleProp<Animated.AnimateStyle<StyleProp<ViewStyle>>>;
@@ -17,27 +18,17 @@ export const AnimatedHLSFooter: React.FC<AnimatedHLSFooterProps> = ({
17
18
  children,
18
19
  style,
19
20
  }) => {
20
- const animatedStyles = useAnimatedStyle(() => {
21
- return {
22
- opacity: interpolate(offset.value, [0, 0.7, 1], [0, 0.5, 1]),
23
- transform: [{ translateY: interpolate(offset.value, [0, 1], [10, 0]) }],
24
- };
25
- }, []);
21
+ const footerHeight = useFooterHeight();
26
22
 
27
- const animatedProps = useAnimatedProps((): {
28
- pointerEvents: 'none' | 'auto';
29
- } => {
23
+ const animatedStyles = useAnimatedStyle(() => {
30
24
  return {
31
- pointerEvents: offset.value === 0 ? 'none' : 'auto',
25
+ transform: [
26
+ { translateY: interpolate(offset.value, [0, 1], [footerHeight, 0]) },
27
+ ],
32
28
  };
33
29
  }, []);
34
30
 
35
31
  return (
36
- <Animated.View
37
- style={[animatedStyles, style]}
38
- animatedProps={animatedProps}
39
- >
40
- {children}
41
- </Animated.View>
32
+ <Animated.View style={[animatedStyles, style]}>{children}</Animated.View>
42
33
  );
43
34
  };
@@ -1,11 +1,13 @@
1
1
  import * as React from 'react';
2
2
  import { StyleSheet } from 'react-native';
3
3
  import Animated, {
4
+ interpolate,
4
5
  useAnimatedProps,
5
6
  useAnimatedStyle,
6
7
  } from 'react-native-reanimated';
7
8
  import type { SharedValue } from 'react-native-reanimated';
8
9
 
10
+ import { useHeaderHeight } from './Header';
9
11
  import { useIsHLSViewer } from '../hooks-util';
10
12
 
11
13
  export interface AnimatedHeaderProps {
@@ -17,13 +19,22 @@ export const AnimatedHeader: React.FC<AnimatedHeaderProps> = ({
17
19
  offset,
18
20
  }) => {
19
21
  const isHLSViewer = useIsHLSViewer();
22
+ const headerHeight = useHeaderHeight();
20
23
 
21
24
  const animatedStyles = useAnimatedStyle(() => {
25
+ if (isHLSViewer) {
26
+ return {
27
+ opacity: offset.value,
28
+ transform: [{ translateY: 0 }],
29
+ };
30
+ }
22
31
  return {
23
- opacity: offset.value,
24
- // transform: [{ translateY: interpolate(offset.value, [0, 1], [-10, 0]) }]
32
+ opacity: interpolate(offset.value, [0, 0.3, 1], [0, 0.7, 1]),
33
+ transform: [
34
+ { translateY: interpolate(offset.value, [0, 1], [-headerHeight, 0]) },
35
+ ],
25
36
  };
26
- }, []);
37
+ }, [headerHeight, isHLSViewer]);
27
38
 
28
39
  const animatedProps = useAnimatedProps((): {
29
40
  pointerEvents: 'none' | 'auto';
@@ -35,7 +46,7 @@ export const AnimatedHeader: React.FC<AnimatedHeaderProps> = ({
35
46
 
36
47
  return (
37
48
  <Animated.View
38
- style={[isHLSViewer ? styles.hlsContainer : null, animatedStyles]}
49
+ style={[styles.container, animatedStyles]}
39
50
  animatedProps={animatedProps}
40
51
  >
41
52
  {children}
@@ -44,7 +55,7 @@ export const AnimatedHeader: React.FC<AnimatedHeaderProps> = ({
44
55
  };
45
56
 
46
57
  const styles = StyleSheet.create({
47
- hlsContainer: {
58
+ container: {
48
59
  position: 'absolute',
49
60
  top: 0,
50
61
  width: '100%',