@stream-io/video-react-native-sdk 0.1.10 → 0.1.12

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 (290) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/android/src/main/java/com/streamvideo/reactnative/StreamVideoReactNative.kt +19 -1
  3. package/android/src/main/java/com/streamvideo/reactnative/StreamVideoReactNativeModule.kt +82 -2
  4. package/dist/commonjs/components/Call/CallContent/CallContent.js +9 -7
  5. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  6. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +7 -2
  7. package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  8. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +3 -1
  9. package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  10. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js +71 -0
  11. package/dist/commonjs/components/Livestream/HostLivestream/HostLivestream.js.map +1 -0
  12. package/dist/commonjs/components/Livestream/HostLivestream/index.js +17 -0
  13. package/dist/commonjs/components/Livestream/HostLivestream/index.js.map +1 -0
  14. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js +69 -0
  15. package/dist/commonjs/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -0
  16. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js +113 -0
  17. package/dist/commonjs/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -0
  18. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +70 -0
  19. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -0
  20. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js +38 -0
  21. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -0
  22. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +70 -0
  23. package/dist/commonjs/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -0
  24. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +83 -0
  25. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -0
  26. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +64 -0
  27. package/dist/commonjs/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -0
  28. package/dist/commonjs/components/Livestream/LivestreamControls/index.js +61 -0
  29. package/dist/commonjs/components/Livestream/LivestreamControls/index.js.map +1 -0
  30. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js +65 -0
  31. package/dist/commonjs/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -0
  32. package/dist/commonjs/components/Livestream/LivestreamLayout/index.js +17 -0
  33. package/dist/commonjs/components/Livestream/LivestreamLayout/index.js.map +1 -0
  34. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js +144 -0
  35. package/dist/commonjs/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -0
  36. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js +71 -0
  37. package/dist/commonjs/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -0
  38. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +87 -0
  39. package/dist/commonjs/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -0
  40. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js +55 -0
  41. package/dist/commonjs/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -0
  42. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +80 -0
  43. package/dist/commonjs/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -0
  44. package/dist/commonjs/components/Livestream/LivestreamTopView/index.js +50 -0
  45. package/dist/commonjs/components/Livestream/LivestreamTopView/index.js.map +1 -0
  46. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js +88 -0
  47. package/dist/commonjs/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -0
  48. package/dist/commonjs/components/Livestream/ViewerLivestream/index.js +17 -0
  49. package/dist/commonjs/components/Livestream/ViewerLivestream/index.js.map +1 -0
  50. package/dist/commonjs/components/Livestream/index.js +61 -0
  51. package/dist/commonjs/components/Livestream/index.js.map +1 -0
  52. package/dist/commonjs/components/index.js +11 -0
  53. package/dist/commonjs/components/index.js.map +1 -1
  54. package/dist/commonjs/hooks/index.js +22 -0
  55. package/dist/commonjs/hooks/index.js.map +1 -1
  56. package/dist/commonjs/hooks/useAutoEnterPiPEffect.js +20 -0
  57. package/dist/commonjs/hooks/useAutoEnterPiPEffect.js.map +1 -0
  58. package/dist/commonjs/hooks/useIsInPiPMode.js +25 -0
  59. package/dist/commonjs/hooks/useIsInPiPMode.js.map +1 -0
  60. package/dist/commonjs/hooks/usePaginatedLayoutSortPreset.js +26 -0
  61. package/dist/commonjs/hooks/usePaginatedLayoutSortPreset.js.map +1 -0
  62. package/dist/commonjs/icons/EndStreamIcon.js +20 -0
  63. package/dist/commonjs/icons/EndStreamIcon.js.map +1 -0
  64. package/dist/commonjs/icons/Eye.js +20 -0
  65. package/dist/commonjs/icons/Eye.js.map +1 -0
  66. package/dist/commonjs/icons/LeaveStreamIcon.js +20 -0
  67. package/dist/commonjs/icons/LeaveStreamIcon.js.map +1 -0
  68. package/dist/commonjs/icons/ShieldBadge.js +20 -0
  69. package/dist/commonjs/icons/ShieldBadge.js.map +1 -0
  70. package/dist/commonjs/icons/StartStreamIcon.js +20 -0
  71. package/dist/commonjs/icons/StartStreamIcon.js.map +1 -0
  72. package/dist/commonjs/icons/index.js +55 -0
  73. package/dist/commonjs/icons/index.js.map +1 -1
  74. package/dist/commonjs/providers/MediaStreamManagement.js +15 -2
  75. package/dist/commonjs/providers/MediaStreamManagement.js.map +1 -1
  76. package/dist/commonjs/theme/theme.js +70 -0
  77. package/dist/commonjs/theme/theme.js.map +1 -1
  78. package/dist/commonjs/translations/en.json +6 -1
  79. package/dist/commonjs/utils/enterPiPAndroid.js +15 -0
  80. package/dist/commonjs/utils/enterPiPAndroid.js.map +1 -0
  81. package/dist/commonjs/utils/index.js +12 -0
  82. package/dist/commonjs/utils/index.js.map +1 -1
  83. package/dist/commonjs/version.js +1 -1
  84. package/dist/module/components/Call/CallContent/CallContent.js +10 -7
  85. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  86. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +7 -2
  87. package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
  88. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +3 -1
  89. package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
  90. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js +64 -0
  91. package/dist/module/components/Livestream/HostLivestream/HostLivestream.js.map +1 -0
  92. package/dist/module/components/Livestream/HostLivestream/index.js +2 -0
  93. package/dist/module/components/Livestream/HostLivestream/index.js.map +1 -0
  94. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js +62 -0
  95. package/dist/module/components/Livestream/LivestreamControls/HostLivestreamControls.js.map +1 -0
  96. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js +105 -0
  97. package/dist/module/components/Livestream/LivestreamControls/HostStartStreamButton.js.map +1 -0
  98. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js +63 -0
  99. package/dist/module/components/Livestream/LivestreamControls/LivestreamAudioControlButton.js.map +1 -0
  100. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js +31 -0
  101. package/dist/module/components/Livestream/LivestreamControls/LivestreamMediaControls.js.map +1 -0
  102. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js +63 -0
  103. package/dist/module/components/Livestream/LivestreamControls/LivestreamVideoControlButton.js.map +1 -0
  104. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js +75 -0
  105. package/dist/module/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.js.map +1 -0
  106. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js +57 -0
  107. package/dist/module/components/Livestream/LivestreamControls/ViewerLivestreamControls.js.map +1 -0
  108. package/dist/module/components/Livestream/LivestreamControls/index.js +6 -0
  109. package/dist/module/components/Livestream/LivestreamControls/index.js.map +1 -0
  110. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js +58 -0
  111. package/dist/module/components/Livestream/LivestreamLayout/LivestreamLayout.js.map +1 -0
  112. package/dist/module/components/Livestream/LivestreamLayout/index.js +2 -0
  113. package/dist/module/components/Livestream/LivestreamLayout/index.js.map +1 -0
  114. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js +136 -0
  115. package/dist/module/components/Livestream/LivestreamTopView/DurationBadge.js.map +1 -0
  116. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js +64 -0
  117. package/dist/module/components/Livestream/LivestreamTopView/FollowerCount.js.map +1 -0
  118. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js +80 -0
  119. package/dist/module/components/Livestream/LivestreamTopView/HostLivestreamTopView.js.map +1 -0
  120. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js +48 -0
  121. package/dist/module/components/Livestream/LivestreamTopView/LiveIndicator.js.map +1 -0
  122. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js +73 -0
  123. package/dist/module/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.js.map +1 -0
  124. package/dist/module/components/Livestream/LivestreamTopView/index.js +5 -0
  125. package/dist/module/components/Livestream/LivestreamTopView/index.js.map +1 -0
  126. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js +81 -0
  127. package/dist/module/components/Livestream/ViewerLivestream/ViewerLivestream.js.map +1 -0
  128. package/dist/module/components/Livestream/ViewerLivestream/index.js +2 -0
  129. package/dist/module/components/Livestream/ViewerLivestream/index.js.map +1 -0
  130. package/dist/module/components/Livestream/index.js +6 -0
  131. package/dist/module/components/Livestream/index.js.map +1 -0
  132. package/dist/module/components/index.js +1 -0
  133. package/dist/module/components/index.js.map +1 -1
  134. package/dist/module/hooks/index.js +2 -0
  135. package/dist/module/hooks/index.js.map +1 -1
  136. package/dist/module/hooks/useAutoEnterPiPEffect.js +14 -0
  137. package/dist/module/hooks/useAutoEnterPiPEffect.js.map +1 -0
  138. package/dist/module/hooks/useIsInPiPMode.js +19 -0
  139. package/dist/module/hooks/useIsInPiPMode.js.map +1 -0
  140. package/dist/module/hooks/usePaginatedLayoutSortPreset.js +19 -0
  141. package/dist/module/hooks/usePaginatedLayoutSortPreset.js.map +1 -0
  142. package/dist/module/icons/EndStreamIcon.js +12 -0
  143. package/dist/module/icons/EndStreamIcon.js.map +1 -0
  144. package/dist/module/icons/Eye.js +12 -0
  145. package/dist/module/icons/Eye.js.map +1 -0
  146. package/dist/module/icons/LeaveStreamIcon.js +12 -0
  147. package/dist/module/icons/LeaveStreamIcon.js.map +1 -0
  148. package/dist/module/icons/ShieldBadge.js +12 -0
  149. package/dist/module/icons/ShieldBadge.js.map +1 -0
  150. package/dist/module/icons/StartStreamIcon.js +12 -0
  151. package/dist/module/icons/StartStreamIcon.js.map +1 -0
  152. package/dist/module/icons/index.js +5 -0
  153. package/dist/module/icons/index.js.map +1 -1
  154. package/dist/module/providers/MediaStreamManagement.js +15 -2
  155. package/dist/module/providers/MediaStreamManagement.js.map +1 -1
  156. package/dist/module/theme/theme.js +70 -0
  157. package/dist/module/theme/theme.js.map +1 -1
  158. package/dist/module/translations/en.json +6 -1
  159. package/dist/module/utils/enterPiPAndroid.js +9 -0
  160. package/dist/module/utils/enterPiPAndroid.js.map +1 -0
  161. package/dist/module/utils/index.js +1 -0
  162. package/dist/module/utils/index.js.map +1 -1
  163. package/dist/module/version.js +1 -1
  164. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  165. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
  166. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  167. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts +30 -0
  168. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -0
  169. package/dist/typescript/components/Livestream/HostLivestream/index.d.ts +2 -0
  170. package/dist/typescript/components/Livestream/HostLivestream/index.d.ts.map +1 -0
  171. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts +25 -0
  172. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts.map +1 -0
  173. package/dist/typescript/components/Livestream/LivestreamControls/HostStartStreamButton.d.ts +25 -0
  174. package/dist/typescript/components/Livestream/LivestreamControls/HostStartStreamButton.d.ts.map +1 -0
  175. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts +6 -0
  176. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamAudioControlButton.d.ts.map +1 -0
  177. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamMediaControls.d.ts +10 -0
  178. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamMediaControls.d.ts.map +1 -0
  179. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts +6 -0
  180. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamVideoControlButton.d.ts.map +1 -0
  181. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts +16 -0
  182. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -0
  183. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts +16 -0
  184. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -0
  185. package/dist/typescript/components/Livestream/LivestreamControls/index.d.ts +6 -0
  186. package/dist/typescript/components/Livestream/LivestreamControls/index.d.ts.map +1 -0
  187. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts +17 -0
  188. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -0
  189. package/dist/typescript/components/Livestream/LivestreamLayout/index.d.ts +2 -0
  190. package/dist/typescript/components/Livestream/LivestreamLayout/index.d.ts.map +1 -0
  191. package/dist/typescript/components/Livestream/LivestreamTopView/DurationBadge.d.ts +12 -0
  192. package/dist/typescript/components/Livestream/LivestreamTopView/DurationBadge.d.ts.map +1 -0
  193. package/dist/typescript/components/Livestream/LivestreamTopView/FollowerCount.d.ts +10 -0
  194. package/dist/typescript/components/Livestream/LivestreamTopView/FollowerCount.d.ts.map +1 -0
  195. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts +26 -0
  196. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts.map +1 -0
  197. package/dist/typescript/components/Livestream/LivestreamTopView/LiveIndicator.d.ts +10 -0
  198. package/dist/typescript/components/Livestream/LivestreamTopView/LiveIndicator.d.ts.map +1 -0
  199. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts +26 -0
  200. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts.map +1 -0
  201. package/dist/typescript/components/Livestream/LivestreamTopView/index.d.ts +5 -0
  202. package/dist/typescript/components/Livestream/LivestreamTopView/index.d.ts.map +1 -0
  203. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts +32 -0
  204. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -0
  205. package/dist/typescript/components/Livestream/ViewerLivestream/index.d.ts +2 -0
  206. package/dist/typescript/components/Livestream/ViewerLivestream/index.d.ts.map +1 -0
  207. package/dist/typescript/components/Livestream/index.d.ts +6 -0
  208. package/dist/typescript/components/Livestream/index.d.ts.map +1 -0
  209. package/dist/typescript/components/index.d.ts +1 -0
  210. package/dist/typescript/components/index.d.ts.map +1 -1
  211. package/dist/typescript/hooks/index.d.ts +2 -0
  212. package/dist/typescript/hooks/index.d.ts.map +1 -1
  213. package/dist/typescript/hooks/useAutoEnterPiPEffect.d.ts +2 -0
  214. package/dist/typescript/hooks/useAutoEnterPiPEffect.d.ts.map +1 -0
  215. package/dist/typescript/hooks/useIsInPiPMode.d.ts +2 -0
  216. package/dist/typescript/hooks/useIsInPiPMode.d.ts.map +1 -0
  217. package/dist/typescript/hooks/usePaginatedLayoutSortPreset.d.ts +3 -0
  218. package/dist/typescript/hooks/usePaginatedLayoutSortPreset.d.ts.map +1 -0
  219. package/dist/typescript/icons/EndStreamIcon.d.ts +3 -0
  220. package/dist/typescript/icons/EndStreamIcon.d.ts.map +1 -0
  221. package/dist/typescript/icons/Eye.d.ts +3 -0
  222. package/dist/typescript/icons/Eye.d.ts.map +1 -0
  223. package/dist/typescript/icons/LeaveStreamIcon.d.ts +3 -0
  224. package/dist/typescript/icons/LeaveStreamIcon.d.ts.map +1 -0
  225. package/dist/typescript/icons/ShieldBadge.d.ts +3 -0
  226. package/dist/typescript/icons/ShieldBadge.d.ts.map +1 -0
  227. package/dist/typescript/icons/StartStreamIcon.d.ts +3 -0
  228. package/dist/typescript/icons/StartStreamIcon.d.ts.map +1 -0
  229. package/dist/typescript/icons/index.d.ts +5 -0
  230. package/dist/typescript/icons/index.d.ts.map +1 -1
  231. package/dist/typescript/providers/MediaStreamManagement.d.ts.map +1 -1
  232. package/dist/typescript/theme/theme.d.ts +70 -0
  233. package/dist/typescript/theme/theme.d.ts.map +1 -1
  234. package/dist/typescript/translations/index.d.ts +6 -1
  235. package/dist/typescript/translations/index.d.ts.map +1 -1
  236. package/dist/typescript/utils/enterPiPAndroid.d.ts +2 -0
  237. package/dist/typescript/utils/enterPiPAndroid.d.ts.map +1 -0
  238. package/dist/typescript/utils/index.d.ts +1 -0
  239. package/dist/typescript/utils/index.d.ts.map +1 -1
  240. package/dist/typescript/version.d.ts +1 -1
  241. package/expo-config-plugin/dist/common/addNewLinesToMainActivity.d.ts +1 -0
  242. package/expo-config-plugin/dist/common/addNewLinesToMainActivity.js +16 -0
  243. package/expo-config-plugin/dist/common/types.d.ts +4 -0
  244. package/expo-config-plugin/dist/index.js +6 -2
  245. package/expo-config-plugin/dist/withAndroidManifest.d.ts +2 -1
  246. package/expo-config-plugin/dist/withAndroidManifest.js +20 -2
  247. package/expo-config-plugin/dist/withMainActivity.d.ts +4 -0
  248. package/expo-config-plugin/dist/withMainActivity.js +72 -0
  249. package/package.json +1 -1
  250. package/src/components/Call/CallContent/CallContent.tsx +15 -7
  251. package/src/components/Call/CallLayout/CallParticipantsGrid.tsx +16 -2
  252. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +4 -1
  253. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +99 -0
  254. package/src/components/Livestream/HostLivestream/index.ts +1 -0
  255. package/src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx +87 -0
  256. package/src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx +163 -0
  257. package/src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx +78 -0
  258. package/src/components/Livestream/LivestreamControls/LivestreamMediaControls.tsx +32 -0
  259. package/src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx +78 -0
  260. package/src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx +102 -0
  261. package/src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx +75 -0
  262. package/src/components/Livestream/LivestreamControls/index.ts +5 -0
  263. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +77 -0
  264. package/src/components/Livestream/LivestreamLayout/index.ts +1 -0
  265. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +170 -0
  266. package/src/components/Livestream/LivestreamTopView/FollowerCount.tsx +74 -0
  267. package/src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx +105 -0
  268. package/src/components/Livestream/LivestreamTopView/LiveIndicator.tsx +53 -0
  269. package/src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx +102 -0
  270. package/src/components/Livestream/LivestreamTopView/index.ts +4 -0
  271. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +126 -0
  272. package/src/components/Livestream/ViewerLivestream/index.ts +1 -0
  273. package/src/components/Livestream/index.ts +5 -0
  274. package/src/components/index.ts +1 -0
  275. package/src/hooks/index.ts +2 -0
  276. package/src/hooks/useAutoEnterPiPEffect.tsx +16 -0
  277. package/src/hooks/useIsInPiPMode.tsx +29 -0
  278. package/src/hooks/usePaginatedLayoutSortPreset.ts +27 -0
  279. package/src/icons/EndStreamIcon.tsx +13 -0
  280. package/src/icons/Eye.tsx +13 -0
  281. package/src/icons/LeaveStreamIcon.tsx +13 -0
  282. package/src/icons/ShieldBadge.tsx +13 -0
  283. package/src/icons/StartStreamIcon.tsx +13 -0
  284. package/src/icons/index.tsx +5 -0
  285. package/src/providers/MediaStreamManagement.tsx +14 -1
  286. package/src/theme/theme.ts +140 -0
  287. package/src/translations/en.json +6 -1
  288. package/src/utils/enterPiPAndroid.ts +11 -0
  289. package/src/utils/index.ts +1 -0
  290. package/src/version.ts +1 -1
