@livekit/components-js-docs 0.0.2

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 (395) hide show
  1. package/README.md +10 -0
  2. package/generated-docs/core/activespeakerobserver.md +9 -0
  3. package/generated-docs/core/allparticipantevents.md +9 -0
  4. package/generated-docs/core/allparticipantroomevents.md +9 -0
  5. package/generated-docs/core/allremoteparticipantevents.md +9 -0
  6. package/generated-docs/core/allremoteparticipantroomevents.md +9 -0
  7. package/generated-docs/core/attachifsubscribed.md +9 -0
  8. package/generated-docs/core/audiosource.md +9 -0
  9. package/generated-docs/core/basedatamessage.md +16 -0
  10. package/generated-docs/core/basedatamessage.payload.md +9 -0
  11. package/generated-docs/core/basedatamessage.topic.md +9 -0
  12. package/generated-docs/core/captureoptionsbysource.md +17 -0
  13. package/generated-docs/core/chatmessage.md +16 -0
  14. package/generated-docs/core/chatmessage.message.md +9 -0
  15. package/generated-docs/core/chatmessage.timestamp.md +9 -0
  16. package/generated-docs/core/computemenuposition.md +15 -0
  17. package/generated-docs/core/connectedparticipantobserver.md +13 -0
  18. package/generated-docs/core/connectedparticipantobserveroptions.md +11 -0
  19. package/generated-docs/core/connectedparticipantsobserver.md +12 -0
  20. package/generated-docs/core/connectionstateobserver.md +11 -0
  21. package/generated-docs/core/createactivedeviceobservable.md +12 -0
  22. package/generated-docs/core/createconnectionqualityobserver.md +11 -0
  23. package/generated-docs/core/createdataobserver.md +18 -0
  24. package/generated-docs/core/createdefaultgrammar.md +12 -0
  25. package/generated-docs/core/createisspeakingobserver.md +9 -0
  26. package/generated-docs/core/createmediadeviceobserver.md +12 -0
  27. package/generated-docs/core/createtrackobserver.md +14 -0
  28. package/generated-docs/core/createurlregexp.md +9 -0
  29. package/generated-docs/core/cssprefix.md +9 -0
  30. package/generated-docs/core/datasendoptions.md +12 -0
  31. package/generated-docs/core/datatopic.md +11 -0
  32. package/generated-docs/core/gettrackbyidentifier.md +11 -0
  33. package/generated-docs/core/gettrackreferenceid.md +15 -0
  34. package/generated-docs/core/gettrackreferencesource.md +15 -0
  35. package/generated-docs/core/grid_layouts.md +9 -0
  36. package/generated-docs/core/gridlayoutdefinition.md +17 -0
  37. package/generated-docs/core/index.md +115 -0
  38. package/generated-docs/core/isequaltrackref.md +12 -0
  39. package/generated-docs/core/islocal.md +9 -0
  40. package/generated-docs/core/ismobilebrowser.md +17 -0
  41. package/generated-docs/core/isparticipantsourcepinned.md +17 -0
  42. package/generated-docs/core/isremote.md +9 -0
  43. package/generated-docs/core/issourceswithoptions.md +11 -0
  44. package/generated-docs/core/issourcewitoptions.md +11 -0
  45. package/generated-docs/core/istrackreference.md +9 -0
  46. package/generated-docs/core/istrackreferencepinned.md +16 -0
  47. package/generated-docs/core/istrackreferenceplaceholder.md +11 -0
  48. package/generated-docs/core/log.md +9 -0
  49. package/generated-docs/core/mediatoggletype.md +16 -0
  50. package/generated-docs/core/mutedobserver.md +12 -0
  51. package/generated-docs/core/observeparticipantevents.md +12 -0
  52. package/generated-docs/core/observeparticipantmedia.md +11 -0
  53. package/generated-docs/core/observeroomevents.md +9 -0
  54. package/generated-docs/core/observetrackevents.md +12 -0
  55. package/generated-docs/core/participantclickevent.md +16 -0
  56. package/generated-docs/core/participantclickevent.participant.md +9 -0
  57. package/generated-docs/core/participantclickevent.track.md +9 -0
  58. package/generated-docs/core/participanteventselector.md +12 -0
  59. package/generated-docs/core/participantfilter.md +9 -0
  60. package/generated-docs/core/participantinfoobserver.md +20 -0
  61. package/generated-docs/core/participantmedia.cameratrack.md +9 -0
  62. package/generated-docs/core/participantmedia.iscameraenabled.md +9 -0
  63. package/generated-docs/core/participantmedia.ismicrophoneenabled.md +9 -0
  64. package/generated-docs/core/participantmedia.isscreenshareenabled.md +9 -0
  65. package/generated-docs/core/participantmedia.md +20 -0
  66. package/generated-docs/core/participantmedia.microphonetrack.md +9 -0
  67. package/generated-docs/core/participantmedia.participant.md +9 -0
  68. package/generated-docs/core/participantpermissionobserver.md +13 -0
  69. package/generated-docs/core/pin_default_state.md +9 -0
  70. package/generated-docs/core/pinstate.md +11 -0
  71. package/generated-docs/core/receivedchatmessage.from.md +9 -0
  72. package/generated-docs/core/receivedchatmessage.md +17 -0
  73. package/generated-docs/core/receiveddatamessage.from.md +9 -0
  74. package/generated-docs/core/receiveddatamessage.md +17 -0
  75. package/generated-docs/core/requireonlyone.md +12 -0
  76. package/generated-docs/core/roomaudioplaybackallowedobservable.md +11 -0
  77. package/generated-docs/core/roomeventselector.md +12 -0
  78. package/generated-docs/core/roominfoobserver.md +12 -0
  79. package/generated-docs/core/roomobserver.md +9 -0
  80. package/generated-docs/core/screenshareobserver.md +9 -0
  81. package/generated-docs/core/screensharetrackmap.md +12 -0
  82. package/generated-docs/core/selectgridlayout.md +14 -0
  83. package/generated-docs/core/sendmessage.md +18 -0
  84. package/generated-docs/core/setdifference.md +9 -0
  85. package/generated-docs/core/setloglevel.md +13 -0
  86. package/generated-docs/core/setmediadeviceoptions.md +11 -0
  87. package/generated-docs/core/setupchat.md +14 -0
  88. package/generated-docs/core/setupchattoggle.md +11 -0
  89. package/generated-docs/core/setupclearpinbutton.md +11 -0
  90. package/generated-docs/core/setupconnectionqualityindicator.md +70 -0
  91. package/generated-docs/core/setupdatamessagehandler.md +21 -0
  92. package/generated-docs/core/setupdeviceselector.md +17 -0
  93. package/generated-docs/core/setupdisconnectbutton.md +12 -0
  94. package/generated-docs/core/setupfocustoggle.md +11 -0
  95. package/generated-docs/core/setuplivekitroom.md +11 -0
  96. package/generated-docs/core/setupmanualtoggle.md +14 -0
  97. package/generated-docs/core/setupmediatoggle.md +13 -0
  98. package/generated-docs/core/setupmediatrack.md +12 -0
  99. package/generated-docs/core/setupparticipantname.md +23 -0
  100. package/generated-docs/core/setupparticipanttile.md +11 -0
  101. package/generated-docs/core/setupstartaudio.md +13 -0
  102. package/generated-docs/core/setuptrackmutedindicator.md +15 -0
  103. package/generated-docs/core/sortparticipants.md +13 -0
  104. package/generated-docs/core/sorttrackreferences.md +15 -0
  105. package/generated-docs/core/sourcesarray.md +11 -0
  106. package/generated-docs/core/supportsscreensharing.md +13 -0
  107. package/generated-docs/core/togglesource.md +12 -0
  108. package/generated-docs/core/tokenize.md +18 -0
  109. package/generated-docs/core/tokenizegrammar.md +11 -0
  110. package/generated-docs/core/trackidentifier.md +17 -0
  111. package/generated-docs/core/trackobservable.md +9 -0
  112. package/generated-docs/core/trackreference.md +13 -0
  113. package/generated-docs/core/trackreferencefilter.md +11 -0
  114. package/generated-docs/core/trackreferenceorplaceholder.md +11 -0
  115. package/generated-docs/core/trackreferenceplaceholder.md +13 -0
  116. package/generated-docs/core/trackreferencesobservable.md +16 -0
  117. package/generated-docs/core/tracksource.md +16 -0
  118. package/generated-docs/core/tracksourcewithoptions.md +12 -0
  119. package/generated-docs/core/updatepages.md +17 -0
  120. package/generated-docs/core/videosource.md +9 -0
  121. package/generated-docs/core/wasclickoutside.md +9 -0
  122. package/generated-docs/core/widget_default_state.md +9 -0
  123. package/generated-docs/core/widgetstate.md +12 -0
  124. package/generated-docs/index.md +10 -0
  125. package/generated-docs/react/allowaudioplaybackprops.label.md +9 -0
  126. package/generated-docs/react/allowaudioplaybackprops.md +19 -0
  127. package/generated-docs/react/audioconferenceprops.md +13 -0
  128. package/generated-docs/react/audiotrackprops.md +24 -0
  129. package/generated-docs/react/audiotrackprops.name.md +9 -0
  130. package/generated-docs/react/audiotrackprops.onsubscriptionstatuschanged.md +9 -0
  131. package/generated-docs/react/audiotrackprops.participant.md +9 -0
  132. package/generated-docs/react/audiotrackprops.publication.md +9 -0
  133. package/generated-docs/react/audiotrackprops.source.md +9 -0
  134. package/generated-docs/react/audiotrackprops.volume.md +13 -0
  135. package/generated-docs/react/audiovisualizerprops.md +19 -0
  136. package/generated-docs/react/audiovisualizerprops.participant.md +9 -0
  137. package/generated-docs/react/carouselviewprops.children.md +9 -0
  138. package/generated-docs/react/carouselviewprops.md +21 -0
  139. package/generated-docs/react/carouselviewprops.orientation.md +13 -0
  140. package/generated-docs/react/carouselviewprops.tracks.md +9 -0
  141. package/generated-docs/react/chatentryprops.entry.md +13 -0
  142. package/generated-docs/react/chatentryprops.hidename.md +13 -0
  143. package/generated-docs/react/chatentryprops.hidetimestamp.md +13 -0
  144. package/generated-docs/react/chatentryprops.md +24 -0
  145. package/generated-docs/react/chatentryprops.messageformatter.md +13 -0
  146. package/generated-docs/react/chatprops.md +19 -0
  147. package/generated-docs/react/chatprops.messageformatter.md +9 -0
  148. package/generated-docs/react/chattoggleprops.md +13 -0
  149. package/generated-docs/react/clearpinbuttonprops.md +13 -0
  150. package/generated-docs/react/component/audioconference.md +25 -0
  151. package/generated-docs/react/component/audiotrack.md +32 -0
  152. package/generated-docs/react/component/audiovisualizer.md +17 -0
  153. package/generated-docs/react/component/carouselview.md +30 -0
  154. package/generated-docs/react/component/chat.md +27 -0
  155. package/generated-docs/react/component/chatentry.md +30 -0
  156. package/generated-docs/react/component/chattoggle.md +21 -0
  157. package/generated-docs/react/component/clearpinbutton.md +25 -0
  158. package/generated-docs/react/component/connectionqualityindicator.md +19 -0
  159. package/generated-docs/react/component/connectionstate.md +27 -0
  160. package/generated-docs/react/component/connectionstatetoast.md +17 -0
  161. package/generated-docs/react/component/controlbar.md +32 -0
  162. package/generated-docs/react/component/disconnectbutton.md +27 -0
  163. package/generated-docs/react/component/focuslayout.md +18 -0
  164. package/generated-docs/react/component/focuslayoutcontainer.md +18 -0
  165. package/generated-docs/react/component/focustoggle.md +28 -0
  166. package/generated-docs/react/component/formatchatmessagelinks.md +11 -0
  167. package/generated-docs/react/component/gridlayout.md +30 -0
  168. package/generated-docs/react/component/livekitroom.md +40 -0
  169. package/generated-docs/react/component/mediadevicemenu.md +35 -0
  170. package/generated-docs/react/component/mediadeviceselect.md +34 -0
  171. package/generated-docs/react/component/participantaudiotile.md +29 -0
  172. package/generated-docs/react/component/participantcontextifneeded.md +11 -0
  173. package/generated-docs/react/component/participantloop.md +33 -0
  174. package/generated-docs/react/component/participantname.md +19 -0
  175. package/generated-docs/react/component/participanttile.md +31 -0
  176. package/generated-docs/react/component/prejoin.md +37 -0
  177. package/generated-docs/react/component/roomaudiorenderer.md +21 -0
  178. package/generated-docs/react/component/roomname.md +27 -0
  179. package/generated-docs/react/component/startaudio.md +27 -0
  180. package/generated-docs/react/component/toast.md +11 -0
  181. package/generated-docs/react/component/trackloop.md +31 -0
  182. package/generated-docs/react/component/trackmutedindicator.md +28 -0
  183. package/generated-docs/react/component/tracktoggle.md +32 -0
  184. package/generated-docs/react/component/videoconference.md +31 -0
  185. package/generated-docs/react/component/videotrack.md +30 -0
  186. package/generated-docs/react/connectionqualityindicatoroptions.md +17 -0
  187. package/generated-docs/react/connectionqualityindicatoroptions.participant.md +9 -0
  188. package/generated-docs/react/connectionqualityindicatorprops.md +13 -0
  189. package/generated-docs/react/connectionstatetoastprops.md +19 -0
  190. package/generated-docs/react/connectionstatetoastprops.room.md +9 -0
  191. package/generated-docs/react/connectionstatusprops.md +19 -0
  192. package/generated-docs/react/connectionstatusprops.room.md +13 -0
  193. package/generated-docs/react/controlbarcontrols.md +17 -0
  194. package/generated-docs/react/controlbarprops.controls.md +9 -0
  195. package/generated-docs/react/controlbarprops.md +20 -0
  196. package/generated-docs/react/controlbarprops.variation.md +9 -0
  197. package/generated-docs/react/disconnectbuttonprops.md +19 -0
  198. package/generated-docs/react/disconnectbuttonprops.stoptracks.md +9 -0
  199. package/generated-docs/react/focuslayoutcontainerprops.focustrack.md +9 -0
  200. package/generated-docs/react/focuslayoutcontainerprops.md +20 -0
  201. package/generated-docs/react/focuslayoutcontainerprops.participants.md +9 -0
  202. package/generated-docs/react/focuslayoutprops.md +20 -0
  203. package/generated-docs/react/focuslayoutprops.onparticipantclick.md +9 -0
  204. package/generated-docs/react/focuslayoutprops.track.md +9 -0
  205. package/generated-docs/react/focustoggleprops.md +20 -0
  206. package/generated-docs/react/focustoggleprops.participant.md +9 -0
  207. package/generated-docs/react/focustoggleprops.tracksource.md +9 -0
  208. package/generated-docs/react/gridlayoutprops.children.md +9 -0
  209. package/generated-docs/react/gridlayoutprops.md +20 -0
  210. package/generated-docs/react/gridlayoutprops.tracks.md +9 -0
  211. package/generated-docs/react/hook/prejoinprops.userlabel.md +9 -0
  212. package/generated-docs/react/hook/usechat.md +15 -0
  213. package/generated-docs/react/hook/usechattoggle.md +21 -0
  214. package/generated-docs/react/hook/useclearpinbutton.md +21 -0
  215. package/generated-docs/react/hook/useconnectionqualityindicator.md +21 -0
  216. package/generated-docs/react/hook/useconnectionstate.md +29 -0
  217. package/generated-docs/react/hook/usecreatelayoutcontext.md +15 -0
  218. package/generated-docs/react/hook/usedatachannel.md +22 -0
  219. package/generated-docs/react/hook/usedatachannel_1.md +21 -0
  220. package/generated-docs/react/hook/usedisconnectbutton.md +21 -0
  221. package/generated-docs/react/hook/useensurecreatelayoutcontext.md +21 -0
  222. package/generated-docs/react/hook/useensurelayoutcontext.md +23 -0
  223. package/generated-docs/react/hook/useensureparticipant.md +23 -0
  224. package/generated-docs/react/hook/useensureroom.md +23 -0
  225. package/generated-docs/react/hook/useensuretrackreference.md +23 -0
  226. package/generated-docs/react/hook/usefocustoggle.md +21 -0
  227. package/generated-docs/react/hook/usegridlayout.md +24 -0
  228. package/generated-docs/react/hook/useismuted.md +22 -0
  229. package/generated-docs/react/hook/useisspeaking.md +21 -0
  230. package/generated-docs/react/hook/uselayoutcontext.md +17 -0
  231. package/generated-docs/react/hook/uselivekitroom.md +21 -0
  232. package/generated-docs/react/hook/uselocalparticipant.md +23 -0
  233. package/generated-docs/react/hook/uselocalparticipantpermissions.md +15 -0
  234. package/generated-docs/react/hook/usemaybelayoutcontext.md +17 -0
  235. package/generated-docs/react/hook/usemaybeparticipantcontext.md +17 -0
  236. package/generated-docs/react/hook/usemayberoomcontext.md +17 -0
  237. package/generated-docs/react/hook/usemaybetrackcontext.md +17 -0
  238. package/generated-docs/react/hook/usemediadevices.md +21 -0
  239. package/generated-docs/react/hook/usemediadeviceselect.md +21 -0
  240. package/generated-docs/react/hook/usemediatrack.md +23 -0
  241. package/generated-docs/react/hook/usemediatrackbyname.md +23 -0
  242. package/generated-docs/react/hook/useparticipantcontext.md +17 -0
  243. package/generated-docs/react/hook/useparticipantinfo.md +21 -0
  244. package/generated-docs/react/hook/useparticipantpermissions.md +21 -0
  245. package/generated-docs/react/hook/useparticipants.md +23 -0
  246. package/generated-docs/react/hook/useparticipanttile.md +21 -0
  247. package/generated-docs/react/hook/usepinnedtracks.md +21 -0
  248. package/generated-docs/react/hook/usepreviewdevice.md +23 -0
  249. package/generated-docs/react/hook/useremoteparticipant.md +22 -0
  250. package/generated-docs/react/hook/useremoteparticipants.md +23 -0
  251. package/generated-docs/react/hook/useroomcontext.md +17 -0
  252. package/generated-docs/react/hook/useroominfo.md +21 -0
  253. package/generated-docs/react/hook/usesortedparticipants.md +23 -0
  254. package/generated-docs/react/hook/usespeakingparticipants.md +17 -0
  255. package/generated-docs/react/hook/usetoken.md +23 -0
  256. package/generated-docs/react/hook/usetokenoptions.userinfo.md +9 -0
  257. package/generated-docs/react/hook/usetrackcontext.md +17 -0
  258. package/generated-docs/react/hook/usetrackmutedindicator.md +22 -0
  259. package/generated-docs/react/hook/usetracks.md +41 -0
  260. package/generated-docs/react/hook/usetracktoggle.md +21 -0
  261. package/generated-docs/react/hook/usevisualstableupdate.md +29 -0
  262. package/generated-docs/react/index.md +168 -0
  263. package/generated-docs/react/layoutcontext.md +11 -0
  264. package/generated-docs/react/layoutcontexttype.md +14 -0
  265. package/generated-docs/react/livekitroomprops.audio.md +13 -0
  266. package/generated-docs/react/livekitroomprops.connect.md +13 -0
  267. package/generated-docs/react/livekitroomprops.connectoptions.md +13 -0
  268. package/generated-docs/react/livekitroomprops.md +32 -0
  269. package/generated-docs/react/livekitroomprops.onconnected.md +9 -0
  270. package/generated-docs/react/livekitroomprops.ondisconnected.md +9 -0
  271. package/generated-docs/react/livekitroomprops.onerror.md +9 -0
  272. package/generated-docs/react/livekitroomprops.onmediadevicefailure.md +9 -0
  273. package/generated-docs/react/livekitroomprops.options.md +13 -0
  274. package/generated-docs/react/livekitroomprops.room.md +13 -0
  275. package/generated-docs/react/livekitroomprops.screen.md +13 -0
  276. package/generated-docs/react/livekitroomprops.serverurl.md +13 -0
  277. package/generated-docs/react/livekitroomprops.simulateparticipants.md +9 -0
  278. package/generated-docs/react/livekitroomprops.token.md +13 -0
  279. package/generated-docs/react/livekitroomprops.video.md +13 -0
  280. package/generated-docs/react/localuserchoices.md +17 -0
  281. package/generated-docs/react/mediadevicemenuprops.initialselection.md +9 -0
  282. package/generated-docs/react/mediadevicemenuprops.kind.md +9 -0
  283. package/generated-docs/react/mediadevicemenuprops.md +23 -0
  284. package/generated-docs/react/mediadevicemenuprops.onactivedevicechange.md +9 -0
  285. package/generated-docs/react/mediadevicemenuprops.requestpermissions.md +13 -0
  286. package/generated-docs/react/mediadevicemenuprops.tracks.md +9 -0
  287. package/generated-docs/react/mediadeviceselectprops.exactmatch.md +13 -0
  288. package/generated-docs/react/mediadeviceselectprops.initialselection.md +9 -0
  289. package/generated-docs/react/mediadeviceselectprops.kind.md +9 -0
  290. package/generated-docs/react/mediadeviceselectprops.md +26 -0
  291. package/generated-docs/react/mediadeviceselectprops.onactivedevicechange.md +9 -0
  292. package/generated-docs/react/mediadeviceselectprops.ondevicelistchange.md +9 -0
  293. package/generated-docs/react/mediadeviceselectprops.ondeviceselecterror.md +9 -0
  294. package/generated-docs/react/mediadeviceselectprops.requestpermissions.md +13 -0
  295. package/generated-docs/react/mediadeviceselectprops.track.md +9 -0
  296. package/generated-docs/react/messageformatter.md +11 -0
  297. package/generated-docs/react/participantcontext.md +11 -0
  298. package/generated-docs/react/participantloopprops.children.md +13 -0
  299. package/generated-docs/react/participantloopprops.md +18 -0
  300. package/generated-docs/react/participantloopprops.participants.md +13 -0
  301. package/generated-docs/react/participantnameprops.md +13 -0
  302. package/generated-docs/react/participanttileprops.disablespeakingindicator.md +9 -0
  303. package/generated-docs/react/participanttileprops.md +23 -0
  304. package/generated-docs/react/participanttileprops.onparticipantclick.md +9 -0
  305. package/generated-docs/react/participanttileprops.participant.md +9 -0
  306. package/generated-docs/react/participanttileprops.publication.md +9 -0
  307. package/generated-docs/react/participanttileprops.source.md +9 -0
  308. package/generated-docs/react/prejoinprops.camlabel.md +9 -0
  309. package/generated-docs/react/prejoinprops.debug.md +13 -0
  310. package/generated-docs/react/prejoinprops.defaults.md +13 -0
  311. package/generated-docs/react/prejoinprops.joinlabel.md +9 -0
  312. package/generated-docs/react/prejoinprops.md +27 -0
  313. package/generated-docs/react/prejoinprops.miclabel.md +9 -0
  314. package/generated-docs/react/prejoinprops.onerror.md +9 -0
  315. package/generated-docs/react/prejoinprops.onsubmit.md +13 -0
  316. package/generated-docs/react/prejoinprops.onvalidate.md +13 -0
  317. package/generated-docs/react/roomcontext.md +11 -0
  318. package/generated-docs/react/roomnameprops.childrenposition.md +9 -0
  319. package/generated-docs/react/roomnameprops.md +19 -0
  320. package/generated-docs/react/trackcontext.md +11 -0
  321. package/generated-docs/react/trackloopprops.children.md +13 -0
  322. package/generated-docs/react/trackloopprops.md +18 -0
  323. package/generated-docs/react/trackloopprops.tracks.md +13 -0
  324. package/generated-docs/react/trackmutedindicatorprops.md +21 -0
  325. package/generated-docs/react/trackmutedindicatorprops.participant.md +9 -0
  326. package/generated-docs/react/trackmutedindicatorprops.show.md +9 -0
  327. package/generated-docs/react/trackmutedindicatorprops.source.md +9 -0
  328. package/generated-docs/react/tracktoggleprops.captureoptions.md +9 -0
  329. package/generated-docs/react/tracktoggleprops.initialstate.md +9 -0
  330. package/generated-docs/react/tracktoggleprops.md +23 -0
  331. package/generated-docs/react/tracktoggleprops.onchange.md +9 -0
  332. package/generated-docs/react/tracktoggleprops.showicon.md +9 -0
  333. package/generated-docs/react/tracktoggleprops.source.md +9 -0
  334. package/generated-docs/react/usechattoggleprops.md +17 -0
  335. package/generated-docs/react/usechattoggleprops.props.md +9 -0
  336. package/generated-docs/react/usefocustoggleprops.md +19 -0
  337. package/generated-docs/react/usefocustoggleprops.participant.md +9 -0
  338. package/generated-docs/react/usefocustoggleprops.props.md +9 -0
  339. package/generated-docs/react/usefocustoggleprops.tracksource.md +9 -0
  340. package/generated-docs/react/useismutedoptions.md +17 -0
  341. package/generated-docs/react/useismutedoptions.participant.md +9 -0
  342. package/generated-docs/react/uselocalparticipantoptions.md +17 -0
  343. package/generated-docs/react/uselocalparticipantoptions.room.md +13 -0
  344. package/generated-docs/react/usemediadeviceselectprops.kind.md +9 -0
  345. package/generated-docs/react/usemediadeviceselectprops.md +20 -0
  346. package/generated-docs/react/usemediadeviceselectprops.requestpermissions.md +13 -0
  347. package/generated-docs/react/usemediadeviceselectprops.room.md +9 -0
  348. package/generated-docs/react/usemediadeviceselectprops.track.md +9 -0
  349. package/generated-docs/react/usemediatrackoptions.element.md +9 -0
  350. package/generated-docs/react/usemediatrackoptions.md +18 -0
  351. package/generated-docs/react/usemediatrackoptions.props.md +9 -0
  352. package/generated-docs/react/useparticipantinfooptions.md +17 -0
  353. package/generated-docs/react/useparticipantinfooptions.participant.md +9 -0
  354. package/generated-docs/react/useparticipantpermissionsoptions.md +17 -0
  355. package/generated-docs/react/useparticipantpermissionsoptions.participant.md +9 -0
  356. package/generated-docs/react/useparticipantsoptions.md +18 -0
  357. package/generated-docs/react/useparticipantsoptions.room.md +13 -0
  358. package/generated-docs/react/useparticipantsoptions.updateonlyon.md +13 -0
  359. package/generated-docs/react/useparticipanttileprops.disablespeakingindicator.md +9 -0
  360. package/generated-docs/react/useparticipanttileprops.htmlprops.md +9 -0
  361. package/generated-docs/react/useparticipanttileprops.md +24 -0
  362. package/generated-docs/react/useparticipanttileprops.onparticipantclick.md +9 -0
  363. package/generated-docs/react/useparticipanttileprops.participant.md +9 -0
  364. package/generated-docs/react/useparticipanttileprops.publication.md +9 -0
  365. package/generated-docs/react/useparticipanttileprops.source.md +9 -0
  366. package/generated-docs/react/useremoteparticipantoptions.md +17 -0
  367. package/generated-docs/react/useremoteparticipantoptions.updateonlyon.md +9 -0
  368. package/generated-docs/react/useremoteparticipantsoptions.md +18 -0
  369. package/generated-docs/react/useremoteparticipantsoptions.room.md +13 -0
  370. package/generated-docs/react/useremoteparticipantsoptions.updateonlyon.md +13 -0
  371. package/generated-docs/react/userinfo.identity.md +9 -0
  372. package/generated-docs/react/userinfo.md +19 -0
  373. package/generated-docs/react/userinfo.metadata.md +9 -0
  374. package/generated-docs/react/userinfo.name.md +9 -0
  375. package/generated-docs/react/useroominfooptions.md +17 -0
  376. package/generated-docs/react/useroominfooptions.room.md +9 -0
  377. package/generated-docs/react/usetokenoptions.md +17 -0
  378. package/generated-docs/react/usetrackmutedindicatoroptions.md +17 -0
  379. package/generated-docs/react/usetrackmutedindicatoroptions.participant.md +9 -0
  380. package/generated-docs/react/usetrackshookreturntype.md +17 -0
  381. package/generated-docs/react/usetracksoptions.md +15 -0
  382. package/generated-docs/react/usetracktoggleprops.md +13 -0
  383. package/generated-docs/react/usevisualstableupdateoptions.customsortfunction.md +13 -0
  384. package/generated-docs/react/usevisualstableupdateoptions.md +17 -0
  385. package/generated-docs/react/videoconferenceprops.chatmessageformatter.md +9 -0
  386. package/generated-docs/react/videoconferenceprops.md +19 -0
  387. package/generated-docs/react/videotrackprops.md +24 -0
  388. package/generated-docs/react/videotrackprops.name.md +9 -0
  389. package/generated-docs/react/videotrackprops.onsubscriptionstatuschanged.md +9 -0
  390. package/generated-docs/react/videotrackprops.ontrackclick.md +9 -0
  391. package/generated-docs/react/videotrackprops.participant.md +9 -0
  392. package/generated-docs/react/videotrackprops.publication.md +9 -0
  393. package/generated-docs/react/videotrackprops.source.md +9 -0
  394. package/meta-data.json +78 -0
  395. package/package.json +27 -0
