daily-ruby 0.0.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (328) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +13 -12
  4. data/README.md +203 -40
  5. data/daily-ruby.gemspec +4 -4
  6. data/docs/BatchRoomCreateRequest.md +18 -0
  7. data/docs/BatchRoomCreateRequestRoomsInner.md +22 -0
  8. data/docs/BatchRoomDelete200Response.md +18 -0
  9. data/docs/BatchRoomsApi.md +150 -0
  10. data/docs/CreateMeetingToken200Response.md +1 -1
  11. data/docs/CreateMeetingTokenRequest.md +18 -0
  12. data/docs/CreateRoom200Response.md +30 -0
  13. data/docs/{RoomRequest.md → CreateRoomRequest.md} +3 -3
  14. data/docs/DailyLiveStreamingOptions.md +40 -0
  15. data/docs/DailyLiveStreamingOptionsRtmpUrl.md +49 -0
  16. data/docs/DailyStreamingActiveParticipantLayoutConfig.md +18 -0
  17. data/docs/DailyStreamingCustomLayoutConfig.md +24 -0
  18. data/docs/DailyStreamingCustomLayoutConfigCompositionParams.md +15 -0
  19. data/docs/DailyStreamingDefaultLayoutConfig.md +20 -0
  20. data/docs/{ServerErrorResponse.md → DailyStreamingEndpoint.md} +4 -4
  21. data/docs/DailyStreamingLayoutConfig.md +69 -0
  22. data/docs/DailyStreamingOptions.md +36 -0
  23. data/docs/DailyStreamingPortraitLayoutConfig.md +22 -0
  24. data/docs/DailyStreamingPortraitLayoutVariant.md +15 -0
  25. data/docs/DailyStreamingSingleParticipantLayoutConfig.md +20 -0
  26. data/docs/DeleteTranscript200Response.md +30 -0
  27. data/docs/Domain.md +18 -0
  28. data/docs/DomainApi.md +149 -0
  29. data/docs/DomainProperties.md +74 -0
  30. data/docs/Eject200Response.md +18 -0
  31. data/docs/EjectRequest.md +18 -0
  32. data/docs/GetDomainConfig200Response.md +22 -0
  33. data/docs/GetDomainConfig200ResponseConfig.md +54 -0
  34. data/docs/GetDomainConfig200ResponseConfigRecordingsBucket.md +20 -0
  35. data/docs/GetMeetingInfo200Response.md +20 -0
  36. data/docs/GetMeetingInfo200ResponseDataInner.md +28 -0
  37. data/docs/GetMeetingInfo200ResponseDataInnerParticipantsInner.md +26 -0
  38. data/docs/GetPresence200Response.md +18 -0
  39. data/docs/GetPresence200ResponseAIVWWhzHlLHrSdHdw7EWInner.md +28 -0
  40. data/docs/GetRecordingInfo200Response.md +36 -0
  41. data/docs/GetRecordingInfo200ResponseTracksInner.md +22 -0
  42. data/docs/GetRecordingLink200Response.md +20 -0
  43. data/docs/GetTranscriptInfo200Response.md +32 -0
  44. data/docs/GetTranscriptInfo200ResponseOutParams.md +22 -0
  45. data/docs/GetTranscriptLink200Response.md +22 -0
  46. data/docs/ListAPILogs200Response.md +38 -0
  47. data/docs/ListRecordings200Response.md +20 -0
  48. data/docs/ListRecordings200ResponseDataInner.md +30 -0
  49. data/docs/ListRooms200Response.md +20 -0
  50. data/docs/ListRooms200ResponseDataInner.md +30 -0
  51. data/docs/ListRooms200ResponseDataInnerConfig.md +18 -0
  52. data/docs/ListTranscript200Response.md +20 -0
  53. data/docs/ListTranscript200ResponseDataInner.md +28 -0
  54. data/docs/LogsApi.md +177 -0
  55. data/docs/MeetingParticipantsGetRes.md +20 -0
  56. data/docs/MeetingParticipantsGetResDataInner.md +28 -0
  57. data/docs/MeetingTokensApi.md +88 -10
  58. data/docs/MeetingsApi.md +247 -0
  59. data/docs/MeetingsMeetingGetRes.md +28 -0
  60. data/docs/Permissions.md +22 -0
  61. data/docs/{MeetingTokenRequestPropertiesPermissionsCanSend.md → PermissionsCanAdmin.md} +4 -4
  62. data/docs/{MeetingTokenRequestPropertiesPermissionsCanAdmin.md → PermissionsCanSend.md} +4 -4
  63. data/docs/PostWebhook.md +22 -0
  64. data/docs/PresenceApi.md +74 -0
  65. data/docs/Properties.md +60 -0
  66. data/docs/RecordingError.md +24 -0
  67. data/docs/RecordingErrorPayload.md +26 -0
  68. data/docs/RecordingReadyToDownload.md +24 -0
  69. data/docs/RecordingReadyToDownloadPayload.md +34 -0
  70. data/docs/RecordingStarted.md +24 -0
  71. data/docs/RecordingStartedPayload.md +28 -0
  72. data/docs/RecordingStreamingOptions.md +38 -0
  73. data/docs/RecordingsApi.md +303 -0
  74. data/docs/RecordingsBucket.md +26 -0
  75. data/docs/RoomProperties.md +94 -0
  76. data/docs/RoomPropertiesStreamingEndpointsInner.md +28 -0
  77. data/docs/RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md +26 -0
  78. data/docs/RoomsApi.md +1418 -0
  79. data/docs/RoomsRoomNameGetRes.md +30 -0
  80. data/docs/RoomsRoomNamePresenceGetRes.md +20 -0
  81. data/docs/RoomsRoomNamePresenceGetResDataInner.md +28 -0
  82. data/docs/SendAppMessageRequest.md +20 -0
  83. data/docs/SetRoomConfigRequest.md +20 -0
  84. data/docs/SetSessionDataRequest.md +22 -0
  85. data/docs/StreamingEnded.md +24 -0
  86. data/docs/StreamingEndedPayload.md +22 -0
  87. data/docs/StreamingError.md +24 -0
  88. data/docs/StreamingErrorPayload.md +26 -0
  89. data/docs/StreamingStarted.md +24 -0
  90. data/docs/StreamingStartedPayload.md +24 -0
  91. data/docs/StreamingUpdated.md +24 -0
  92. data/docs/StreamingUpdatedPayload.md +24 -0
  93. data/docs/TranscriptApi.md +305 -0
  94. data/docs/TranscriptionBucket.md +24 -0
  95. data/docs/TranscriptionProperties.md +32 -0
  96. data/docs/TranscriptionPropertiesEndpointing.md +49 -0
  97. data/docs/TranscriptionPropertiesRedact.md +51 -0
  98. data/docs/UpdatePermissionsRequest.md +18 -0
  99. data/docs/UpdatePermissionsRequestDataValue.md +22 -0
  100. data/docs/UpdatePermissionsRequestDataValueCanSend.md +49 -0
  101. data/docs/UpdateWebhook.md +22 -0
  102. data/docs/ValidateMeetingToken200Response.md +28 -0
  103. data/docs/Webhook.md +38 -0
  104. data/docs/WebhooksApi.md +370 -0
  105. data/example.rb +61 -0
  106. data/lib/daily-ruby/api/batch_rooms_api.rb +143 -0
  107. data/lib/daily-ruby/api/domain_api.rb +143 -0
  108. data/lib/daily-ruby/api/logs_api.rb +181 -0
  109. data/lib/daily-ruby/api/meeting_tokens_api.rb +78 -12
  110. data/lib/daily-ruby/api/meetings_api.rb +238 -0
  111. data/lib/daily-ruby/api/presence_api.rb +77 -0
  112. data/lib/daily-ruby/api/recordings_api.rb +280 -0
  113. data/lib/daily-ruby/api/rooms_api.rb +1302 -0
  114. data/lib/daily-ruby/api/transcript_api.rb +283 -0
  115. data/lib/daily-ruby/api/webhooks_api.rb +339 -0
  116. data/lib/daily-ruby/api_client.rb +4 -4
  117. data/lib/daily-ruby/api_error.rb +4 -4
  118. data/lib/daily-ruby/configuration.rb +19 -7
  119. data/lib/daily-ruby/models/{room_deleted_response.rb → batch_room_create_request.rb} +16 -24
  120. data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +232 -0
  121. data/lib/daily-ruby/models/batch_room_delete200_response.rb +214 -0
  122. data/lib/daily-ruby/models/create_meeting_token200_response.rb +4 -4
  123. data/lib/daily-ruby/models/{server_error_response.rb → create_meeting_token_request.rb} +14 -15
  124. data/lib/daily-ruby/models/create_room200_response.rb +270 -0
  125. data/lib/daily-ruby/models/create_room_request.rb +232 -0
  126. data/lib/daily-ruby/models/daily_live_streaming_options.rb +324 -0
  127. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_send.rb → daily_live_streaming_options_rtmp_url.rb} +6 -6
  128. data/lib/daily-ruby/models/{room_request.rb → daily_streaming_active_participant_layout_config.rb} +29 -41
  129. data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +293 -0
  130. data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +105 -0
  131. data/lib/daily-ruby/models/daily_streaming_default_layout_config.rb +264 -0
  132. data/lib/daily-ruby/models/daily_streaming_endpoint.rb +221 -0
  133. data/lib/daily-ruby/models/daily_streaming_layout_config.rb +46 -0
  134. data/lib/daily-ruby/models/daily_streaming_options.rb +304 -0
  135. data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +273 -0
  136. data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +40 -0
  137. data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +271 -0
  138. data/lib/daily-ruby/models/delete_transcript200_response.rb +307 -0
  139. data/lib/daily-ruby/models/{meeting_token_request.rb → domain.rb} +8 -9
  140. data/lib/daily-ruby/models/domain_properties.rb +570 -0
  141. data/lib/daily-ruby/models/eject200_response.rb +216 -0
  142. data/lib/daily-ruby/models/eject_request.rb +217 -0
  143. data/lib/daily-ruby/models/get_domain_config200_response.rb +271 -0
  144. data/lib/daily-ruby/models/get_domain_config200_response_config.rb +395 -0
  145. data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +223 -0
  146. data/lib/daily-ruby/models/get_meeting_info200_response.rb +259 -0
  147. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +353 -0
  148. data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +290 -0
  149. data/lib/daily-ruby/models/get_presence200_response.rb +243 -0
  150. data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +370 -0
  151. data/lib/daily-ruby/models/get_recording_info200_response.rb +340 -0
  152. data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +269 -0
  153. data/lib/daily-ruby/models/get_recording_link200_response.rb +225 -0
  154. data/lib/daily-ruby/models/get_transcript_info200_response.rb +317 -0
  155. data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +232 -0
  156. data/lib/daily-ruby/models/get_transcript_link200_response.rb +233 -0
  157. data/lib/daily-ruby/models/list_api_logs200_response.rb +315 -0
  158. data/lib/daily-ruby/models/list_recordings200_response.rb +227 -0
  159. data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +272 -0
  160. data/lib/daily-ruby/models/list_rooms200_response.rb +227 -0
  161. data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +270 -0
  162. data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +216 -0
  163. data/lib/daily-ruby/models/list_transcript200_response.rb +227 -0
  164. data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +298 -0
  165. data/lib/daily-ruby/models/meeting_participants_get_res.rb +225 -0
  166. data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +259 -0
  167. data/lib/daily-ruby/models/meetings_meeting_get_res.rb +259 -0
  168. data/lib/daily-ruby/models/permissions.rb +234 -0
  169. data/lib/daily-ruby/models/permissions_can_admin.rb +106 -0
  170. data/lib/daily-ruby/models/permissions_can_send.rb +106 -0
  171. data/lib/daily-ruby/models/post_webhook.rb +259 -0
  172. data/lib/daily-ruby/models/{meeting_token_request_properties.rb → properties.rb} +81 -29
  173. data/lib/daily-ruby/models/recording_error.rb +278 -0
  174. data/lib/daily-ruby/models/recording_error_payload.rb +290 -0
  175. data/lib/daily-ruby/models/recording_ready_to_download.rb +278 -0
  176. data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +344 -0
  177. data/lib/daily-ruby/models/recording_started.rb +278 -0
  178. data/lib/daily-ruby/models/recording_started_payload.rb +299 -0
  179. data/lib/daily-ruby/models/recording_streaming_options.rb +350 -0
  180. data/lib/daily-ruby/models/recordings_bucket.rb +258 -0
  181. data/lib/daily-ruby/models/room_properties.rb +678 -0
  182. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -0
  183. data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +255 -0
  184. data/lib/daily-ruby/models/{room_response.rb → rooms_room_name_get_res.rb} +22 -12
  185. data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +225 -0
  186. data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +259 -0
  187. data/lib/daily-ruby/models/send_app_message_request.rb +227 -0
  188. data/lib/daily-ruby/models/set_room_config_request.rb +223 -0
  189. data/lib/daily-ruby/models/set_session_data_request.rb +273 -0
  190. data/lib/daily-ruby/models/streaming_ended.rb +278 -0
  191. data/lib/daily-ruby/models/streaming_ended_payload.rb +236 -0
  192. data/lib/daily-ruby/models/streaming_error.rb +278 -0
  193. data/lib/daily-ruby/models/streaming_error_payload.rb +256 -0
  194. data/lib/daily-ruby/models/streaming_started.rb +278 -0
  195. data/lib/daily-ruby/models/streaming_started_payload.rb +245 -0
  196. data/lib/daily-ruby/models/streaming_updated.rb +278 -0
  197. data/lib/daily-ruby/models/streaming_updated_payload.rb +245 -0
  198. data/lib/daily-ruby/models/transcription_bucket.rb +246 -0
  199. data/lib/daily-ruby/models/transcription_properties.rb +283 -0
  200. data/lib/daily-ruby/models/transcription_properties_endpointing.rb +106 -0
  201. data/lib/daily-ruby/models/transcription_properties_redact.rb +107 -0
  202. data/lib/daily-ruby/models/{room_not_found_response.rb → update_permissions_request.rb} +16 -24
  203. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions.rb → update_permissions_request_data_value.rb} +13 -12
  204. data/lib/daily-ruby/models/{meeting_token_request_properties_permissions_can_admin.rb → update_permissions_request_data_value_can_send.rb} +5 -5
  205. data/lib/daily-ruby/models/update_webhook.rb +259 -0
  206. data/lib/daily-ruby/models/validate_meeting_token200_response.rb +265 -0
  207. data/lib/daily-ruby/models/webhook.rb +339 -0
  208. data/lib/daily-ruby/version.rb +5 -5
  209. data/lib/daily-ruby.rb +101 -16
  210. data/run.sh +1 -1
  211. data/spec/api/batch_rooms_api_spec.rb +58 -0
  212. data/spec/api/domain_api_spec.rb +58 -0
  213. data/spec/api/logs_api_spec.rb +70 -0
  214. data/spec/api/meeting_tokens_api_spec.rb +20 -7
  215. data/spec/api/meetings_api_spec.rb +81 -0
  216. data/spec/api/presence_api_spec.rb +45 -0
  217. data/spec/api/recordings_api_spec.rb +86 -0
  218. data/spec/api/rooms_api_spec.rb +278 -0
  219. data/spec/api/transcript_api_spec.rb +87 -0
  220. data/spec/api/webhooks_api_spec.rb +95 -0
  221. data/spec/models/batch_room_create_request_rooms_inner_spec.rb +48 -0
  222. data/spec/models/batch_room_create_request_spec.rb +36 -0
  223. data/spec/models/batch_room_delete200_response_spec.rb +36 -0
  224. data/spec/models/create_meeting_token200_response_spec.rb +4 -4
  225. data/spec/models/create_meeting_token_request_spec.rb +36 -0
  226. data/spec/models/create_room200_response_spec.rb +72 -0
  227. data/spec/models/{room_request_spec.rb → create_room_request_spec.rb} +10 -14
  228. data/spec/models/daily_live_streaming_options_rtmp_url_spec.rb +32 -0
  229. data/spec/models/daily_live_streaming_options_spec.rb +102 -0
  230. data/spec/models/daily_streaming_active_participant_layout_config_spec.rb +40 -0
  231. data/spec/models/daily_streaming_custom_layout_config_composition_params_spec.rb +21 -0
  232. data/spec/models/daily_streaming_custom_layout_config_spec.rb +58 -0
  233. data/spec/models/daily_streaming_default_layout_config_spec.rb +46 -0
  234. data/spec/models/daily_streaming_endpoint_spec.rb +36 -0
  235. data/spec/models/daily_streaming_layout_config_spec.rb +38 -0
  236. data/spec/models/daily_streaming_options_spec.rb +90 -0
  237. data/spec/models/daily_streaming_portrait_layout_config_spec.rb +52 -0
  238. data/spec/models/daily_streaming_portrait_layout_variant_spec.rb +30 -0
  239. data/spec/models/daily_streaming_single_participant_layout_config_spec.rb +46 -0
  240. data/spec/models/delete_transcript200_response_spec.rb +76 -0
  241. data/spec/models/{room_request_properties_spec.rb → domain_properties_spec.rb} +39 -49
  242. data/spec/models/domain_spec.rb +36 -0
  243. data/spec/models/eject200_response_spec.rb +36 -0
  244. data/spec/models/eject_request_spec.rb +36 -0
  245. data/spec/models/get_domain_config200_response_config_recordings_bucket_spec.rb +42 -0
  246. data/spec/models/get_domain_config200_response_config_spec.rb +144 -0
  247. data/spec/models/get_domain_config200_response_spec.rb +48 -0
  248. data/spec/models/get_meeting_info200_response_data_inner_participants_inner_spec.rb +60 -0
  249. data/spec/models/get_meeting_info200_response_data_inner_spec.rb +66 -0
  250. data/spec/models/get_meeting_info200_response_spec.rb +42 -0
  251. data/spec/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner_spec.rb +66 -0
  252. data/spec/models/get_presence200_response_spec.rb +36 -0
  253. data/spec/models/get_recording_info200_response_spec.rb +94 -0
  254. data/spec/models/get_recording_info200_response_tracks_inner_spec.rb +52 -0
  255. data/spec/models/get_recording_link200_response_spec.rb +42 -0
  256. data/spec/models/get_transcript_info200_response_out_params_spec.rb +48 -0
  257. data/spec/models/get_transcript_info200_response_spec.rb +82 -0
  258. data/spec/models/get_transcript_link200_response_spec.rb +48 -0
  259. data/spec/models/list_api_logs200_response_spec.rb +96 -0
  260. data/spec/models/list_recordings200_response_data_inner_spec.rb +72 -0
  261. data/spec/models/list_recordings200_response_spec.rb +42 -0
  262. data/spec/models/list_rooms200_response_data_inner_config_spec.rb +36 -0
  263. data/spec/models/list_rooms200_response_data_inner_spec.rb +72 -0
  264. data/spec/models/list_rooms200_response_spec.rb +42 -0
  265. data/spec/models/list_transcript200_response_data_inner_spec.rb +70 -0
  266. data/spec/models/list_transcript200_response_spec.rb +42 -0
  267. data/spec/models/meeting_participants_get_res_data_inner_spec.rb +66 -0
  268. data/spec/models/meeting_participants_get_res_spec.rb +42 -0
  269. data/spec/models/meetings_meeting_get_res_spec.rb +66 -0
  270. data/spec/models/{meeting_token_request_properties_permissions_can_send_spec.rb → permissions_can_admin_spec.rb} +6 -6
  271. data/spec/models/{meeting_token_request_properties_permissions_can_admin_spec.rb → permissions_can_send_spec.rb} +6 -6
  272. data/spec/models/{meeting_token_request_properties_permissions_spec.rb → permissions_spec.rb} +10 -10
  273. data/spec/models/post_webhook_spec.rb +52 -0
  274. data/spec/models/{meeting_token_request_properties_spec.rb → properties_spec.rb} +27 -15
  275. data/spec/models/recording_error_payload_spec.rb +64 -0
  276. data/spec/models/recording_error_spec.rb +58 -0
  277. data/spec/models/recording_ready_to_download_payload_spec.rb +92 -0
  278. data/spec/models/recording_ready_to_download_spec.rb +58 -0
  279. data/spec/models/recording_started_payload_spec.rb +70 -0
  280. data/spec/models/recording_started_spec.rb +58 -0
  281. data/spec/models/recording_streaming_options_spec.rb +100 -0
  282. data/spec/models/recordings_bucket_spec.rb +60 -0
  283. data/spec/models/room_properties_spec.rb +272 -0
  284. data/spec/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner_spec.rb +60 -0
  285. data/spec/models/room_properties_streaming_endpoints_inner_spec.rb +66 -0
  286. data/spec/models/{room_response_spec.rb → rooms_room_name_get_res_spec.rb} +16 -10
  287. data/spec/models/rooms_room_name_presence_get_res_data_inner_spec.rb +66 -0
  288. data/spec/models/rooms_room_name_presence_get_res_spec.rb +42 -0
  289. data/spec/models/send_app_message_request_spec.rb +42 -0
  290. data/spec/models/set_room_config_request_spec.rb +42 -0
  291. data/spec/models/set_session_data_request_spec.rb +52 -0
  292. data/spec/models/streaming_ended_payload_spec.rb +48 -0
  293. data/spec/models/streaming_ended_spec.rb +58 -0
  294. data/spec/models/streaming_error_payload_spec.rb +60 -0
  295. data/spec/models/streaming_error_spec.rb +58 -0
  296. data/spec/models/streaming_started_payload_spec.rb +54 -0
  297. data/spec/models/streaming_started_spec.rb +58 -0
  298. data/spec/models/streaming_updated_payload_spec.rb +54 -0
  299. data/spec/models/streaming_updated_spec.rb +58 -0
  300. data/spec/models/transcription_bucket_spec.rb +54 -0
  301. data/spec/models/transcription_properties_endpointing_spec.rb +32 -0
  302. data/spec/models/transcription_properties_redact_spec.rb +32 -0
  303. data/spec/models/transcription_properties_spec.rb +78 -0
  304. data/spec/models/update_permissions_request_data_value_can_send_spec.rb +32 -0
  305. data/spec/models/update_permissions_request_data_value_spec.rb +48 -0
  306. data/spec/models/update_permissions_request_spec.rb +36 -0
  307. data/spec/models/update_webhook_spec.rb +52 -0
  308. data/spec/models/validate_meeting_token200_response_spec.rb +66 -0
  309. data/spec/models/webhook_spec.rb +100 -0
  310. data/spec/spec_helper.rb +4 -4
  311. metadata +391 -52
  312. data/daily.yaml +0 -422
  313. data/docs/MeetingTokenRequest.md +0 -18
  314. data/docs/MeetingTokenRequestProperties.md +0 -56
  315. data/docs/MeetingTokenRequestPropertiesPermissions.md +0 -22
  316. data/docs/RoomApi.md +0 -227
  317. data/docs/RoomDeletedResponse.md +0 -20
  318. data/docs/RoomNotFoundResponse.md +0 -20
  319. data/docs/RoomRequestProperties.md +0 -76
  320. data/docs/RoomResponse.md +0 -28
  321. data/lib/daily-ruby/api/room_api.rb +0 -218
  322. data/lib/daily-ruby/models/room_request_properties.rb +0 -521
  323. data/script.rb +0 -35
  324. data/spec/api/room_api_spec.rb +0 -74
  325. data/spec/models/meeting_token_request_spec.rb +0 -36
  326. data/spec/models/room_deleted_response_spec.rb +0 -42
  327. data/spec/models/room_not_found_response_spec.rb +0 -42
  328. data/spec/models/server_error_response_spec.rb +0 -36