@@ -224,6 +224,76 @@ export const defaultTheme = {
224
224
  participantCountContainer: {},
225
225
  participantsIconContainer: {},
226
226
  participantsCountText: {}
227
+ },
228
+ hostLivestream: {
229
+ container: {}
230
+ },
231
+ hostLivestreamTopView: {
232
+ container: {},
233
+ leftElement: {},
234
+ rightElement: {},
235
+ centerElement: {},
236
+ liveInfo: {}
237
+ },
238
+ viewerLivestream: {
239
+ container: {},
240
+ floatingParticipantView: {},
241
+ view: {}
242
+ },
243
+ livestreamLayout: {
244
+ container: {}
245
+ },
246
+ viewerLivestreamTopView: {
247
+ container: {},
248
+ leftElement: {},
249
+ centerElement: {},
250
+ rightElement: {},
251
+ liveInfo: {}
252
+ },
253
+ followerCount: {
254
+ container: {},
255
+ icon: {},
256
+ label: {}
257
+ },
258
+ durationBadge: {
259
+ container: {},
260
+ icon: {},
261
+ label: {}
262
+ },
263
+ liveIndicator: {
264
+ container: {},
265
+ label: {}
266
+ },
267
+ hostLivestreamControls: {
268
+ container: {},
269
+ leftElement: {},
270
+ rightElement: {}
271
+ },
272
+ viewerLivestreamControls: {
273
+ container: {},
274
+ leftElement: {},
275
+ rightElement: {}
276
+ },
277
+ hostStartStreamButton: {
278
+ container: {},
279
+ icon: {},
280
+ text: {}
281
+ },
282
+ viewerLeaveStreamButton: {
283
+ container: {},
284
+ icon: {},
285
+ text: {}
286
+ },
287
+ livestreamMediaControls: {
288
+ container: {}
289
+ },
290
+ livestreamAudioControlButton: {
291
+ container: {},
292
+ icon: {}
293
+ },
294
+ livestreamVideoControlButton: {
295
+ container: {},
296
+ icon: {}
227
297
  }