@@ -0,0 +1,168 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## components-react package
4
+
5
+ ## Components
6
+
7
+ | Component | Description |
8
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
9
+ | [AudioTrack({ onSubscriptionStatusChanged, volume, ...props })](./react/component/audiotrack.md) | The AudioTrack component is responsible for rendering participant audio tracks. This component must have access to the participant's context, or alternatively pass it a <code>Participant</code> as a property. |
10
+ | [AudioVisualizer({ participant, ...props })](./react/component/audiovisualizer.md) | |
11
+ | [CarouselView({ tracks, orientation, ...props })](./react/component/carouselview.md) | The <code>CarouselLayout</code> displays a list of tracks horizontally or vertically. Depending on the size of the container, the carousel will display as many tiles as possible and overflows the rest. The CarouselLayout uses the <code>useVisualStableUpdate</code> hook to ensure that tile reordering due to track updates is visually stable but still moves the important tiles (speaking participants) to the front. |
12
+ | [ChatEntry({ entry, hideName, hideTimestamp, messageFormatter, ...props })](./react/component/chatentry.md) | The <code>ChatEntry</code> component holds and displays one chat message. |
13
+ | [ChatToggle(props)](./react/component/chattoggle.md) | The ChatToggle component toggles the visibility of the chat component. |
14
+ | [ClearPinButton(props)](./react/component/clearpinbutton.md) | The ClearPinButton is a basic html button with the added ability to signal the LiveKitRoom that it should display the grid view again. |
15
+ | [ConnectionQualityIndicator(props)](./react/component/connectionqualityindicator.md) | The ConnectionQualityIndicator shows the individual connection quality of a participant. |
16
+ | [ConnectionState({ room, ...props })](./react/component/connectionstate.md) | The ConnectionState component displays the connection status of the room in written form. |
17
+ | [ConnectionStateToast(props)](./react/component/connectionstatetoast.md) | |
18
+ | [DisconnectButton(props)](./react/component/disconnectbutton.md) | The DisconnectButton is a basic html button with the added ability to disconnect from a LiveKit room. Normally, it is used by end-users to leave a video or audio call. |
19
+ | [FocusLayout({ track, ...htmlProps })](./react/component/focuslayout.md) | |
20
+ | [FocusLayoutContainer(props)](./react/component/focuslayoutcontainer.md) | |
21
+ | [FocusToggle({ trackSource, participant, ...props })](./react/component/focustoggle.md) | The FocusToggle puts the ParticipantTile in focus or removes it from focus. |
22
+ | [formatChatMessageLinks(message)](./react/component/formatchatmessagelinks.md) | |
23
+ | [GridLayout({ tracks, ...props })](./react/component/gridlayout.md) | The GridLayout component displays the nested participants in a grid where every participants has the same size. |
24
+ | [LiveKitRoom(props)](./react/component/livekitroom.md) | The LiveKitRoom component provides the room context to all its child components. It is generally the starting point of your LiveKit app and the root of the LiveKit component tree. It provides the room state as a React context to all child components, so you don't have to pass it yourself. |
25
+ | [MediaDeviceSelect({ kind, initialSelection, onActiveDeviceChange, onDeviceListChange, onDeviceSelectError, exactMatch, track, requestPermissions, ...props })](./react/component/mediadeviceselect.md) | The MediaDeviceSelect list all media devices of one kind. Clicking on one of the listed devices make it the active media device. |
26
+ | [ParticipantAudioTile({ participant, children, source, publication, disableSpeakingIndicator, onParticipantClick, ...htmlProps })](./react/component/participantaudiotile.md) | The ParticipantAudioTile component is the base utility wrapper for displaying a visual representation of a participant. This component can be used as a child of the <code>TileLoop</code> or independently if a participant is passed as a property. |
27
+ | [ParticipantContextIfNeeded(props)](./react/component/participantcontextifneeded.md) | |
28
+ | [ParticipantLoop({ participants, ...props })](./react/component/participantloop.md) | The ParticipantLoop component loops over an array of participants to create a context for every participant. This component takes exactly one child component as a template. By providing your own template as a child you have full control over the look and feel of your participant representations. |
29
+ | [ParticipantName({ participant, ...props })](./react/component/participantname.md) | The ParticipantName component displays the name of the participant as a string within an HTML span element. If no participant name is undefined the participant identity string is displayed. |
30
+ | [ParticipantTile({ participant, children, source, onParticipantClick, publication, disableSpeakingIndicator, ...htmlProps })](./react/component/participanttile.md) | The ParticipantTile component is the base utility wrapper for displaying a visual representation of a participant. This component can be used as a child of the <code>TrackLoop</code> component or by spreading a track reference as properties. |
31
+ | [RoomAudioRenderer()](./react/component/roomaudiorenderer.md) | The RoomAudioRenderer component is a drop-in solution for adding audio to your LiveKit app. It takes care of handling remote participants’ audio tracks and makes sure that microphones and screen share are audible. |
32
+ | [RoomName({ childrenPosition, children, ...htmlAttributes })](./react/component/roomname.md) | The RoomName component renders the name of the connected LiveKit room inside a span tag. |
33
+ | [StartAudio({ label, ...props })](./react/component/startaudio.md) | The StartAudio component is only visible when the browser blocks audio playback. This is due to some browser implemented autoplay policies. To start audio playback, the user must perform a user-initiated event such as clicking this button. As soon as audio playback starts, the button hides itself again. |
34
+ | [Toast(props)](./react/component/toast.md) | |
35
+ | [TrackLoop({ tracks, ...props })](./react/component/trackloop.md) | The TrackLoop component loops over tracks. It is for example a easy way to loop over all participant camera and screen share tracks. TrackLoop creates a TrackContext for each track that you can use to e.g. render the track. |
36
+ | [TrackMutedIndicator({ source, participant, show, ...props })](./react/component/trackmutedindicator.md) | The TrackMutedIndicator shows whether the participant's camera or microphone is muted or not. |
37
+ | [TrackToggle({ showIcon, ...props })](./react/component/tracktoggle.md) | With the TrackToggle component it is possible to mute and unmute your camera and microphone. The component uses an html button element under the hood so you can treat it like a button. |
38
+ | [VideoTrack({ onTrackClick, onClick, onSubscriptionStatusChanged, name, publication, source, ...props })](./react/component/videotrack.md) | The VideoTrack component is responsible for rendering participant video tracks like <code>camera</code> and <code>screen_share</code>. This component must have access to the participant's context, or alternatively pass it a <code>Participant</code> as a property. |
39
+
40
+ ## Prefabs
41
+
42
+ | Prefab | Description |
43
+ | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
44
+ | [AudioConference({ ...props })](./react/component/audioconference.md) | This component is the default setup of a classic LiveKit audio conferencing app. It provides functionality like switching between participant grid view and focus view. |
45
+ | [Chat({ messageFormatter, ...props })](./react/component/chat.md) | The Chat component adds a basis chat functionality to the LiveKit room. The messages are distributed to all participants in the room. Only users who are in the room at the time of dispatch will receive the message. |
46
+ | [ControlBar({ variation, controls, ...props })](./react/component/controlbar.md) | The ControlBar prefab component gives the user the basic user interface to control their media devices and leave the room. |
47
+ | [MediaDeviceMenu({ kind, initialSelection, onActiveDeviceChange, tracks, requestPermissions, ...props })](./react/component/mediadevicemenu.md) | The MediaDeviceMenu prefab component is a button that opens a menu that lists all media devices and allows the user to select them. |
48
+ | [PreJoin({ defaults, onValidate, onSubmit, onError, debug, joinLabel, micLabel, camLabel, userLabel, ...htmlProps })](./react/component/prejoin.md) | The PreJoin prefab component is normally presented to the user before he enters a room. This component allows the user to check and select the preferred media device (camera und microphone). On submit the user decisions are returned, which can then be passed on to the LiveKitRoom so that the user enters the room with the correct media devices. |
49
+ | [VideoConference({ chatMessageFormatter, ...props })](./react/component/videoconference.md) | This component is the default setup of a classic LiveKit video conferencing app. It provides functionality like switching between participant grid view and focus view. |
50
+
51
+ ## Hooks
52
+
53
+ | Hook | Description |
54
+ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
55
+ | [useChat()](./react/hook/usechat.md) | |
56
+ | [useChatToggle({ props })](./react/hook/usechattoggle.md) | |
57
+ | [useClearPinButton(props)](./react/hook/useclearpinbutton.md) | |
58
+ | [useConnectionQualityIndicator(options)](./react/hook/useconnectionqualityindicator.md) | |
59
+ | [useConnectionState(room)](./react/hook/useconnectionstate.md) | The <code>useConnectionState</code> hook allows you to simply implement your own <code>ConnectionState</code> component. |
60
+ | [useCreateLayoutContext()](./react/hook/usecreatelayoutcontext.md) | |
61
+ | [useDataChannel(topic, onMessage)](./react/hook/usedatachannel.md) | |
62
+ | [useDataChannel(onMessage)](./react/hook/usedatachannel_1.md) | |
63
+ | [useDisconnectButton(props)](./react/hook/usedisconnectbutton.md) | |
64
+ | [useEnsureCreateLayoutContext(layoutContext)](./react/hook/useensurecreatelayoutcontext.md) | |
65
+ | [useEnsureLayoutContext(layoutContext)](./react/hook/useensurelayoutcontext.md) | Ensures that a layout context is provided, either via context or explicitly as a parameter. If not inside a <code>LayoutContext</code> and no layout context is provided, an error is thrown. |
66
+ | [useEnsureParticipant(participant)](./react/hook/useensureparticipant.md) | Ensures that a participant is provided, either via context or explicitly as a parameter. If not inside a <code>ParticipantContext</code> and no participant is provided, an error is thrown. |
67
+ | [useEnsureRoom(room)](./react/hook/useensureroom.md) | Ensures that a room is provided, either via context or explicitly as a parameter. If no room is provided, an error is thrown. |
68
+ | [useEnsureTrackReference(track)](./react/hook/useensuretrackreference.md) | Ensures that a track reference is provided, either via context or explicitly as a parameter. If not inside a <code>TrackContext</code> and no track reference is provided, an error is thrown. |
69
+ | [useFocusToggle({ trackSource, participant, props })](./react/hook/usefocustoggle.md) | |
70
+ | [useGridLayout(gridElement, trackCount)](./react/hook/usegridlayout.md) | The useGridLayout hook tries to select the best layout to fit all tiles. If the available screen space is not enough, it will reduce the number of maximum visible tiles and select a layout that still works visually within the given limitations. As the order of tiles changes over time, the hook tries to keep visual updates to a minimum while trying to display important tiles such as speaking participants or screen shares. |
71
+ | [useIsMuted(source, options)](./react/hook/useismuted.md) | |
72
+ | [useIsSpeaking(participant)](./react/hook/useisspeaking.md) | |
73
+ | [useLayoutContext()](./react/hook/uselayoutcontext.md) | Ensures that a layout context is provided via context. If no layout context is provided, an error is thrown. |
74
+ | [useLiveKitRoom(props)](./react/hook/uselivekitroom.md) | |
75
+ | [useLocalParticipant(options)](./react/hook/uselocalparticipant.md) | The useLocalParticipant hook the state of the local participant. |
76
+ | [useLocalParticipantPermissions()](./react/hook/uselocalparticipantpermissions.md) | |
77
+ | [useMaybeLayoutContext()](./react/hook/usemaybelayoutcontext.md) | Returns a layout context from the <code>LayoutContext</code> if it exists, otherwise <code>undefined</code>. |
78
+ | [useMaybeParticipantContext()](./react/hook/usemaybeparticipantcontext.md) | Returns a participant from the <code>ParticipantContext</code> if it exists, otherwise <code>undefined</code>. |
79
+ | [useMaybeRoomContext()](./react/hook/usemayberoomcontext.md) | Returns the room context if it exists, otherwise undefined. |
80
+ | [useMaybeTrackContext()](./react/hook/usemaybetrackcontext.md) | Returns a track reference from the <code>TrackContext</code> if it exists, otherwise <code>undefined</code>. |
81
+ | [useMediaDevices({ kind })](./react/hook/usemediadevices.md) | |
82
+ | [useMediaDeviceSelect({ kind, room, track, requestPermissions, })](./react/hook/usemediadeviceselect.md) | |
83
+ | [useMediaTrack(source, participant, options)](./react/hook/usemediatrack.md) | |
84
+ | [useMediaTrackByName(name, participant, options)](./react/hook/usemediatrackbyname.md) | |
85
+ | [useParticipantContext()](./react/hook/useparticipantcontext.md) | Ensures that a participant is provided via context. If not inside a <code>ParticipantContext</code>, an error is thrown. |
86
+ | [useParticipantInfo(props)](./react/hook/useparticipantinfo.md) | |
87
+ | [useParticipantPermissions(options)](./react/hook/useparticipantpermissions.md) | |
88
+ | [useParticipants(options)](./react/hook/useparticipants.md) | The useParticipants hook returns all participants (local and remote) of the current room. |
89
+ | [useParticipantTile({ participant, source, publication, onParticipantClick, disableSpeakingIndicator, htmlProps, })](./react/hook/useparticipanttile.md) | |
90
+ | [usePinnedTracks(layoutContext)](./react/hook/usepinnedtracks.md) | |
91
+ | [usePreviewDevice(enabled, deviceId, kind)](./react/hook/usepreviewdevice.md) | |
92
+ | [useRemoteParticipant(identity, options)](./react/hook/useremoteparticipant.md) | |
93
+ | [useRemoteParticipants(options)](./react/hook/useremoteparticipants.md) | The useRemoteParticipants |
94
+ | [useRoomContext()](./react/hook/useroomcontext.md) | Ensures that a room is provided via context. If no room is provided, an error is thrown. |
95
+ | [useRoomInfo(options)](./react/hook/useroominfo.md) | |
96
+ | [useSortedParticipants(participants)](./react/hook/usesortedparticipants.md) | The useSortedParticipants hook returns the only the active speakers of all participants. |
97
+ | [useSpeakingParticipants()](./react/hook/usespeakingparticipants.md) | The useSpeakingParticipants hook returns the only the active speakers of all participants. |
98
+ | [useToken(tokenEndpoint, roomName, options)](./react/hook/usetoken.md) | |
99
+ | [useTrackContext()](./react/hook/usetrackcontext.md) | Ensures that a track reference is provided via context. If not inside a <code>TrackContext</code>, an error is thrown. |
100
+ | [useTrackMutedIndicator(source, options)](./react/hook/usetrackmutedindicator.md) | |
101
+ | [useTracks(sources, options)](./react/hook/usetracks.md) | The <code>useTracks</code> hook returns an array of <code>TrackReference</code> or <code>TrackReferenceOrPlaceholder</code> depending on the provided <code>sources</code> property. If only subscribed tracks are desired, set the <code>onlySubscribed</code> property to <code>true</code>. |
102
+ | [useTrackToggle({ source, onChange, initialState, captureOptions, ...rest })](./react/hook/usetracktoggle.md) | |
103
+ | [useVisualStableUpdate(trackReferences, maxItemsOnPage, options)](./react/hook/usevisualstableupdate.md) | <p>**_(BETA)_** The useVisualStableUpdate hook tries to keep visual updates of the TackBundles array to a minimum, while still trying to display important tiles such as speaking participants or screen shares.</p><p>Updating works with pagination. For example, if a participant starts speaking on the second page, they will be moved to the first page by replacing the least active/interesting participant on the first page.</p> |
104
+
105
+ ## Others
106
+
107
+ | Other | Description |
108
+ | --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
109
+ | [AllowAudioPlaybackProps](./react/allowaudioplaybackprops.md) | |
110
+ | [AudioConferenceProps](./react/audioconferenceprops.md) | |
111
+ | [AudioTrackProps](./react/audiotrackprops.md) | |
112
+ | [AudioVisualizerProps](./react/audiovisualizerprops.md) | |
113
+ | [CarouselViewProps](./react/carouselviewprops.md) | |
114
+ | [ChatEntryProps](./react/chatentryprops.md) | ChatEntry composes the HTML div element under the hood, so you can pass all its props. These are the props specific to the ChatEntry component: |
115
+ | [ChatProps](./react/chatprops.md) | |
116
+ | [ChatToggleProps](./react/chattoggleprops.md) | |
117
+ | [ClearPinButtonProps](./react/clearpinbuttonprops.md) | |
118
+ | [ConnectionQualityIndicatorOptions](./react/connectionqualityindicatoroptions.md) | |
119
+ | [ConnectionQualityIndicatorProps](./react/connectionqualityindicatorprops.md) | |
120
+ | [ConnectionStateToastProps](./react/connectionstatetoastprops.md) | |
121
+ | [ConnectionStatusProps](./react/connectionstatusprops.md) | |
122
+ | [ControlBarControls](./react/controlbarcontrols.md) | |
123
+ | [ControlBarProps](./react/controlbarprops.md) | |
124
+ | [DisconnectButtonProps](./react/disconnectbuttonprops.md) | |
125
+ | [FocusLayoutContainerProps](./react/focuslayoutcontainerprops.md) | |
126
+ | [FocusLayoutProps](./react/focuslayoutprops.md) | |
127
+ | [FocusToggleProps](./react/focustoggleprops.md) | |
128
+ | [GridLayoutProps](./react/gridlayoutprops.md) | |
129
+ | [LayoutContext](./react/layoutcontext.md) | |
130
+ | [LayoutContextType](./react/layoutcontexttype.md) | |
131
+ | [LiveKitRoomProps](./react/livekitroomprops.md) | |
132
+ | [LocalUserChoices](./react/localuserchoices.md) | |
133
+ | [MediaDeviceMenuProps](./react/mediadevicemenuprops.md) | |
134
+ | [MediaDeviceSelectProps](./react/mediadeviceselectprops.md) | |
135
+ | [MessageFormatter](./react/messageformatter.md) | |
136
+ | [ParticipantContext](./react/participantcontext.md) | |
137
+ | [ParticipantLoopProps](./react/participantloopprops.md) | |
138
+ | [ParticipantNameProps](./react/participantnameprops.md) | |
139
+ | [ParticipantTileProps](./react/participanttileprops.md) | |
140
+ | [PreJoinProps](./react/prejoinprops.md) | |
141
+ | [RoomContext](./react/roomcontext.md) | |
142
+ | [RoomNameProps](./react/roomnameprops.md) | |
143
+ | [TrackContext](./react/trackcontext.md) | |
144
+ | [TrackLoopProps](./react/trackloopprops.md) | |
145
+ | [TrackMutedIndicatorProps](./react/trackmutedindicatorprops.md) | |
146
+ | [TrackToggleProps](./react/tracktoggleprops.md) | |
147
+ | [UseChatToggleProps](./react/usechattoggleprops.md) | |
148
+ | [UseFocusToggleProps](./react/usefocustoggleprops.md) | |
149
+ | [UseIsMutedOptions](./react/useismutedoptions.md) | |
150
+ | [UseLocalParticipantOptions](./react/uselocalparticipantoptions.md) | |
151
+ | [UseMediaDeviceSelectProps](./react/usemediadeviceselectprops.md) | |
152
+ | [UseMediaTrackOptions](./react/usemediatrackoptions.md) | |
153
+ | [UseParticipantInfoOptions](./react/useparticipantinfooptions.md) | |
154
+ | [UseParticipantPermissionsOptions](./react/useparticipantpermissionsoptions.md) | |
155
+ | [UseParticipantsOptions](./react/useparticipantsoptions.md) | |
156
+ | [UseParticipantTileProps](./react/useparticipanttileprops.md) | |
157
+ | [UseRemoteParticipantOptions](./react/useremoteparticipantoptions.md) | |
158
+ | [UseRemoteParticipantsOptions](./react/useremoteparticipantsoptions.md) | |
159
+ | [UserInfo](./react/userinfo.md) | |
160
+ | [UseRoomInfoOptions](./react/useroominfooptions.md) | |
161
+ | [UseTokenOptions](./react/usetokenoptions.md) | |
162
+ | [UseTrackMutedIndicatorOptions](./react/usetrackmutedindicatoroptions.md) | |
163
+ | [UseTracksHookReturnType](./react/usetrackshookreturntype.md) | |
164
+ | [UseTracksOptions](./react/usetracksoptions.md) | |
165
+ | [UseTrackToggleProps](./react/usetracktoggleprops.md) | |
166
+ | [UseVisualStableUpdateOptions](./react/usevisualstableupdateoptions.md) | |
167
+ | [VideoConferenceProps](./react/videoconferenceprops.md) | |
168
+ | [VideoTrackProps](./react/videotrackprops.md) | |
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LayoutContext variable
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ LayoutContext: React.Context<LayoutContextType | undefined>;
9
+ ```
10
+
11
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,14 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LayoutContextType type
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ export type LayoutContextType = {
9
+ pin: PinContextType;
10
+ widget: ChatContextType;
11
+ };
12
+ ```
13
+
14
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.audio property
4
+
5
+ Publish audio immediately after connecting to your LiveKit room.
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ audio?: AudioCaptureOptions | boolean;
11
+ ```
12
+
13
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.connect property
4
+
5
+ If set to true a connection to LiveKit room is initiated.
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ connect?: boolean;
11
+ ```
12
+
13
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.connectOptions property
4
+
5
+ Define options how to connect to the LiveKit server.
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ connectOptions?: RoomConnectOptions;
11
+ ```
12
+
13
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,32 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps interface
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ export interface LiveKitRoomProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onError'>
9
+ ```
10
+
11
+ **Extends:** Omit&lt;React.HTMLAttributes&lt;HTMLDivElement&gt;, 'onError'&gt;
12
+
13
+ {% partial file="p_usage.md" /%}
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | ------------------------------------------------------------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
19
+ | [audio?](./react/livekitroomprops.audio.md) | AudioCaptureOptions \| boolean | _(Optional)_ Publish audio immediately after connecting to your LiveKit room. |
20
+ | [connect?](./react/livekitroomprops.connect.md) | boolean | _(Optional)_ If set to true a connection to LiveKit room is initiated. |
21
+ | [connectOptions?](./react/livekitroomprops.connectoptions.md) | RoomConnectOptions | _(Optional)_ Define options how to connect to the LiveKit server. |
22
+ | [onConnected?](./react/livekitroomprops.onconnected.md) | () =&gt; void | _(Optional)_ |
23
+ | [onDisconnected?](./react/livekitroomprops.ondisconnected.md) | () =&gt; void | _(Optional)_ |
24
+ | [onError?](./react/livekitroomprops.onerror.md) | (error: Error) =&gt; void | _(Optional)_ |
25
+ | [onMediaDeviceFailure?](./react/livekitroomprops.onmediadevicefailure.md) | (failure?: MediaDeviceFailure) =&gt; void | _(Optional)_ |
26
+ | [options?](./react/livekitroomprops.options.md) | RoomOptions | _(Optional)_ Options for when creating a new room. When you pass your own room instance to this component, these options have no effect. Instead, set the options directly in the room instance. |
27
+ | [room?](./react/livekitroomprops.room.md) | Room | _(Optional)_ Optional room instance. By passing your own room instance you overwrite the <code>options</code> parameter, make sure to set the options directly on the room instance itself. |
28
+ | [screen?](./react/livekitroomprops.screen.md) | ScreenShareCaptureOptions \| boolean | _(Optional)_ Publish screen share immediately after connecting to your LiveKit room. |
29
+ | [serverUrl](./react/livekitroomprops.serverurl.md) | string \| undefined | URL to the LiveKit server. For example: <code>wss://&lt;domain&gt;.livekit.cloud</code> To simplify the implementation, <code>undefined</code> is also accepted as an intermediate value, but only with a valid string url can the connection be established. |
30
+ | [simulateParticipants?](./react/livekitroomprops.simulateparticipants.md) | number \| undefined | _(Optional)_ |
31
+ | [token](./react/livekitroomprops.token.md) | string \| undefined | A user specific access token for a client to authenticate to the room. This token is necessary to establish a connection to the room. To simplify the implementation, <code>undefined</code> is also accepted as an intermediate value, but only with a valid string token can the connection be established. |
32
+ | [video?](./react/livekitroomprops.video.md) | VideoCaptureOptions \| boolean | _(Optional)_ Publish video immediately after connecting to your LiveKit room. |
@@ -0,0 +1,9 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.onConnected property
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ onConnected?: () => void;
9
+ ```
@@ -0,0 +1,9 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.onDisconnected property
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ onDisconnected?: () => void;
9
+ ```
@@ -0,0 +1,9 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.onError property
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ onError?: (error: Error) => void;
9
+ ```
@@ -0,0 +1,9 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.onMediaDeviceFailure property
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ onMediaDeviceFailure?: (failure?: MediaDeviceFailure) => void;
9
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.options property
4
+
5
+ Options for when creating a new room. When you pass your own room instance to this component, these options have no effect. Instead, set the options directly in the room instance.
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ options?: RoomOptions;
11
+ ```
12
+
13
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.room property
4
+
5
+ Optional room instance. By passing your own room instance you overwrite the `options` parameter, make sure to set the options directly on the room instance itself.
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ room?: Room;
11
+ ```
12
+
13
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.screen property
4
+
5
+ Publish screen share immediately after connecting to your LiveKit room.
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ screen?: ScreenShareCaptureOptions | boolean;
11
+ ```
12
+
13
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.serverUrl property
4
+
5
+ URL to the LiveKit server. For example: `wss://<domain>.livekit.cloud` To simplify the implementation, `undefined` is also accepted as an intermediate value, but only with a valid string url can the connection be established.
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ serverUrl: string | undefined;
11
+ ```
12
+
13
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,9 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.simulateParticipants property
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ simulateParticipants?: number | undefined;
9
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.token property
4
+
5
+ A user specific access token for a client to authenticate to the room. This token is necessary to establish a connection to the room. To simplify the implementation, `undefined` is also accepted as an intermediate value, but only with a valid string token can the connection be established.
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ token: string | undefined;
11
+ ```
12
+
13
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LiveKitRoomProps.video property
4
+
5
+ Publish video immediately after connecting to your LiveKit room.
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ video?: VideoCaptureOptions | boolean;
11
+ ```
12
+
13
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,17 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## LocalUserChoices type
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ export type LocalUserChoices = {
9
+ username: string;
10
+ videoEnabled: boolean;
11
+ audioEnabled: boolean;
12
+ videoDeviceId: string;
13
+ audioDeviceId: string;
14
+ };
15
+ ```
16
+
17
+ {% partial file="p_usage.md" /%}
@@ -0,0 +1,9 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## MediaDeviceMenuProps.initialSelection property
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ initialSelection?: string;
9
+ ```
@@ -0,0 +1,9 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## MediaDeviceMenuProps.kind property
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ kind?: MediaDeviceKind;
9
+ ```
@@ -0,0 +1,23 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ ## MediaDeviceMenuProps interface
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ export interface MediaDeviceMenuProps extends React.ButtonHTMLAttributes<HTMLButtonElement>
9
+ ```
10
+
11
+ **Extends:** React.ButtonHTMLAttributes&lt;HTMLButtonElement&gt;
12
+
13
+ {% partial file="p_usage.md" /%}
14
+
15
+ ## Properties
16
+
17
+ | Property | Type | Description |
18
+ | ----------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
19
+ | [initialSelection?](./react/mediadevicemenuprops.initialselection.md) | string | _(Optional)_ |
20
+ | [kind?](./react/mediadevicemenuprops.kind.md) | MediaDeviceKind | _(Optional)_ |
21
+ | [onActiveDeviceChange?](./react/mediadevicemenuprops.onactivedevicechange.md) | (kind: MediaDeviceKind, deviceId: string) =&gt; void | _(Optional)_ |
22
+ | [requestPermissions?](./react/mediadevicemenuprops.requestpermissions.md) | boolean | _(Optional)_ this will call getUserMedia if the permissions are not yet given to enumerate the devices with device labels. in some browsers multiple calls to getUserMedia result in multiple permission prompts. It's generally advised only flip this to true, once a (preview) track has been acquired successfully with the appropriate permissions. |
23
+ | [tracks?](./react/mediadevicemenuprops.tracks.md) | Partial&lt;Record&lt;MediaDeviceKind, LocalAudioTrack \| LocalVideoTrack \| undefined&gt;&gt; | _(Optional)_ |