@@ -0,0 +1,303 @@
1
+ # Daily::RecordingsApi
2
+
3
+ All URIs are relative to *https://api.daily.co/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**delete_recording**](RecordingsApi.md#delete_recording) | **DELETE** /recordings/{recording_id} | recordings/:id |
8
+ | [**get_recording_info**](RecordingsApi.md#get_recording_info) | **GET** /recordings/{recording_id} | recordings/:id |
9
+ | [**get_recording_link**](RecordingsApi.md#get_recording_link) | **GET** /recordings/{recording_id}/access-link | recordings/:id/access-link |
10
+ | [**list_recordings**](RecordingsApi.md#list_recordings) | **GET** /recordings | /recordings |
11
+
12
+
13
+ ## delete_recording
14
+
15
+ > Object delete_recording(recording_id)
16
+
17
+ recordings/:id
18
+
19
+ Delete a recording
20
+
21
+ ### Examples
22
+
23
+ ```ruby
24
+ require 'time'
25
+ require 'daily-ruby'
26
+ # setup authorization
27
+ Daily.configure do |config|
28
+ # Configure API key authorization: sec0
29
+ config.api_key['sec0'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ # config.api_key_prefix['sec0'] = 'Bearer'
32
+ end
33
+
34
+ api_instance = Daily::RecordingsApi.new
35
+ recording_id = 'recording_id_example' # String |
36
+
37
+ begin
38
+ # recordings/:id
39
+ result = api_instance.delete_recording(recording_id)
40
+ p result
41
+ rescue Daily::ApiError => e
42
+ puts "Error when calling RecordingsApi->delete_recording: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the delete_recording_with_http_info variant
47
+
48
+ This returns an Array which contains the response data, status code and headers.
49
+
50
+ > <Array(Object, Integer, Hash)> delete_recording_with_http_info(recording_id)
51
+
52
+ ```ruby
53
+ begin
54
+ # recordings/:id
55
+ data, status_code, headers = api_instance.delete_recording_with_http_info(recording_id)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => Object
59
+ rescue Daily::ApiError => e
60
+ puts "Error when calling RecordingsApi->delete_recording_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **recording_id** | **String** | | |
69
+
70
+ ### Return type
71
+
72
+ **Object**
73
+
74
+ ### Authorization
75
+
76
+ [sec0](../README.md#sec0)
77
+
78
+ ### HTTP request headers
79
+
80
+ - **Content-Type**: Not defined
81
+ - **Accept**: application/json
82
+
83
+
84
+ ## get_recording_info
85
+
86
+ > <GetRecordingInfo200Response> get_recording_info(recording_id)
87
+
88
+ recordings/:id
89
+
90
+ Get info about a recording
91
+
92
+ ### Examples
93
+
94
+ ```ruby
95
+ require 'time'
96
+ require 'daily-ruby'
97
+ # setup authorization
98
+ Daily.configure do |config|
99
+ # Configure API key authorization: sec0
100
+ config.api_key['sec0'] = 'YOUR API KEY'
101
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
102
+ # config.api_key_prefix['sec0'] = 'Bearer'
103
+ end
104
+
105
+ api_instance = Daily::RecordingsApi.new
106
+ recording_id = 'recording_id_example' # String |
107
+
108
+ begin
109
+ # recordings/:id
110
+ result = api_instance.get_recording_info(recording_id)
111
+ p result
112
+ rescue Daily::ApiError => e
113
+ puts "Error when calling RecordingsApi->get_recording_info: #{e}"
114
+ end
115
+ ```
116
+
117
+ #### Using the get_recording_info_with_http_info variant
118
+
119
+ This returns an Array which contains the response data, status code and headers.
120
+
121
+ > <Array(<GetRecordingInfo200Response>, Integer, Hash)> get_recording_info_with_http_info(recording_id)
122
+
123
+ ```ruby
124
+ begin
125
+ # recordings/:id
126
+ data, status_code, headers = api_instance.get_recording_info_with_http_info(recording_id)
127
+ p status_code # => 2xx
128
+ p headers # => { ... }
129
+ p data # => <GetRecordingInfo200Response>
130
+ rescue Daily::ApiError => e
131
+ puts "Error when calling RecordingsApi->get_recording_info_with_http_info: #{e}"
132
+ end
133
+ ```
134
+
135
+ ### Parameters
136
+
137
+ | Name | Type | Description | Notes |
138
+ | ---- | ---- | ----------- | ----- |
139
+ | **recording_id** | **String** | | |
140
+
141
+ ### Return type
142
+
143
+ [**GetRecordingInfo200Response**](GetRecordingInfo200Response.md)
144
+
145
+ ### Authorization
146
+
147
+ [sec0](../README.md#sec0)
148
+
149
+ ### HTTP request headers
150
+
151
+ - **Content-Type**: Not defined
152
+ - **Accept**: application/json
153
+
154
+
155
+ ## get_recording_link
156
+
157
+ > <GetRecordingLink200Response> get_recording_link(recording_id)
158
+
159
+ recordings/:id/access-link
160
+
161
+ Generate an access link for a recording
162
+
163
+ ### Examples
164
+
165
+ ```ruby
166
+ require 'time'
167
+ require 'daily-ruby'
168
+ # setup authorization
169
+ Daily.configure do |config|
170
+ # Configure API key authorization: sec0
171
+ config.api_key['sec0'] = 'YOUR API KEY'
172
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
173
+ # config.api_key_prefix['sec0'] = 'Bearer'
174
+ end
175
+
176
+ api_instance = Daily::RecordingsApi.new
177
+ recording_id = 'recording_id_example' # String |
178
+
179
+ begin
180
+ # recordings/:id/access-link
181
+ result = api_instance.get_recording_link(recording_id)
182
+ p result
183
+ rescue Daily::ApiError => e
184
+ puts "Error when calling RecordingsApi->get_recording_link: #{e}"
185
+ end
186
+ ```
187
+
188
+ #### Using the get_recording_link_with_http_info variant
189
+
190
+ This returns an Array which contains the response data, status code and headers.
191
+
192
+ > <Array(<GetRecordingLink200Response>, Integer, Hash)> get_recording_link_with_http_info(recording_id)
193
+
194
+ ```ruby
195
+ begin
196
+ # recordings/:id/access-link
197
+ data, status_code, headers = api_instance.get_recording_link_with_http_info(recording_id)
198
+ p status_code # => 2xx
199
+ p headers # => { ... }
200
+ p data # => <GetRecordingLink200Response>
201
+ rescue Daily::ApiError => e
202
+ puts "Error when calling RecordingsApi->get_recording_link_with_http_info: #{e}"
203
+ end
204
+ ```
205
+
206
+ ### Parameters
207
+
208
+ | Name | Type | Description | Notes |
209
+ | ---- | ---- | ----------- | ----- |
210
+ | **recording_id** | **String** | | |
211
+
212
+ ### Return type
213
+
214
+ [**GetRecordingLink200Response**](GetRecordingLink200Response.md)
215
+
216
+ ### Authorization
217
+
218
+ [sec0](../README.md#sec0)
219
+
220
+ ### HTTP request headers
221
+
222
+ - **Content-Type**: Not defined
223
+ - **Accept**: application/json
224
+
225
+
226
+ ## list_recordings
227
+
228
+ > <ListRecordings200Response> list_recordings(opts)
229
+
230
+ /recordings
231
+
232
+ List recordings
233
+
234
+ ### Examples
235
+
236
+ ```ruby
237
+ require 'time'
238
+ require 'daily-ruby'
239
+ # setup authorization
240
+ Daily.configure do |config|
241
+ # Configure API key authorization: sec0
242
+ config.api_key['sec0'] = 'YOUR API KEY'
243
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
244
+ # config.api_key_prefix['sec0'] = 'Bearer'
245
+ end
246
+
247
+ api_instance = Daily::RecordingsApi.new
248
+ opts = {
249
+ limit: 56, # Integer |
250
+ ending_before: 'ending_before_example', # String |
251
+ starting_after: 'starting_after_example', # String |
252
+ room_name: 'room_name_example' # String |
253
+ }
254
+
255
+ begin
256
+ # /recordings
257
+ result = api_instance.list_recordings(opts)
258
+ p result
259
+ rescue Daily::ApiError => e
260
+ puts "Error when calling RecordingsApi->list_recordings: #{e}"
261
+ end
262
+ ```
263
+
264
+ #### Using the list_recordings_with_http_info variant
265
+
266
+ This returns an Array which contains the response data, status code and headers.
267
+
268
+ > <Array(<ListRecordings200Response>, Integer, Hash)> list_recordings_with_http_info(opts)
269
+
270
+ ```ruby
271
+ begin
272
+ # /recordings
273
+ data, status_code, headers = api_instance.list_recordings_with_http_info(opts)
274
+ p status_code # => 2xx
275
+ p headers # => { ... }
276
+ p data # => <ListRecordings200Response>
277
+ rescue Daily::ApiError => e
278
+ puts "Error when calling RecordingsApi->list_recordings_with_http_info: #{e}"
279
+ end
280
+ ```
281
+
282
+ ### Parameters
283
+
284
+ | Name | Type | Description | Notes |
285
+ | ---- | ---- | ----------- | ----- |
286
+ | **limit** | **Integer** | | [optional] |
287
+ | **ending_before** | **String** | | [optional] |
288
+ | **starting_after** | **String** | | [optional] |
289
+ | **room_name** | **String** | | [optional] |
290
+
291
+ ### Return type
292
+
293
+ [**ListRecordings200Response**](ListRecordings200Response.md)
294
+
295
+ ### Authorization
296
+
297
+ [sec0](../README.md#sec0)
298
+
299
+ ### HTTP request headers
300
+
301
+ - **Content-Type**: Not defined
302
+ - **Accept**: application/json
303
+
@@ -0,0 +1,26 @@
1
+ # Daily::RecordingsBucket
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **bucket_name** | **String** | The name of the Amazon S3 bucket to use for recording storage. | [optional] |
8
+ | **bucket_region** | **String** | The region which the specified S3 bucket is located in. | [optional] |
9
+ | **assume_role_arn** | **String** | The Amazon Resource Name (ARN) of the role Daily should assume when storing the recording in the specified bucket. | [optional] |
10
+ | **allow_api_access** | **Boolean** | Controls whether the recording will be accessible using Daily&#39;s API. | [optional] |
11
+ | **allow_streaming_from_bucket** | **Boolean** | Specifies which [&#x60;Content-Disposition&#x60;](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) response header the recording link retrieved from the [access-link](/reference/rest-api/recordings/get-recording-link) REST API endpoint will have. If &#x60;allow_streaming_from_bucket&#x60; is &#x60;false&#x60;, the header will be &#x60;Content-Dispostion: attachment&#x60;. If &#x60;allow_streaming_from_bucket&#x60; is &#x60;true&#x60;, the header will be &#x60;Content-Disposition: inline&#x60;. To play the recording link directly in the browser or embed it in a video player, set this property to &#x60;true&#x60;. | [optional][default to false] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'daily-ruby'
17
+
18
+ instance = Daily::RecordingsBucket.new(
19
+ bucket_name: my-daily-recording,
20
+ bucket_region: ap-south-1,
21
+ assume_role_arn: arn:aws:iam::555555555555:role/DailyS3AccessRole,
22
+ allow_api_access: null,
23
+ allow_streaming_from_bucket: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,94 @@
1
+ # Daily::RoomProperties
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **nbf** | **Integer** | \&quot;Not before\&quot;. This is a [unix timestamp](https://stackoverflow.com/questions/20822821/what-is-a-unix-timestamp-and-why-use-it) (seconds since the epoch.) Users cannot join a meeting in this room before this time. | [optional] |
8
+ | **exp** | **Integer** | \&quot;Expires\&quot;. This is a unix timestamp (seconds since the epoch.) Users cannot join a meeting in this room after this time. More resources: - [Add advanced security to video chats with the Daily API](https://www.daily.co/blog/add-advanced-security-features-to-video-chats-with-the-daily-api/) | [optional] |
9
+ | **max_participants** | **Integer** | How many people are allowed in a room at the same time. ⚠️ [Contact us](https://www.daily.co/contact) if you need to set the limit above 200. | [optional][default to 200] |
10
+ | **enable_people_ui** | **Boolean** | Determines if [Daily Prebuilt](/guides/products/prebuilt) displays the People UI. When set to true, a People button in the call tray reveals a People tab in the call sidebar. The tab lists all participants, and next to each name indicates audio status and an option to pin the participant. When &#x60;enable_people_ui&#x60; is set to false, the button and tab are hidden. ⚠️ Has no effect on custom calls built on the Daily [call object](/guides/products/call-object). | [optional] |
11
+ | **enable_pip_ui** | **Boolean** | Sets whether the room can use [Daily Prebuilt](https://www.daily.co/prebuilt)&#39;s Picture in Picture controls. When set to &#x60;true&#x60;, an additional button will be available in Daily Prebuilt&#39;s UI to toggle the Picture in Picture feature. ⚠️ This flag only applies to Daily Prebuilt. It has no effect when building custom video applications with the Daily call object. | [optional] |
12
+ | **enable_emoji_reactions** | **Boolean** | Determines if [Daily Prebuilt](https://www.daily.co/prebuilt) displays the Emoji Reactions UI. When set to &#x60;true&#x60;, a Reactions button appears in the call tray. This button allows users to select and send a reaction into the call. When set to &#x60;false&#x60;, the Reactions button is hidden and the feature is disabled. Usage: This feature is a good fit for meetings when a host or presenter would benefit from receiving nonverbal cues from the audience. It&#39;s also great to keep meetings fun. ⚠️ This flag only applies to Daily Prebuilt. It has no effect when building custom video applications with the Daily call object. | [optional] |
13
+ | **enable_hand_raising** | **Boolean** | Sets whether the participants in the room can use [Daily Prebuilt](https://www.daily.co/prebuilt)&#39;s hand raising controls. When set to &#x60;true&#x60;, an additional button will be available in Daily Prebuilt&#39;s UI to toggle a hand raise. ⚠️ This flag only applies to Daily Prebuilt. It has no effect when building custom video applications with the Daily call object. | [optional] |
14
+ | **enable_prejoin_ui** | **Boolean** | Determines whether participants enter a waiting room with a camera, mic, and browser check before joining a call. ⚠️ You must be using [Daily Prebuilt](https://daily.co/prebuilt) to use &#x60;enable_prejoin_ui&#x60;. | [optional] |
15
+ | **enable_network_ui** | **Boolean** | Determines whether the network button, and the network panel it reveals on click, appears in this room. ⚠️ You must be using [Daily Prebuilt](https://daily.co/prebuilt) to use &#x60;enable_network_ui&#x60;. | [optional] |
16
+ | **enable_noise_cancellation_ui** | **Boolean** | Determines whether Daily Prebuilt displays noise cancellation controls. When set to &#x60;true&#x60;, a participant can enable microphone noise cancellation during a Daily Prebuilt call. ⚠️ This flag only applies to [Daily Prebuilt](https://daily.co/prebuilt). It has no effect when building custom video applications with the Daily call object. To learn more about adding noise cancellation to a custom application, see the [&#x60;updateInputSettings()&#x60; docs](/reference/daily-js/instance-methods/update-input-settings). | [optional] |
17
+ | **enable_breakout_rooms** | **Boolean** | Sets whether [Daily Prebuilt](https://www.daily.co/prebuilt)’s breakout rooms feature is enabled. When set to &#x60;true&#x60;, an owner in a Prebuilt call can create breakout rooms to divide participants into smaller, private groups. ⚠️ You must be using [Daily Prebuilt](https://daily.co/blog/daily-prebuilt-video-chat) to use &#x60;enable_breakout_rooms&#x60;. ⚠️ This property is in beta. | [optional] |
18
+ | **enable_knocking** | **Boolean** | Turns on a lobby experience for private rooms. A participant without a corresponding [meeting token](/reference/rest-api/meeting-tokens/config) can request to be admitted to the meeting with a \&quot;knock\&quot;, and wait for the meeting owner to admit them. | [optional] |
19
+ | **enable_screenshare** | **Boolean** | Sets whether users in a room can screen share during a session. This property cannot be changed after a session starts. For dynamic control over permissions, use the [&#x60;updateParticipant()&#x60;](/reference/daily-js/instance-methods/update-participant#permissions) method to control user permissions. | [optional][default to true] |
20
+ | **enable_video_processing_ui** | **Boolean** | Determines whether Daily Prebuilt displays background blur controls. When set to &#x60;true&#x60;, a participant can enable blur during a Daily Prebuilt call. ⚠️ This flag only applies to Daily Prebuilt. It has no effect when building custom video applications with the Daily call object. | [optional][default to true] |
21
+ | **enable_chat** | **Boolean** | This property is one of [multiple ways to add chat to Daily video calls](https://www.daily.co/blog/three-ways-to-add-chat-to-your-video-calls-with-the-daily-api/). | [optional][default to false] |
22
+ | **start_video_off** | **Boolean** | Disable the default behavior of automatically turning on a participant&#39;s camera on a direct &#x60;join()&#x60; (i.e. without &#x60;startCamera()&#x60; first). | [optional][default to false] |
23
+ | **start_audio_off** | **Boolean** | Disable the default behavior of automatically turning on a participant&#39;s microphone on a direct &#x60;join()&#x60; (i.e. without &#x60;startCamera()&#x60; first). | [optional][default to false] |
24
+ | **owner_only_broadcast** | **Boolean** | In Daily Prebuilt, only the meeting owners will be able to turn on camera, unmute mic, and share screen. See [setting up calls](https://docs.daily.co/docs/setting-up-calls). | [optional][default to false] |
25
+ | **enable_recording** | **String** | Jump to [recording docs](/reference/rest-api/recordings). | [optional][default to &#39;&lt;not set&gt;&#39;] |
26
+ | **eject_at_room_exp** | **Boolean** | If there&#39;s a meeting going on at room &#x60;exp&#x60; time, end the meeting by kicking everyone out. This behavior can be overridden by setting &#x60;eject&#x60; properties of a [meeting token](/reference/rest-api/meeting-tokens). | [optional][default to false] |
27
+ | **eject_after_elapsed** | **Integer** | Eject a meeting participant this many seconds after the participant joins the meeting. You can use this is a default length limit to prevent long meetings. This can be overridden by setting &#x60;eject&#x60; properties of a [meeting token](/reference/rest-api/meeting-tokens). | [optional] |
28
+ | **enable_advanced_chat** | **Boolean** | Property that gives end users a richer chat experience. This includes: * Emoji reactions to chat messages * Emoji picker in the chat input form * Ability to send a Giphy chat message ⚠️ This flag only applies to Daily Prebuilt. It has no effect when building custom video applications with the Daily call object. | [optional][default to false] |
29
+ | **enable_hidden_participants** | **Boolean** | When enabled, non-owner users join a meeting with a hidden presence, meaning they won&#39;t appear as a named participant in the meeting and have no [participant events](https://docs.daily.co/reference/daily-js/events/participant-events) associated to them. Additionally, these participants can _only_ receive media tracks from owner participants. Hidden participants can be tracked using the [&#x60;participantCounts()&#x60;](/reference/daily-js/instance-methods/participant-counts) method. Hidden participants do _not_ have entries in the [&#x60;participants()&#x60;](/reference/daily-js/instance-methods/participants) method return value. When used with [Daily Prebuilt](/guides/products/prebuilt), hidden participants are included in the participant count available in the UI; however, are _not_ included in the People panel and can only read chat messages. This property should be used to support hosting large meetings. See our [guide on interactive live streaming](/guides/scaling-calls/interactive-live-streaming-rtmp-output#interactive-live-streaming-up-to-100-000-participants) for additional instruction. | [optional][default to false] |
30
+ | **enable_mesh_sfu** | **Boolean** | Configures a room to use multiple SFUs for a call&#39;s media. This feature enables calls to scale to large sizes and to reduce latency between participants. It is recommended specifically for interactive live streaming. See our [guide for interactive live streaming](/guides/scaling-calls/interactive-live-streaming-rtmp-output#daily-prebuilt-configurations-to-support-100-000-participants) for additional instruction. | [optional] |
31
+ | **sfu_switchover** | **Float** | Dictates the participant count after which room topology automatically switches from Peer-to-Peer (P2P) to Selective Forwarding Unit (SFU) mode, or vice versa. For example, if &#x60;sfu_switchover&#x60; is set to &#x60;3&#x60; and the current network topology is P2P, the topology will switch to SFU mode when the _fourth_ participant joins the call. If the current topology is SFU, it will switch to P2P mode when the participant count decreases from &#x60;3&#x60; to &#x60;2&#x60;. We recommend specifying an integer value for this property except for cases where you would like the room to switch to SFU mode as soon as the first participant joins. In this case, set &#x60;sfu_switchover&#x60; to &#x60;0.5&#x60;. See our [guide about video call architecture](/guides/architecture-and-monitoring/intro-to-video-arch#the-architecture-of-a-room-p2p-vs-sfu-calls) for additional information. | [optional][default to 2] |
32
+ | **experimental_optimize_large_calls** | **Boolean** | Enables Daily Prebuilt to support group calls of up to 1,000 participants and [owner only broadcast](/reference/rest-api/rooms/config#owner_only_broadcast) calls of up to 100K participants. When set to true, Daily Prebuilt will: - Automatically mute the local user on joining - Update grid view to show a maximum of 12 users in the grid at a time - Allow only 16 users to be unmuted at the same time. When more than 16 users are unmuted, the oldest active speaker will be automatically muted. See our [guide on large real-time calls](/guides/scaling-calls/large-real-time-calls) for additional instruction. ⚠️ This flag only applies to Daily Prebuilt. It has no effect when building custom video applications with the Daily call object. | [optional] |
33
+ | **lang** | **String** | The default language of the [Daily prebuilt video call UI](/guides/products/prebuilt#daily-prebuilt-ui), for this room. Setting the language at the room level will override any domain-level language settings you have. Read more about [changing prebuilt UI language settings](https://help.daily.co/en/articles/4579930-changing-the-language-setting-of-the-prebuilt-ui). &#x60;*&#x60; Norwegian &#x60;\&quot;no\&quot;&#x60; and Russian &#x60;\&quot;ru\&quot;&#x60; are only available in the new Daily Prebuilt. | [optional][default to &#39;en&#39;] |
34
+ | **meeting_join_hook** | **String** | Sets a URL that will receive a webhook when a user joins a room. Default is NULL. Character limit for webhook URL is 255. More resources: - [Configuring a webhook to send notifications when someone joins your video calls](https://www.daily.co/blog/configure-a-webhook-to-send-notifications-when-someone-joins-your-video-calls/) | [optional] |
35
+ | **geo** | **String** | Daily uses signaling servers to manage all of the participants in a given call session. In an SFU/server mode call, the server will send and receive all audio and video from each participant. In a peer-to-peer call, each participant sends media directly to and from each other peer, but a signaling server still manages call state. Daily runs servers in several different AWS regions to minimize latency for users around the world. The job of &#39;picking&#39; a call server is handled when the first participant joins a room. The first participant&#39;s browser connects to a call server using Amazon&#39;s Route 53 DNS resolution, which chooses a server in the region closest to them. This isn&#39;t always optimal. For example, if one person joins in London, and then ten more people join from Cape Town, the call will still be hosted out of &#x60;eu-west-2&#x60; . The majority of the participants will have higher latency to the server than if one of them had joined first and the call was being hosted in &#x60;af-south-1&#x60;. In cases like this, you may want to configure your domain (or a specific room) to always choose a call server in a specific AWS region. Available regions: - &#x60;\&quot;af-south-1\&quot;&#x60; (Cape Town) - &#x60;\&quot;ap-northeast-2\&quot;&#x60; (Seoul) - &#x60;\&quot;ap-southeast-1\&quot;&#x60; (Singapore) - &#x60;\&quot;ap-southeast-2\&quot;&#x60; (Sydney) - &#x60;\&quot;ap-south-1\&quot;&#x60; (Mumbai) - &#x60;\&quot;eu-central-1\&quot;&#x60; (Frankfurt) - &#x60;\&quot;eu-west-2\&quot;&#x60; (London) - &#x60;\&quot;sa-east-1\&quot;&#x60; (São Paulo) - &#x60;\&quot;us-east-1\&quot;&#x60; (N. Virginia) - &#x60;\&quot;us-west-2\&quot;&#x60; (Oregon) | [optional][default to &#39;NULL&#39;] |
36
+ | **rtmp_geo** | **String** | Used to select the region where an RTMP stream should originate. In cases where RTMP streaming services aren&#39;t available in the desired region, we&#39;ll attempt to fall back to the default region based on the SFU being used for the meeting. Available regions: - &#x60;\&quot;us-west-2\&quot;&#x60; (Oregon) - &#x60;\&quot;eu-central-1\&quot;&#x60; (Frankfurt) - &#x60;\&quot;ap-south-1\&quot;&#x60; (Mumbai) The default regions are grouped based on the SFU region like so: - RTMP region &#x60;\&quot;us-west-2\&quot;&#x60; includes SFU regions: &#x60;\&quot;us-west-2\&quot;&#x60;, &#x60;\&quot;us-east-1\&quot;&#x60;, &#x60;\&quot;sa-east-1\&quot;&#x60; - RTMP region &#x60;\&quot;eu-central-1\&quot;&#x60; includes SFU regions: &#x60;\&quot;eu-central-1\&quot;&#x60;, &#x60;\&quot;eu-west-2\&quot;&#x60;, &#x60;\&quot;af-south-1\&quot;&#x60; - RTMP region &#x60;\&quot;ap-south-1\&quot;&#x60; includes SFU regions: &#x60;\&quot;ap-southeast-1\&quot;&#x60;, &#x60;\&quot;ap-southeast-2\&quot;&#x60;, &#x60;\&quot;ap-northeast-2\&quot;&#x60;, &#x60;\&quot;ap-south-1\&quot;&#x60; | [optional][default to &#39;The closest available region to the SFU region used by the meeting.&#39;] |
37
+ | **disable_rtmp_geo_fallback** | **Boolean** | Disable the fall back behavior of rtmp_geo. When rtmp_geo is set, we first try to connect to a media server in desired region. If a media server is not available in the desired region, we fall back to default region based on SFU&#39;s region. This property disables this automatic fall back. When this property is set, we will trigger a recording/streaming error event when media worker is unavailable. Also, the client should retry recording/streaming. | [optional][default to false] |
38
+ | **recordings_bucket** | [**RecordingsBucket**](RecordingsBucket.md) | | [optional] |
39
+ | **enable_terse_logging** | **Boolean** | Reduces the volume of log messages. This feature should be enabled when there are more than 200 participants in a meeting to help improve performance. See our [guides for supporting large experiences](/guides/scaling-calls) for additional instruction. | [optional][default to false] |
40
+ | **auto_transcription_settings** | **Object** | Options to use when &#x60;auto_start_transcription&#x60; is true. See [&#x60;startTranscription()&#x60;](/reference/daily-js/instance-methods/start-transcription) for available options. | [optional] |
41
+ | **enable_transcription_storage** | **Boolean** | Live transcriptions generated can be saved as WebVTT. This flag controls if transcription started with [&#x60;startTranscription()&#x60;](/reference/daily-js/instance-methods/start-transcription) should be saved or not. | [optional][default to false] |
42
+ | **transcription_bucket** | [**TranscriptionBucket**](TranscriptionBucket.md) | | [optional] |
43
+ | **recordings_template** | **String** | Cloud recordings are stored in either Daily&#39;s S3 bucket or the customer&#39;s own S3 bucket. By default recordings are stored as &#x60;{domain_name}/{room_name}/{epoch_time}&#x60;. Sometimes, the use case may call for custom recording file names to be used (for example, if you&#39;d like to enforce the presence of the .mp4 extension in the file name). &#x60;recordings_template&#x60; is made up of a replacement string with prefixes, suffixes, or both. The currently supported replacements are: - &#x60;epoch_time&#x60;: The epoch time in seconds (mandatory) - &#x60;domain_name&#x60;: Your Daily domain (optional) - &#x60;room_name&#x60;: The name of the room which is getting recorded (optional) - &#x60;mtg_session_id&#x60;: The ID of the meeting session which is getting recorded (optional) - &#x60;instance_id&#x60;: The instance ID of the recording (optional) - &#x60;recording_id&#x60;: The recording ID of the recording (optional) The restrictions for defining a recording template are as follows: - The &#x60;epoch_time&#x60; tag is mandatory to ensure the recording file name is unique under all conditions - The maximum size of the template is 1024 characters - Each replacement parameter should be placed within a curly bracket (e.g., &#x60;{domain_name}&#x60;) - Only alphanumeric characters &#x60;(0-9, A-Z, a-z)&#x60; and &#x60;.&#x60;, &#x60;/&#x60;, &#x60;-&#x60;, &#x60;_&#x60; are valid within the template - &#x60;.mp4&#x60; is the only valid extension Examples - Example domain: \&quot;myDomain\&quot; - Example room: \&quot;myRoom\&quot; Example 1: - Template: &#x60;myprefix-{domain_name}-{epoch_time}.mp4&#x60; - Resulting file name: &#x60;myprefix-myDomain-1675842936274.mp4&#x60; Example 2: - Template: &#x60;{room_name}/{instance_id}/{epoch_time}&#x60; - Resulting room name: &#x60;myRoom/d529cd2f-fbcc-4fb7-b2c0-c4995b1162b6/1675842936274&#x60; | [optional][default to &#39;{domain_name}/{room_name}/{epoch_time}.&#39;] |
44
+ | **streaming_endpoints** | [**Array&lt;RoomPropertiesStreamingEndpointsInner&gt;**](RoomPropertiesStreamingEndpointsInner.md) | An array of stream endpoint configuration objects, which allows configurations to be pre-defined without having to pass them into [&#x60;startLiveStreaming()&#x60;](/reference/daily-js/instance-methods/start-live-streaming) at runtime. For example, an RTMP endpoint can be set up for YouTube as a &#x60;streaming_endpoints&#x60; configuration along with another configuration for HLS storage. HLS output can only be stored on a customer&#39;s S3, not in Daily&#39;s storage infrastructure. The stream configuration defines which S3 bucket to store the HLS output. (See the [S3 bucket guide](/guides/products/live-streaming-recording/storing-recordings-in-a-custom-s3-bucket) for more information.) Example: &#x60;&#x60;&#x60;json { \&quot;properties\&quot;: { // ... add additional room properties here \&quot;streaming_endpoints\&quot;: [ { \&quot;name\&quot;: \&quot;rtmp_youtube\&quot;, \&quot;type\&quot;: \&quot;rtmp\&quot;, \&quot;rtmp_config\&quot;: { \&quot;url\&quot;: \&quot;rtmps://exampleYouTubeServer.com:443/stream\&quot; } }, { \&quot;name\&quot;: \&quot;rtmp_ivs\&quot;, \&quot;type\&quot;: \&quot;rtmp\&quot;, \&quot;rtmp_config\&quot;: { \&quot;url\&quot;: \&quot;rtmps://811111111111.global-contribute.live-video.net:443/app/\&quot; } }, { \&quot;name\&quot;: \&quot;hls_akamai\&quot;, \&quot;type\&quot;: \&quot;hls\&quot;, \&quot;hls_config\&quot;: { \&quot;save_hls_recording\&quot;: true/false, \&quot;storage\&quot;: { \&quot;bucket_name\&quot;: \&quot;daily-hls-streams\&quot;, \&quot;bucket_region\&quot;: \&quot;us-west-2\&quot;, \&quot;assume_role_arn\&quot;: \&quot;arn:aws:iam::999999999999:role/DailyS3AccessRole\&quot;, \&quot;path_template\&quot;: \&quot;testHarness/{live_streaming_id}/{instance_id}\&quot; }, \&quot;variant\&quot; : [ { \&quot;width\&quot;: 1920, \&quot;height\&quot;: 1080, \&quot;fps\&quot;: 30, \&quot;bitrate\&quot;: 3500, \&quot;iframe_only\&quot;: false }, { \&quot;width\&quot;: 1280, \&quot;height\&quot;: 720, \&quot;fps\&quot;: 30, \&quot;bitrate\&quot;: 2500, \&quot;iframe_only\&quot;: false }, { \&quot;width\&quot;: 640, \&quot;height\&quot;: 360, \&quot;fps\&quot;: 30, \&quot;bitrate\&quot;: 780, \&quot;iframe_only\&quot;: true } ] } } ] } } &#x60;&#x60;&#x60; To reset the &#x60;streaming_endpoints&#x60; property, pass &#x60;null&#x60; instead of an array. When calling &#x60;startLiveStreaming()&#x60;, the pre-defined &#x60;streaming_endpoints&#x60; &#x60;name&#x60; can be used: &#x60;&#x60;&#x60;javascript await callObject.startLiveStreaming({ endpoints: [{\&quot;endpoint\&quot;:\&quot;rtmp_youtube\&quot;},{\&quot;endpoint\&quot;:\&quot;rtmp_fb\&quot;}], width: 1280, height: 720, }); &#x60;&#x60;&#x60; Properties: | [optional] |
45
+ | **permissions** | [**Permissions**](Permissions.md) | | [optional] |
46
+
47
+ ## Example
48
+
49
+ ```ruby
50
+ require 'daily-ruby'
51
+
52
+ instance = Daily::RoomProperties.new(
53
+ nbf: null,
54
+ exp: null,
55
+ max_participants: null,
56
+ enable_people_ui: null,
57
+ enable_pip_ui: null,
58
+ enable_emoji_reactions: null,
59
+ enable_hand_raising: null,
60
+ enable_prejoin_ui: null,
61
+ enable_network_ui: null,
62
+ enable_noise_cancellation_ui: null,
63
+ enable_breakout_rooms: null,
64
+ enable_knocking: null,
65
+ enable_screenshare: null,
66
+ enable_video_processing_ui: null,
67
+ enable_chat: null,
68
+ start_video_off: null,
69
+ start_audio_off: null,
70
+ owner_only_broadcast: null,
71
+ enable_recording: null,
72
+ eject_at_room_exp: null,
73
+ eject_after_elapsed: null,
74
+ enable_advanced_chat: null,
75
+ enable_hidden_participants: null,
76
+ enable_mesh_sfu: null,
77
+ sfu_switchover: null,
78
+ experimental_optimize_large_calls: null,
79
+ lang: null,
80
+ meeting_join_hook: null,
81
+ geo: null,
82
+ rtmp_geo: null,
83
+ disable_rtmp_geo_fallback: null,
84
+ recordings_bucket: null,
85
+ enable_terse_logging: null,
86
+ auto_transcription_settings: {&quot;language&quot;:&quot;de&quot;},
87
+ enable_transcription_storage: null,
88
+ transcription_bucket: null,
89
+ recordings_template: null,
90
+ streaming_endpoints: null,
91
+ permissions: null
92
+ )
93
+ ```
94
+
@@ -0,0 +1,28 @@
1
+ # Daily::RoomPropertiesStreamingEndpointsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Used by the &#x60;startLiveStreaming()&#x60; API to reference which stream configuration to start. | [optional] |
8
+ | **type** | **String** | Whether the streaming endpoint is &#x60;rtmp&#x60; or &#x60;hls&#x60;. | [optional] |
9
+ | **hls_config_storage_path** | **String** | The &#x60;s3Key&#x60; path prefix for where to store the recordings. Therefore, the final final master.m3u8 path template is &#x60;&lt;bucket_name&gt;/&lt;path&gt;/&lt;mtgSessionId&gt;/master.m3u8&#x60;, i.e. &#x60;hls_config[&#39;storage&#39;][&#39;bucket_name&#39;]/hls_config[&#39;storage&#39;][&#39;path&#39;]/&lt;mtgSessionId&gt;/master.m3u8&#x60;. | [optional] |
10
+ | **hls_config_storage_path_template** | **String** | &#x60;path_template&#x60; is made up of a replacement string with prefixes, suffixes, or both. &#x60;path_template&#x60; without replacement string is also valid. The currently supported replacements are: - &#x60;epoch_time&#x60;: The epoch time in seconds (optional) - &#x60;domain_name&#x60;: Your Daily domain (optional) - &#x60;room_name&#x60;: The name of the room which is getting recorded (optional) - &#x60;mtg_session_id&#x60;: The ID of the meeting session which is getting recorded (optional) - &#x60;instance_id&#x60;: The instance ID of the recording (optional) - &#x60;live_streaming_id&#x60;: The ID of the live streaming in our DB (optional) The restrictions for defining a recording template are as follows: - The maximum size of the template is 1024 characters - Each replacement parameter should be placed within a curly bracket (e.g., &#x60;{domain_name}&#x60;) - Only alphanumeric characters &#x60;(0-9, A-Z, a-z)&#x60; and &#x60;.&#x60;, &#x60;/&#x60;, &#x60;-&#x60;, &#x60;_&#x60; are valid within the template Examples - Example domain: \&quot;myDomain\&quot; - Example room: \&quot;myRoom\&quot; - example hls bucket: \&quot;HLS_S3_BUCKET\&quot; Example 1: - Template: &#x60;my-hls-{domain_name}-{epoch_time}&#x60; - Resulting path of master.m3u8: &#x60;s3://HLS_S3_BUCKET/my-hls-myDomain-1675842936274/master.m3u8&#x60; Example 2: - Template: &#x60;{room_name}/{instance_id}/&#x60; - Resulting path of master.m3u8: &#x60;myRoom/d529cd2f-fbcc-4fb7-b2c0-c4995b1162b6/master.m3u8&#x60; | [optional] |
11
+ | **hls_config_save_hls_recording** | **Boolean** | If &#x60;true&#x60;, the live stream will be saved as a recording after streaming has ended. If &#x60;false&#x60;, the stream is available only until the streaming is live. | [optional] |
12
+ | **hls_config_variants** | [**Array&lt;RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner&gt;**](RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.md) | An optional array of variants to generate for HLS. For most use cases this property can be omitted as Daily uses sensible defaults. The array defines the resolution, FPS, and bitrate for each variant. The following limitations apply: - There can be a maximum of one variant with 1080p resolution. All other variants must be less than or equal to 720p. - A maximum of four variants can be specified, other than iframe-only stream - We do not support iframe-only variant, at least one full-stream variant is required | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'daily-ruby'
18
+
19
+ instance = Daily::RoomPropertiesStreamingEndpointsInner.new(
20
+ name: rtmp_ivs,
21
+ type: hls,
22
+ hls_config_storage_path: my-bucket-name/my-folder-name,
23
+ hls_config_storage_path_template: null,
24
+ hls_config_save_hls_recording: null,
25
+ hls_config_variants: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,26 @@
1
+ # Daily::RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **width** | **Float** | Output width. Min: &#x60;32&#x60;. Max: &#x60;1920&#x60;. | [optional] |
8
+ | **height** | **Float** | Output height. Min: &#x60;32&#x60;. Max: &#x60;1920&#x60;. For portrait mode, the height can be greater than the width. | [optional] |
9
+ | **fps** | **Float** | Output FPS. Min: &#x60;1&#x60;. Max: &#x60;30&#x60;. | [optional] |
10
+ | **bitrate** | **Float** | Bitrate in kilobits per second (kbps). Min: &#x60;100&#x60;. Max: &#x60;5000&#x60;. | [optional] |
11
+ | **iframe_only** | **Boolean** | Whether this variant is iframe-only. One iframe is generated for each segment. If &#x60;true&#x60;, the &#x60;fps&#x60; property is ignored. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'daily-ruby'
17
+
18
+ instance = Daily::RoomPropertiesStreamingEndpointsInnerHlsConfigVariantsInner.new(
19
+ width: null,
20
+ height: null,
21
+ fps: null,
22
+ bitrate: null,
23
+ iframe_only: null
24
+ )
25
+ ```
26
+