228
298
  };
229
299
  //# sourceMappingURL=theme.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["colors","defaultTheme","variants","buttonSizes","xs","sm","md","lg","xl","iconSizes","avatarSizes","typefaces","heading4","fontSize","fontWeight","heading5","heading6","subtitle","subtitleBold","bodyBold","caption","avatar","container","image","text","acceptCallButton","svgContainer","callContent","callParticipantsContainer","topContainer","callControls","callControlsButton","joinCallButton","label","chatButton","hangupCallButton","rejectCallButton","toggleAudioPreviewButton","toggleAudioPublishingButton","toggleCameraFaceButton","toggleVideoPreviewButton","toggleVideoPublishingButton","callParticipantsGrid","callParticipantsSpotlight","fullScreenSpotlightContainer","callParticipantsListContainer","spotlightContainer","lobby","heading","subHeading","bottomContainer","videoContainer","infoContainer","infoText","participantStatusContainer","avatarContainer","userNameLabel","audioMutedIconContainer","floatingParticipantsView","participantViewContainer","videoFallback","participantLabel","videoMutedIconContainer","pinIconContainer","screenShareIconContainer","participantNetworkQualityIndicator","participantReaction","reaction","participantVideoFallback","avatarText","avatarImage","participantView","footerContainer","highligtedContainer","reactionsPicker","reactionsPopup","reactionsButtonDimmer","reactionItem","reactionText","videoRenderer","videoStream","incomingCall","background","content","incomingCallText","incomingCallControls","buttonGroup","outgoingCall","callingText","outgoingCallControls","deviceControlButtons","ringingCallContent","joiningCallIndicator","callTopView","backIconContainer","leftElement","centerElement","rightElement","title","userInfo","avatarGroup","name","lobbyControls","participantInfoBadge","participantCountContainer","participantsIconContainer","participantsCountText"],"sourceRoot":"../../../src","sources":["theme/theme.ts"],"mappings":"AACA,SAASA,MAAM,QAAQ,UAAU;AA0MjC,OAAO,MAAMC,YAAmB,GAAG;EACjCC,QAAQ,EAAE;IACRC,WAAW,EAAE;MACXC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE;IACN,CAAC;IACDC,SAAS,EAAE;MACTL,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE;IACN,CAAC;IACDE,WAAW,EAAE;MACXN,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,GAAG;MACPC,EAAE,EAAE,GAAG;MACPC,EAAE,EAAE;IACN;EACF,CAAC;EACDG,SAAS,EAAE;IACTC,QAAQ,EAAE;MACRC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd,CAAC;IACDC,QAAQ,EAAE;MACRF,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd,CAAC;IACDE,QAAQ,EAAE;MACRH,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd,CAAC;IACDG,QAAQ,EAAE;MACRJ,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd,CAAC;IACDI,YAAY,EAAE;MACZL,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd,CAAC;IACDK,QAAQ,EAAE;MACRN,QAAQ,EAAE,EAAE;MACZ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AAS,EAAE,CAAC;EAAE,CAAC;EACvCuE,WAAW,EAAE;IACXvE,SAAS,EAAE,CAAC,CAAC;IACb6D,OAAO,EAAE,CAAC,CAAC;IACXW,iBAAiB,EAAE,CAAC,CAAC;IACrBC,WAAW,EAAE,CAAC,CAAC;IACfC,aAAa,EAAE,CAAC,CAAC;IACjBC,YAAY,EAAE,CAAC,CAAC;IAChBC,KAAK,EAAE,CAAC;EACV,CAAC;EACDC,QAAQ,EAAE;IACR7E,SAAS,EAAE,CAAC,CAAC;IACb8E,WAAW,EAAE,CAAC,CAAC;IACfC,IAAI,EAAE,CAAC;EACT,CAAC;EACDC,aAAa,EAAE;IACbhF,SAAS,EAAE,CAAC;EACd,CAAC;EACDiF,oBAAoB,EAAE;IACpBjF,SAAS,EAAE,CAAC,CAAC;IACbkF,yBAAyB,EAAE,CAAC,CAAC;IAC7BC,yBAAyB,EAAE,CAAC,CAAC;IAC7BC,qBAAqB,EAAE,CAAC;EAC1B;AACF,CAAC"}
1
+ {"version":3,"names":["colors","defaultTheme","variants","buttonSizes","xs","sm","md","lg","xl","iconSizes","avatarSizes","typefaces","heading4","fontSize","fontWeight","heading5","heading6","subtitle","subtitleBold","bodyBold","caption","avatar","container","image","text","acceptCallButton","svgContainer","callContent","callParticipantsContainer","topContainer","callControls","callControlsButton","joinCallButton","label","chatButton","hangupCallButton","rejectCallButton","toggleAudioPreviewButton","toggleAudioPublishingButton","toggleCameraFaceButton","toggleVideoPreviewButton","toggleVideoPublishingButton","callParticipantsGrid","callParticipantsSpotlight","fullScreenSpotlightContainer","callParticipantsListContainer","spotlightContainer","lobby","heading","subHeading","bottomContainer","videoContainer","infoContainer","infoText","participantStatusContainer","avatarContainer","userNameLabel","audioMutedIconContainer","floatingParticipantsView","participantViewContainer","videoFallback","participantLabel","videoMutedIconContainer","pinIconContainer","screenShareIconContainer","participantNetworkQualityIndicator","participantReaction","reaction","participantVideoFallback","avatarText","avatarImage","participantView","footerContainer","highligtedContainer","reactionsPicker","reactionsPopup","reactionsButtonDimmer","reactionItem","reactionText","videoRenderer","videoStream","incomingCall","background","content","incomingCallText","incomingCallControls","buttonGroup","outgoingCall","callingText","outgoingCallControls","deviceControlButtons","ringingCallContent","joiningCallIndicator","callTopView","backIconContainer","leftElement","centerElement","rightElement","title","userInfo","avatarGroup","name","lobbyControls","participantInfoBadge","participantCountContainer","participantsIconContainer","participantsCountText","hostLivestream","hostLivestreamTopView","liveInfo","viewerLivestream","floatingParticipantView","view","livestreamLayout","viewerLivestreamTopView","followerCount","icon","durationBadge","liveIndicator","hostLivestreamControls","viewerLivestreamControls","hostStartStreamButton","viewerLeaveStreamButton","livestreamMediaControls","livestreamAudioControlButton","livestreamVideoControlButton"],"sourceRoot":"../../../src","sources":["theme/theme.ts"],"mappings":"AACA,SAASA,MAAM,QAAQ,UAAU;AAgRjC,OAAO,MAAMC,YAAmB,GAAG;EACjCC,QAAQ,EAAE;IACRC,WAAW,EAAE;MACXC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE;IACN,CAAC;IACDC,SAAS,EAAE;MACTL,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE;IACN,CAAC;IACDE,WAAW,EAAE;MACXN,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,EAAE;MACNC,EAAE,EAAE,GAAG;MACPC,EAAE,EAAE,GAAG;MACPC,EAAE,EAAE;IACN;EACF,CAAC;EACDG,SAAS,EAAE;IACTC,QAAQ,EAAE;MACRC,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd,CAAC;IACDC,QAAQ,EAAE;MACRF,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IACd,CAAC;IACDE,QAAQ,EAAE;MACRH,QAAQ,EAAE,EAAE;MACZC,UAAU,EAAE;IAC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AC"}
@@ -6,7 +6,12 @@
6
6
  "Join": "Join",
7
7
  "You": "You",
8
8
  "Reconnecting...": "Reconnecting...",
9
- "You are first to join the call.": "You are first to join the call.",
9
+ "Loading...": "Loading...",
10
+ "Start Stream": "Start Stream",
11
+ "End Stream": "End Stream",
12
+ "Leave Stream": "Leave Stream",
13
+ "Live": "Live",
14
+ "You are first to Join the call.": "You are first to Join the call.",
10
15
  "Participants ({{ numberOfParticipants }})": "Participants ({{ numberOfParticipants }})",
11
16
  "{{ userName }} is sharing their screen": "{{ userName }} is sharing their screen",
12
17
  "{{ numberOfParticipants }} participant(s) are in the call.": "{{ numberOfParticipants }} participant(s) are in the call.",
@@ -0,0 +1,9 @@
1
+ import { NativeModules, Platform } from 'react-native';
2
+ export function enterPiPAndroid(width, height) {
3
+ var _NativeModules$Stream;
4
+ if (Platform.OS !== 'android') {
5
+ return;
6
+ }
7
+ return NativeModules === null || NativeModules === void 0 || (_NativeModules$Stream = NativeModules.StreamVideoReactNative) === null || _NativeModules$Stream === void 0 ? void 0 : _NativeModules$Stream.enterPipMode(width ? Math.floor(width) : 0, height ? Math.floor(height) : 0);
8
+ }
9
+ //# sourceMappingURL=enterPiPAndroid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["NativeModules","Platform","enterPiPAndroid","width","height","_NativeModules$Stream","OS","StreamVideoReactNative","enterPipMode","Math","floor"],"sourceRoot":"../../../src","sources":["utils/enterPiPAndroid.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AAEtD,OAAO,SAASC,eAAeA,CAACC,KAAc,EAAEC,MAAe,EAAE;EAAA,IAAAC,qBAAA;EAC/D,IAAIJ,QAAQ,CAACK,EAAE,KAAK,SAAS,EAAE;IAC7B;EACF;EACA,OAAON,aAAa,aAAbA,aAAa,gBAAAK,qBAAA,GAAbL,aAAa,CAAEO,sBAAsB,cAAAF,qBAAA,uBAArCA,qBAAA,CAAuCG,YAAY,CACxDL,KAAK,GAAGM,IAAI,CAACC,KAAK,CAACP,KAAK,CAAC,GAAG,CAAC,EAC7BC,MAAM,GAAGK,IAAI,CAACC,KAAK,CAACN,MAAM,CAAC,GAAG,CAChC,CAAC;AACH"}
@@ -23,5 +23,6 @@ export const getInitialsOfName = name => {
23
23
  }
24
24
  return initials;
25
25
  };
26
+ export * from './enterPiPAndroid';
26
27
  export * from './StreamVideoRN';
27
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["generateCallTitle","memberUserIds","totalMembersToShow","supportedAmountOfMemberUserIds","slice","length","join","allMembersExceptLast","lastMember","generateParticipantTitle","memberUserId","getInitialsOfName","name","names","split","initials","substring","toUpperCase"],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":"AAAA;AACA,OAAO,MAAMA,iBAAiB,GAAGA,CAC/BC,aAAuB,EACvBC,kBAA2B,KACxB;EACH,MAAMC,8BAA8B,GAAGF,aAAa,CAACG,KAAK,CACxD,CAAC,EACDF,kBACF,CAAC;EACD,IACEA,kBAAkB,IAClBC,8BAA8B,CAACE,MAAM,GAAGH,kBAAkB,EAC1D;IACA,OAAOC,8BAA8B,CAACG,IAAI,CAAC,OAAO,CAAC;EACrD;EAEA,MAAMC,oBAAoB,GAAGJ,8BAA8B,CAACC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;EACxE,MAAMI,UAAU,GAAGL,8BAA8B,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;EAC9D,OAAQ,GAAEG,oBAAoB,CAACD,IAAI,CAAC,IAAI,CAAE,SAAQE,UAAW,EAAC;AAChE,CAAC;;AAED;AACA,OAAO,MAAMC,wBAAwB,GAAIC,YAAoB,IAAK;EAChE,OAAOA,YAAY,CAACL,MAAM,GAAG,EAAE,GAC3BK,YAAY,CAACN,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,GACjCM,YAAY;AAClB,CAAC;;AAED;AACA,OAAO,MAAMC,iBAAiB,GAAIC,IAAY,IAAK;EACjD,MAAMC,KAAK,GAAGD,IAAI,CAACE,KAAK,CAAC,GAAG,CAAC;EAC7B,IAAIC,QAAQ,GAAGF,KAAK,CAAC,CAAC,CAAC,CAACG,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;EACrD,IAAIJ,KAAK,CAACR,MAAM,GAAG,CAAC,EAAE;IACpBU,QAAQ,IAAIF,KAAK,CAACA,KAAK,CAACR,MAAM,GAAG,CAAC,CAAC,CAACW,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;EACnE;EACA,OAAOF,QAAQ;AACjB,CAAC;AAED,cAAc,iBAAiB"}
1
+ {"version":3,"names":["generateCallTitle","memberUserIds","totalMembersToShow","supportedAmountOfMemberUserIds","slice","length","join","allMembersExceptLast","lastMember","generateParticipantTitle","memberUserId","getInitialsOfName","name","names","split","initials","substring","toUpperCase"],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":"AAAA;AACA,OAAO,MAAMA,iBAAiB,GAAGA,CAC/BC,aAAuB,EACvBC,kBAA2B,KACxB;EACH,MAAMC,8BAA8B,GAAGF,aAAa,CAACG,KAAK,CACxD,CAAC,EACDF,kBACF,CAAC;EACD,IACEA,kBAAkB,IAClBC,8BAA8B,CAACE,MAAM,GAAGH,kBAAkB,EAC1D;IACA,OAAOC,8BAA8B,CAACG,IAAI,CAAC,OAAO,CAAC;EACrD;EAEA,MAAMC,oBAAoB,GAAGJ,8BAA8B,CAACC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;EACxE,MAAMI,UAAU,GAAGL,8BAA8B,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;EAC9D,OAAQ,GAAEG,oBAAoB,CAACD,IAAI,CAAC,IAAI,CAAE,SAAQE,UAAW,EAAC;AAChE,CAAC;;AAED;AACA,OAAO,MAAMC,wBAAwB,GAAIC,YAAoB,IAAK;EAChE,OAAOA,YAAY,CAACL,MAAM,GAAG,EAAE,GAC3BK,YAAY,CAACN,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,GACjCM,YAAY;AAClB,CAAC;;AAED;AACA,OAAO,MAAMC,iBAAiB,GAAIC,IAAY,IAAK;EACjD,MAAMC,KAAK,GAAGD,IAAI,CAACE,KAAK,CAAC,GAAG,CAAC;EAC7B,IAAIC,QAAQ,GAAGF,KAAK,CAAC,CAAC,CAAC,CAACG,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;EACrD,IAAIJ,KAAK,CAACR,MAAM,GAAG,CAAC,EAAE;IACpBU,QAAQ,IAAIF,KAAK,CAACA,KAAK,CAACR,MAAM,GAAG,CAAC,CAAC,CAACW,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;EACnE;EACA,OAAOF,QAAQ;AACjB,CAAC;AAED,cAAc,mBAAmB;AACjC,cAAc,iBAAiB"}
@@ -1,2 +1,2 @@
1
- export const version = '0.1.10';
1
+ export const version = '0.1.12';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CallContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallContent/CallContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAEL,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AAOxB,OAAO,EACL,gBAAgB,EAEhB,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAgB,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAIvE,OAAO,EAEL,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,kCAAkC,EAClC,yBAAyB,EAC1B,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD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AEL,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,kCAAkC,EAClC,yBAAyB,EAC1B,MAAM,yBAAyB,CAAC;AAGjC,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,yBAAyB,GAAG,6BAA6B,GAC5D,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAAG;IAC5D;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC3D;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC5D;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;IACnF;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;CAC9E,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,qBAAqB,EACrB,qBAAqB,CACtB,GACC,IAAI,CACF,gBAAgB,EAChB,eAAe,GAAG,wBAAwB,GAAG,uBAAuB,CACrE,GACD,yBAAyB,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC9B;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAK1C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ,eAAO,MAAM,WAAW,iVAkBrB,gBAAgB,sBAoIlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CallParticipantsGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAEL,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,6BAA6B,GACnE,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,sBAAsB,CAAC,GACrE,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAAG;IAC5D;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,oBAAoB,wNAW9B,yBAAyB,sBAsD3B,CAAC"}
1
+ {"version":3,"file":"CallParticipantsGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAEL,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAGlE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,6BAA6B,GACnE,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,sBAAsB,CAAC,GACrE,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAAG;IAC5D;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,oBAAoB,wNAW9B,yBAAyB,sBAmE3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CallParticipantsSpotlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAEL,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAEL,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,6BAA6B,GACxE,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,sBAAsB,CAAC,GACrE,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAAG;IAC5D;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAKJ;;;GAGG;AACH,eAAO,MAAM,yBAAyB,kMAUnC,8BAA8B,sBA2FhC,CAAC"}
1
+ {"version":3,"file":"CallParticipantsSpotlight.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallLayout/CallParticipantsSpotlight.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAEL,kCAAkC,EACnC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAEL,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlD;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,6BAA6B,GACxE,IAAI,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,sBAAsB,CAAC,GACrE,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAAG;IAC5D;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAKJ;;;GAGG;AACH,eAAO,MAAM,yBAAyB,kMAUnC,8BAA8B,sBA6FhC,CAAC"}
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import { HostLivestreamTopViewProps } from '../LivestreamTopView/HostLivestreamTopView';
3
+ import { HostLivestreamControlsProps } from '../LivestreamControls/HostLivestreamControls';
4
+ import { LivestreamLayoutProps } from '../LivestreamLayout';
5
+ /**
6
+ * Props for the HostLivestream component.
7
+ */
8
+ export type HostLivestreamProps = HostLivestreamTopViewProps & HostLivestreamControlsProps & {
9
+ /**
10
+ * Component to customize the top view at the host's live stream.
11
+ */
12
+ HostLivestreamTopView?: React.ComponentType<HostLivestreamTopViewProps> | null;
13
+ /**
14
+ * Component to customize the live stream video layout.
15
+ */
16
+ LivestreamLayout?: React.ComponentType<LivestreamLayoutProps> | null;
17
+ /**
18
+ * Component to customize the bottom view controls at the host's live stream.
19
+ */
20
+ HostLivestreamControls?: React.ComponentType<HostLivestreamControlsProps> | null;
21
+ /**
22
+ * Enable HTTP live streaming
23
+ */
24
+ hls?: boolean;
25
+ };
26
+ /**
27
+ * The HostLivestream component displays the UI for the Host's live stream.
28
+ */
29
+ export declare const HostLivestream: ({ HostLivestreamTopView, HostLivestreamControls, LivestreamLayout, LiveIndicator, FollowerCount, DurationBadge, HostStartStreamButton, LivestreamMediaControls, onEndStreamHandler, onStartStreamHandler, hls, }: HostLivestreamProps) => React.JSX.Element;
30
+ //# sourceMappingURL=HostLivestream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HostLivestream.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/HostLivestream/HostLivestream.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAEL,0BAA0B,EAC3B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAEL,2BAA2B,EAC5B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAEL,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,0BAA0B,GAC1D,2BAA2B,GAAG;IAC5B;;OAEG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;IAC/E;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;IACrE;;OAEG;IACH,sBAAsB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC;IACjF;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,cAAc,qNAYxB,mBAAmB,sBAqCrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './HostLivestream';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/HostLivestream/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { HostStartStreamButtonProps } from './HostStartStreamButton';
3
+ import { LivestreamMediaControlsProps } from './LivestreamMediaControls';
4
+ /**
5
+ * Props for the HostLivestreamControls component.
6
+ */
7
+ export type HostLivestreamControlsProps = HostStartStreamButtonProps & {
8
+ /**
9
+ * Component to customize the host's start/end live stream button.
10
+ */
11
+ HostStartStreamButton?: React.ComponentType<HostStartStreamButtonProps> | null;
12
+ /**
13
+ * Component to customize the host's media control(audio/video) buttons.
14
+ */
15
+ LivestreamMediaControls?: React.ComponentType<LivestreamMediaControlsProps> | null;
16
+ /**
17
+ * Enable HTTP live streaming
18
+ */
19
+ hls?: boolean;
20
+ };
21
+ /**
22
+ * The HostLivestreamControls component displays the call controls for the live stream at host's end.
23
+ */
24
+ export declare const HostLivestreamControls: ({ HostStartStreamButton, LivestreamMediaControls, onEndStreamHandler, onStartStreamHandler, hls, }: HostLivestreamControlsProps) => React.JSX.Element;
25
+ //# sourceMappingURL=HostLivestreamControls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HostLivestreamControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/HostLivestreamControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,0BAA0B,EAC3B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,4BAA4B,EAC7B,MAAM,2BAA2B,CAAC;AAInC;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,0BAA0B,GAAG;IACrE;;OAEG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC;IAC/E;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;IACnF;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,uGAMhC,2BAA2B,sBA0B7B,CAAC"}
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ /**
3
+ * Props for the HostStartStreamButton component.
4
+ */
5
+ export type HostStartStreamButtonProps = {
6
+ /**
7
+ * Handler to be called when the Start Stream button is pressed.
8
+ * @returns void
9
+ */
10
+ onStartStreamHandler?: () => void;
11
+ /**
12
+ * Handler to be called when the End Stream button is pressed.
13
+ * @returns void
14
+ */
15
+ onEndStreamHandler?: () => void;
16
+ /**
17
+ * Enable HTTP live streaming
18
+ */
19
+ hls?: boolean;
20
+ };
21
+ /**
22
+ * The HostStartStreamButton component displays and controls the start and end of the host's live stream.
23
+ */
24
+ export declare const HostStartStreamButton: ({ onEndStreamHandler, onStartStreamHandler, hls, }: HostStartStreamButtonProps) => React.JSX.Element;
25
+ //# sourceMappingURL=HostStartStreamButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HostStartStreamButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/HostStartStreamButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,uDAI/B,0BAA0B,sBAyG5B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ /**
3
+ * The LivestreamAudioControlButton controls the audio stream publish/unpublish while in the livestream for the host.
4
+ */
5
+ export declare const LivestreamAudioControlButton: () => React.JSX.Element;
6
+ //# sourceMappingURL=LivestreamAudioControlButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LivestreamAudioControlButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/LivestreamAudioControlButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;GAEG;AACH,eAAO,MAAM,4BAA4B,yBA0DxC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ /**
3
+ * Props for the LivestreamMediaControls component.
4
+ */
5
+ export type LivestreamMediaControlsProps = {};
6
+ /**
7
+ * The LivestreamMediaControls component controls the media publish/unpublish for the host's live stream.
8
+ */
9
+ export declare const LivestreamMediaControls: ({}: LivestreamMediaControlsProps) => React.JSX.Element;
10
+ //# sourceMappingURL=LivestreamMediaControls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LivestreamMediaControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/LivestreamMediaControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,uBAAuB,OAAQ,4BAA4B,sBAUvE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ /**
3
+ * The LivestreamVideoControlButton controls the video stream publish/unpublish while in the livestream for the host.
4
+ */
5
+ export declare const LivestreamVideoControlButton: () => React.JSX.Element;
6
+ //# sourceMappingURL=LivestreamVideoControlButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LivestreamVideoControlButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/LivestreamVideoControlButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;GAEG;AACH,eAAO,MAAM,4BAA4B,yBA0DxC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ /**
3
+ * Props for the ViewerLeaveStreamButton component.
4
+ */
5
+ export type ViewerLeaveStreamButtonProps = {
6
+ /**
7
+ * Handler to be called when the viewer's leave stream button is called.
8
+ * @returns void
9
+ */
10
+ onLeaveStreamHandler?: () => void;
11
+ };
12
+ /**
13
+ * The ViewerLeaveStreamButton component displays and controls the leave stream logic of the viewer's live stream.
14
+ */
15
+ export declare const ViewerLeaveStreamButton: ({ onLeaveStreamHandler, }: ViewerLeaveStreamButtonProps) => React.JSX.Element;
16
+ //# sourceMappingURL=ViewerLeaveStreamButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewerLeaveStreamButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,8BAEjC,4BAA4B,sBA2D9B,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { ViewerLeaveStreamButtonProps } from './ViewerLeaveStreamButton';
3
+ /**
4
+ * Props for the ViewerLivestreamControls component.
5
+ */
6
+ export type ViewerLivestreamControlsProps = ViewerLeaveStreamButtonProps & {
7
+ /**
8
+ * Component to customize the leave stream button on the viewer's end live stream.
9
+ */
10
+ ViewerLeaveStreamButton?: React.ComponentType<ViewerLeaveStreamButtonProps> | null;
11
+ };
12
+ /**
13
+ * The ViewerLivestreamControls component displays the call controls for the live stream at viewer's end.
14
+ */
15
+ export declare const ViewerLivestreamControls: ({ ViewerLeaveStreamButton, onLeaveStreamHandler, }: ViewerLivestreamControlsProps) => React.JSX.Element;
16
+ //# sourceMappingURL=ViewerLivestreamControls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewerLivestreamControls.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/ViewerLivestreamControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAEL,4BAA4B,EAC7B,MAAM,2BAA2B,CAAC;AAInC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,4BAA4B,GAAG;IACzE;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;CACpF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,uDAGlC,6BAA6B,sBA2B/B,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './HostLivestreamControls';
2
+ export * from './LivestreamMediaControls';
3
+ export * from './HostStartStreamButton';
4
+ export * from './LivestreamAudioControlButton';
5
+ export * from './LivestreamVideoControlButton';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamControls/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { VideoRendererProps } from '../../Participant';
3
+ /**
4
+ * Props for the LivestreamLayout component.
5
+ */
6
+ export type LivestreamLayoutProps = {
7
+ landscape?: boolean;
8
+ /**
9
+ * Component to customize the video component of the participant.
10
+ */
11
+ VideoRenderer?: React.ComponentType<VideoRendererProps> | null;
12
+ };
13
+ /**
14
+ * The LivestreamLayout component presents the live stream video layout.
15
+ */
16
+ export declare const LivestreamLayout: ({ landscape, VideoRenderer, }: LivestreamLayoutProps) => React.JSX.Element;
17
+ //# sourceMappingURL=LivestreamLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LivestreamLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAEL,kBAAkB,EACnB,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAKlC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;CAChE,CAAC;AAKF;;GAEG;AACH,eAAO,MAAM,gBAAgB,kCAG1B,qBAAqB,sBAmCvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './LivestreamLayout';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamLayout/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ /**
3
+ * Props for the HostDurationBadge component.
4
+ */
5
+ export type DurationBadgeProps = {
6
+ mode?: 'host' | 'viewer';
7
+ };
8
+ /**
9
+ * The HostDurationBadge component displays the duration while the live stream is active.
10
+ */
11
+ export declare const DurationBadge: ({ mode }: DurationBadgeProps) => React.JSX.Element;
12
+ //# sourceMappingURL=DurationBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DurationBadge.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamTopView/DurationBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,aAAc,kBAAkB,sBAoIzD,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ /**
3
+ * Props for the FollowerCount component.
4
+ */
5
+ export type FollowerCountProps = {};
6
+ /**
7
+ * The FollowerCount component that displays the number of participants while in the call.
8
+ */
9
+ export declare const FollowerCount: ({}: FollowerCountProps) => React.JSX.Element;
10
+ //# sourceMappingURL=FollowerCount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FollowerCount.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamTopView/FollowerCount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,aAAa,OAAQ,kBAAkB,sBAsCnD,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { DurationBadgeProps } from './DurationBadge';
3
+ import { LiveIndicatorProps } from './LiveIndicator';
4
+ import { FollowerCountProps } from './FollowerCount';
5
+ /**
6
+ * Props for the HostLivestreamTopView component.
7
+ */
8
+ export type HostLivestreamTopViewProps = {
9
+ /**
10
+ * Component to customize the Duration badge component on the host's live stream's top view.
11
+ */
12
+ DurationBadge?: React.ComponentType<DurationBadgeProps> | null;
13
+ /**
14
+ * Component to customize the Live indicator on the host's live stream's top view.
15
+ */
16
+ LiveIndicator?: React.ComponentType<LiveIndicatorProps> | null;
17
+ /**
18
+ * Component to customize the Follower count indicator on the host's live stream's top view.
19
+ */
20
+ FollowerCount?: React.ComponentType<FollowerCountProps> | null;
21
+ };
22
+ /**
23
+ * The HostLivestreamTopView component displays the top view component of the host's live stream.
24
+ */
25
+ export declare const HostLivestreamTopView: ({ DurationBadge, LiveIndicator, FollowerCount, }: HostLivestreamTopViewProps) => React.JSX.Element;
26
+ //# sourceMappingURL=HostLivestreamTopView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HostLivestreamTopView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamTopView/HostLivestreamTopView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAKzB;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAC/D;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAC/D;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;CAChE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,qDAI/B,0BAA0B,sBAgC5B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ /**
3
+ * Props for the LiveIndicator component.
4
+ */
5
+ export type LiveIndicatorProps = {};
6
+ /**
7
+ * The LiveIndicator component displays whether the live stream is live or not.
8
+ */
9
+ export declare const LiveIndicator: ({}: LiveIndicatorProps) => React.JSX.Element;
10
+ //# sourceMappingURL=LiveIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LiveIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamTopView/LiveIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,aAAa,OAAQ,kBAAkB,sBAyBnD,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import { DurationBadgeProps } from './DurationBadge';
3
+ import { LiveIndicatorProps } from './LiveIndicator';
4
+ import { FollowerCountProps } from './FollowerCount';
5
+ /**
6
+ * Props for the ViewerLivestreamTopView component.
7
+ */
8
+ export type ViewerLivestreamTopViewProps = {
9
+ /**
10
+ * Component to customize the Duration badge component on the viewer's live stream's top view.
11
+ */
12
+ DurationBadge?: React.ComponentType<DurationBadgeProps> | null;
13
+ /**
14
+ * Component to customize the Live indicator on the viewer's live stream's top view.
15
+ */
16
+ LiveIndicator?: React.ComponentType<LiveIndicatorProps> | null;
17
+ /**
18
+ * Component to customize the Follower count indicator on the viewer's live stream's top view.
19
+ */
20
+ FollowerCount?: React.ComponentType<FollowerCountProps> | null;
21
+ };
22
+ /**
23
+ * The ViewerLivestreamTopView component displays the top view component of the viewer's live stream.
24
+ */
25
+ export declare const ViewerLivestreamTopView: ({ DurationBadge, LiveIndicator, FollowerCount, }: ViewerLivestreamTopViewProps) => React.JSX.Element;
26
+ //# sourceMappingURL=ViewerLivestreamTopView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewerLivestreamTopView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAIzB;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAC/D;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAC/D;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;CAChE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,qDAIjC,4BAA4B,sBA6B9B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './DurationBadge';
2
+ export * from './FollowerCount';
3
+ export * from './LiveIndicator';
4
+ export * from './HostLivestreamTopView';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/LivestreamTopView/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import { ViewerLivestreamTopViewProps } from '../LivestreamTopView/ViewerLivestreamTopView';
3
+ import { ViewerLivestreamControlsProps } from '../LivestreamControls/ViewerLivestreamControls';
4
+ import { ViewerLeaveStreamButtonProps } from '../LivestreamControls/ViewerLeaveStreamButton';
5
+ import { LivestreamLayoutProps } from '../LivestreamLayout';
6
+ import { FloatingParticipantViewProps } from '../../Participant';
7
+ /**
8
+ * Props for the ViewerLivestream component.
9
+ */
10
+ export type ViewerLivestreamProps = ViewerLivestreamTopViewProps & ViewerLivestreamControlsProps & ViewerLeaveStreamButtonProps & {
11
+ /**
12
+ * Component to customize the top view at the viewer's live stream.
13
+ */
14
+ ViewerLivestreamTopView?: React.ComponentType<ViewerLivestreamTopViewProps> | null;
15
+ /**
16
+ * Component to customize the live stream video layout.
17
+ */
18
+ LivestreamLayout?: React.ComponentType<LivestreamLayoutProps> | null;
19
+ /**
20
+ * Component to customize the bottom view controls at the viewer's live stream.
21
+ */
22
+ ViewerLivestreamControls?: React.ComponentType<ViewerLivestreamControlsProps> | null;
23
+ /**
24
+ * Component to customize the FloatingParticipantView when screen is shared.
25
+ */
26
+ FloatingParticipantView?: React.ComponentType<FloatingParticipantViewProps> | null;
27
+ };
28
+ /**
29
+ * The ViewerLivestream component renders the UI for the Viewer's live stream.
30
+ */
31
+ export declare const ViewerLivestream: ({ ViewerLivestreamTopView, ViewerLivestreamControls, LivestreamLayout, FloatingParticipantView, LiveIndicator, FollowerCount, DurationBadge, ViewerLeaveStreamButton, onLeaveStreamHandler, }: ViewerLivestreamProps) => React.JSX.Element;
32
+ //# sourceMappingURL=ViewerLivestream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewerLivestream.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAEL,4BAA4B,EAC7B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAEL,6BAA6B,EAC9B,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAEL,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAEL,4BAA4B,EAC7B,MAAM,mBAAmB,CAAC;AAG3B;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,4BAA4B,GAC9D,6BAA6B,GAC7B,4BAA4B,GAAG;IAC7B;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;IACnF;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;IACrE;;OAEG;IACH,wBAAwB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC;IACrF;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;CACpF,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,gBAAgB,kMAU1B,qBAAqB,sBAkDvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ViewerLivestream';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Livestream/ViewerLivestream/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './HostLivestream';
2
+ export * from './LivestreamControls';
3
+ export * from './LivestreamTopView';
4
+ export * from './ViewerLivestream';
5
+ export * from './LivestreamLayout';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Livestream/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}