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,28 @@
1
+ # Daily::MeetingsMeetingGetRes
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **room** | **String** | | [optional] |
9
+ | **start_time** | **Integer** | | [optional] |
10
+ | **duration** | **Integer** | | [optional] |
11
+ | **ongoing** | **Boolean** | | [optional] |
12
+ | **max_participants** | **Integer** | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'daily-ruby'
18
+
19
+ instance = Daily::MeetingsMeetingGetRes.new(
20
+ id: d61cd7b2-a273-42b4-89bd-be763fd562c1,
21
+ room: room-name,
22
+ start_time: 1672606399,
23
+ duration: 2055,
24
+ ongoing: false,
25
+ max_participants: 4
26
+ )
27
+ ```
28
+
@@ -0,0 +1,22 @@
1
+ # Daily::Permissions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **has_presence** | **Boolean** | Whether the participant appears as \"present\" in the call, i.e. whether they appear in [`participants()`](/reference/daily-js/instance-methods/participants#main). | [optional] |
8
+ | **can_send** | [**PermissionsCanSend**](PermissionsCanSend.md) | | [optional] |
9
+ | **can_admin** | [**PermissionsCanAdmin**](PermissionsCanAdmin.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'daily-ruby'
15
+
16
+ instance = Daily::Permissions.new(
17
+ has_presence: null,
18
+ can_send: null,
19
+ can_admin: null
20
+ )
21
+ ```
22
+
@@ -1,4 +1,4 @@
1
- # Daily::MeetingTokenRequestPropertiesPermissionsCanSend
1
+ # Daily::PermissionsCanAdmin
2
2
 
3
3
  ## Class instance methods
4
4
 
@@ -11,7 +11,7 @@ Returns the list of classes defined in oneOf.
11
11
  ```ruby
12
12
  require 'daily-ruby'
13
13
 
14
- Daily::MeetingTokenRequestPropertiesPermissionsCanSend.openapi_one_of
14
+ Daily::PermissionsCanAdmin.openapi_one_of
15
15
  # =>
16
16
  # [
17
17
  # :'Array<String>',
@@ -28,10 +28,10 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
28
28
  ```ruby
29
29
  require 'daily-ruby'
30
30
 
31
- Daily::MeetingTokenRequestPropertiesPermissionsCanSend.build(data)
31
+ Daily::PermissionsCanAdmin.build(data)
32
32
  # => #<Array<String>:0x00007fdd4aab02a0>
33
33
 
34
- Daily::MeetingTokenRequestPropertiesPermissionsCanSend.build(data_that_doesnt_match)
34
+ Daily::PermissionsCanAdmin.build(data_that_doesnt_match)
35
35
  # => nil
36
36
  ```
37
37
 
@@ -1,4 +1,4 @@
1
- # Daily::MeetingTokenRequestPropertiesPermissionsCanAdmin
1
+ # Daily::PermissionsCanSend
2
2
 
3
3
  ## Class instance methods
4
4
 
@@ -11,7 +11,7 @@ Returns the list of classes defined in oneOf.
11
11
  ```ruby
12
12
  require 'daily-ruby'
13
13
 
14
- Daily::MeetingTokenRequestPropertiesPermissionsCanAdmin.openapi_one_of
14
+ Daily::PermissionsCanSend.openapi_one_of
15
15
  # =>
16
16
  # [
17
17
  # :'Array<String>',
@@ -28,10 +28,10 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
28
28
  ```ruby
29
29
  require 'daily-ruby'
30
30
 
31
- Daily::MeetingTokenRequestPropertiesPermissionsCanAdmin.build(data)
31
+ Daily::PermissionsCanSend.build(data)
32
32
  # => #<Array<String>:0x00007fdd4aab02a0>
33
33
 
34
- Daily::MeetingTokenRequestPropertiesPermissionsCanAdmin.build(data_that_doesnt_match)
34
+ Daily::PermissionsCanSend.build(data_that_doesnt_match)
35
35
  # => nil
36
36
  ```
37
37
 
@@ -0,0 +1,22 @@
1
+ # Daily::PostWebhook
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **url** | **String** | The webhook server endpoint that was provided. | [optional] |
8
+ | **basic_auth** | **String** | The basic auth credentials that will be used to POST to the webhook URL. | [optional] |
9
+ | **event_types** | **Array&lt;String&gt;** | The set of event types this webhook is subscribed to. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'daily-ruby'
15
+
16
+ instance = Daily::PostWebhook.new(
17
+ url: null,
18
+ basic_auth: null,
19
+ event_types: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,74 @@
1
+ # Daily::PresenceApi
2
+
3
+ All URIs are relative to *https://api.daily.co/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get_presence**](PresenceApi.md#get_presence) | **GET** /presence | /presence |
8
+
9
+
10
+ ## get_presence
11
+
12
+ > <GetPresence200Response> get_presence
13
+
14
+ /presence
15
+
16
+ ### Examples
17
+
18
+ ```ruby
19
+ require 'time'
20
+ require 'daily-ruby'
21
+ # setup authorization
22
+ Daily.configure do |config|
23
+ # Configure API key authorization: sec0
24
+ config.api_key['sec0'] = 'YOUR API KEY'
25
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
+ # config.api_key_prefix['sec0'] = 'Bearer'
27
+ end
28
+
29
+ api_instance = Daily::PresenceApi.new
30
+
31
+ begin
32
+ # /presence
33
+ result = api_instance.get_presence
34
+ p result
35
+ rescue Daily::ApiError => e
36
+ puts "Error when calling PresenceApi->get_presence: #{e}"
37
+ end
38
+ ```
39
+
40
+ #### Using the get_presence_with_http_info variant
41
+
42
+ This returns an Array which contains the response data, status code and headers.
43
+
44
+ > <Array(<GetPresence200Response>, Integer, Hash)> get_presence_with_http_info
45
+
46
+ ```ruby
47
+ begin
48
+ # /presence
49
+ data, status_code, headers = api_instance.get_presence_with_http_info
50
+ p status_code # => 2xx
51
+ p headers # => { ... }
52
+ p data # => <GetPresence200Response>
53
+ rescue Daily::ApiError => e
54
+ puts "Error when calling PresenceApi->get_presence_with_http_info: #{e}"
55
+ end
56
+ ```
57
+
58
+ ### Parameters
59
+
60
+ This endpoint does not need any parameter.
61
+
62
+ ### Return type
63
+
64
+ [**GetPresence200Response**](GetPresence200Response.md)
65
+
66
+ ### Authorization
67
+
68
+ [sec0](../README.md#sec0)
69
+
70
+ ### HTTP request headers
71
+
72
+ - **Content-Type**: Not defined
73
+ - **Accept**: application/json
74
+
@@ -0,0 +1,60 @@
1
+ # Daily::Properties
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **room_name** | **String** | The room for which this token is valid. If &#x60;room_name&#x60; isn&#39;t set, the token is valid for all rooms in your domain. *You should always set &#x60;room_name&#x60; if you are using this token to control access to a meeting. | [optional] |
8
+ | **eject_at_token_exp** | **Boolean** | Kick this user out of the meeting at the time this meeting token expires. If either this property or &#x60;eject_after_elapsed&#x60; are set for the token, the room&#39;s &#x60;eject&#x60; properties are overridden. _See an example in our [advanced security tutorial](https://www.daily.co/blog/add-advanced-security-features-to-video-chats-with-the-daily-api/)_. | [optional][default to false] |
9
+ | **eject_after_elapsed** | **Integer** | Kick this user out of the meeting this many seconds after they join the meeting. If either this property or &#x60;eject_at_token_exp&#x60; are set for the token, the room&#39;s &#x60;eject&#x60; properties are overridden. _See an example in our [advanced security tutorial](https://www.daily.co/blog/add-advanced-security-features-to-video-chats-with-the-daily-api/)_. | [optional] |
10
+ | **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 with this token before this time. | [optional] |
11
+ | **exp** | **Integer** | \&quot;Expires\&quot;. This is a unix timestamp (seconds since the epoch.) Users cannot join a meeting with this token after this time. Daily strongly recommends adding an &#x60;exp&#x60; value to all meeting tokens. Learn more in our Daily blog post: [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] |
12
+ | **is_owner** | **Boolean** | The user has [meeting owner privileges](https://docs.daily.co/docs/controlling-who-joins-a-meeting#meeting-owner-privileges). For example, if the room is configured for &#x60;owner_only_broadcast&#x60; and used in a Daily Prebuilt call, this user can send video, and audio, and can screenshare. | [optional][default to false] |
13
+ | **user_name** | **String** | The user&#39;s name in this meeting. The name displays in the user interface when the user is muted or has turned off the camera, and in the chat window. This username is also saved in the meeting events log (meeting events are retrievable using the [analytics](/reference/rest-api/meetings) API methods.) | [optional] |
14
+ | **user_id** | **String** | The user&#39;s ID for this meeting session. This ID is retrievable using the [meetings](/reference/rest-api/meetings) API. You can use &#x60;user_id&#x60; to map between your user database and meeting events/attendance. *The ID does not display in our standard in-call UI during the call. _max length 36 chars_ | [optional] |
15
+ | **enable_screenshare** | **Boolean** | Sets whether or not the user is allowed to screen share. This setting applies for the duration of the meeting. If you&#39;re looking to dynamically control whether a user can screen share during a meeting, then use the [&#x60;permissions&#x60;](/reference/rest-api/meeting-tokens/config#permissions) token property. | [optional][default to true] |
16
+ | **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] |
17
+ | **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] |
18
+ | **enable_recording** | **String** | Jump to [recording docs](/reference/rest-api/recordings). | [optional] |
19
+ | **enable_prejoin_ui** | **Boolean** | Determines whether the participant using the meeting token enters a waiting room with a camera, mic, and browser check before joining a call. If this property is also set in the room or domain&#39;s configuration, the meeting token&#39;s configuration will take priority. ⚠️ You must be using [Daily Prebuilt](https://daily.co/prebuilt) to use &#x60;enable_prejoin_ui&#x60;. | [optional] |
20
+ | **enable_recording_ui** | **Boolean** | Determines whether the participant using the meeting token can see the Recording button in Daily Prebuilt&#39;s UI, which can be found in the video call tray. If this value is &#x60;false&#x60;, the button will not be included in the tray. If it&#39;s &#x60;true&#x60;, the Recording button will be displayed. This option is useful when only specific call participants should have recording permissions. ⚠️ You must be using [Daily Prebuilt](https://daily.co/prebuilt) to use &#x60;enable_recording_ui&#x60;. | [optional] |
21
+ | **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] |
22
+ | **start_cloud_recording** | **Boolean** | Start cloud recording when the user joins the room. This can be used to always record and archive meetings, for example in a customer support context. Note: This requires the &#x60;enable_recording&#x60; property of the room or token to be set to &#x60;cloud&#x60;. If you want to automatically record calls with other recording modes, use &#x60;callObject.startRecording()&#x60; after &#x60;await callObject.join()&#x60; in your code. | [optional][default to false] |
23
+ | **start_cloud_recording_opts** | **Object** | Options for use when &#x60;start_cloud_recording&#x60; is &#x60;true&#x60;. See [&#x60;startRecording&#x60;](/reference/daily-js/instance-methods/start-recording) for available options. ⚠️ Specifying too many options may cause the token size to be very large. It is recommended to use token less than 2048 characters. For complex usecases, use the daily-js API. | [optional] |
24
+ | **auto_start_transcription** | **Boolean** | Start transcription when an owner joins the room. This property can be used to always transcribe meetings once an owner joins. | [optional][default to false] |
25
+ | **close_tab_on_exit** | **Boolean** | (For meetings that open in a separate browser tab.) When a user leaves a meeting using the button in the in-call menu bar, the browser tab closes. This can be a good way, especially on mobile, for users to be returned to a previous website flow after a call. | [optional][default to false] |
26
+ | **redirect_on_meeting_exit** | **String** | (For meetings that open in a separate browser tab.) When a user leaves a meeting using the button in the in-call menu bar, the browser loads this URL. A query string that includes a parameter of the form &#x60;recent-call&#x3D;&lt;domain&gt;/&lt;room&gt;&#x60; is appended to the URL. On mobile, you can redirect to a deep link to bring a user back into your app. | [optional] |
27
+ | **lang** | **String** | The default language of the [Daily prebuilt video call UI](https://docs.daily.co/docs/embed-the-daily-prebuilt-ui#daily-prebuilt-ui), for this room. Setting the language at the token level will override any room or 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;] |
28
+ | **permissions** | [**Permissions**](Permissions.md) | | [optional] |
29
+
30
+ ## Example
31
+
32
+ ```ruby
33
+ require 'daily-ruby'
34
+
35
+ instance = Daily::Properties.new(
36
+ room_name: null,
37
+ eject_at_token_exp: null,
38
+ eject_after_elapsed: null,
39
+ nbf: null,
40
+ exp: null,
41
+ is_owner: null,
42
+ user_name: null,
43
+ user_id: null,
44
+ enable_screenshare: null,
45
+ start_video_off: null,
46
+ start_audio_off: null,
47
+ enable_recording: null,
48
+ enable_prejoin_ui: null,
49
+ enable_recording_ui: null,
50
+ enable_terse_logging: null,
51
+ start_cloud_recording: null,
52
+ start_cloud_recording_opts: null,
53
+ auto_start_transcription: null,
54
+ close_tab_on_exit: null,
55
+ redirect_on_meeting_exit: null,
56
+ lang: null,
57
+ permissions: null
58
+ )
59
+ ```
60
+
@@ -0,0 +1,24 @@
1
+ # Daily::RecordingError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **version** | **String** | The semantic version of the current message. | [optional] |
8
+ | **type** | **String** | The type of event that is being provided. | [optional] |
9
+ | **event_ts** | **Integer** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
10
+ | **payload** | [**RecordingErrorPayload**](RecordingErrorPayload.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'daily-ruby'
16
+
17
+ instance = Daily::RecordingError.new(
18
+ version: null,
19
+ type: null,
20
+ event_ts: null,
21
+ payload: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,26 @@
1
+ # Daily::RecordingErrorPayload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **action** | **String** | A string describing the event that was emitted. | [optional] |
8
+ | **error_msg** | **String** | The error message returned. | [optional] |
9
+ | **instance_id** | **String** | The recording instance ID that was passed into the start recording command. | [optional] |
10
+ | **room_name** | **String** | The name of the room where the recording was made. | [optional] |
11
+ | **timestamp** | **Integer** | The Unix epoch time in seconds representing when the error was emitted. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'daily-ruby'
17
+
18
+ instance = Daily::RecordingErrorPayload.new(
19
+ action: null,
20
+ error_msg: null,
21
+ instance_id: null,
22
+ room_name: null,
23
+ timestamp: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,24 @@
1
+ # Daily::RecordingReadyToDownload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **version** | **String** | The semantic version of the current message. | [optional] |
8
+ | **type** | **String** | The type of event that is being provided. | [optional] |
9
+ | **event_ts** | **Integer** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
10
+ | **payload** | [**RecordingReadyToDownloadPayload**](RecordingReadyToDownloadPayload.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'daily-ruby'
16
+
17
+ instance = Daily::RecordingReadyToDownload.new(
18
+ version: null,
19
+ type: null,
20
+ event_ts: null,
21
+ payload: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,34 @@
1
+ # Daily::RecordingReadyToDownloadPayload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The type of recording that was generated. | [optional] |
8
+ | **recording_id** | **String** | An ID identifying the recording that was generated. | [optional] |
9
+ | **room_name** | **String** | The name of the room where the recording was made. | [optional] |
10
+ | **start_ts** | **Integer** | The Unix epoch time in seconds representing when the recording started. | [optional] |
11
+ | **status** | **String** | The status of the given recording. | [optional] |
12
+ | **max_participants** | **Integer** | The number of participants on the call that were recorded. | [optional] |
13
+ | **duration** | **Integer** | The duration in seconds of the call. | [optional] |
14
+ | **s3_key** | **String** | The location of the recording in the provided S3 bucket. | [optional] |
15
+ | **tracks** | [**Array&lt;GetRecordingInfo200ResponseTracksInner&gt;**](GetRecordingInfo200ResponseTracksInner.md) | If the recording is a raw-tracks recording, a tracks field will be provided. If role permissions have been removed, the tracks field may be null. | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'daily-ruby'
21
+
22
+ instance = Daily::RecordingReadyToDownloadPayload.new(
23
+ type: null,
24
+ recording_id: null,
25
+ room_name: null,
26
+ start_ts: null,
27
+ status: null,
28
+ max_participants: null,
29
+ duration: null,
30
+ s3_key: null,
31
+ tracks: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,24 @@
1
+ # Daily::RecordingStarted
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **version** | **String** | The semantic version of the current message. | [optional] |
8
+ | **type** | **String** | The type of event that is being provided. | [optional] |
9
+ | **event_ts** | **Integer** | The Unix epoch time in seconds representing when the event was generated. | [optional] |
10
+ | **payload** | [**RecordingStartedPayload**](RecordingStartedPayload.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'daily-ruby'
16
+
17
+ instance = Daily::RecordingStarted.new(
18
+ version: null,
19
+ type: null,
20
+ event_ts: null,
21
+ payload: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,28 @@
1
+ # Daily::RecordingStartedPayload
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **recording_id** | **String** | An ID identifying the recording that was generated. | [optional] |
8
+ | **action** | **String** | A string describing the event that was emitted. | [optional] |
9
+ | **layout** | [**DailyStreamingLayoutConfig**](.md) | | [optional] |
10
+ | **started_by** | **String** | The participant ID of the user who started the recording. | [optional] |
11
+ | **instance_id** | **String** | The recording instance ID that was passed into the start recording command. | [optional] |
12
+ | **start_ts** | **Integer** | The Unix epoch time in seconds representing when the recording started. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'daily-ruby'
18
+
19
+ instance = Daily::RecordingStartedPayload.new(
20
+ recording_id: null,
21
+ action: null,
22
+ layout: null,
23
+ started_by: null,
24
+ instance_id: null,
25
+ start_ts: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,38 @@
1
+ # Daily::RecordingStreamingOptions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **width** | **Float** | Property that specifies the output width of the given stream. | [optional] |
8
+ | **height** | **Float** | Property that specifies the output height of the given stream. | [optional] |
9
+ | **fps** | **Float** | Property that specifies the video frame rate per second. | [optional] |
10
+ | **video_bitrate** | **Float** | Property that specifies the video bitrate for the output video in kilobits per second (kbps). | [optional] |
11
+ | **audio_bitrate** | **Float** | Property that specifies the audio bitrate for the output audio in kilobits per second (kbps). | [optional] |
12
+ | **min_idle_time_out** | **Float** | Amount of time in seconds to wait before ending a recording or live stream when the room is idle (e.g. when all users have muted video and audio). Default: 300 (seconds). Note: Once the timeout has been reached, it typically takes an additional 1-3 minutes for the recording or live stream to be shut down. | [optional] |
13
+ | **max_duration** | **Float** | Maximum duration in seconds after which recording/streaming is forcefully stopped. Default: \\&#x60;15000\\&#x60; seconds (3 hours). This is a preventive circuit breaker to prevent billing surprises in case a user starts recording/streaming and leaves the room. | [optional] |
14
+ | **background_color** | **String** | Specifies the background color of the stream, formatted as \\#rrggbb or \\#aarrggbb string. | [optional] |
15
+ | **instance_id** | **String** | UUID for a streaming or recording session. Used when multiple streaming or recording sessions are running for single room. | [optional] |
16
+ | **type** | **String** | The type of recording that will be started. | [optional][default to &#39;cloud&#39;] |
17
+ | **layout** | [**DailyStreamingLayoutConfig**](DailyStreamingLayoutConfig.md) | | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'daily-ruby'
23
+
24
+ instance = Daily::RecordingStreamingOptions.new(
25
+ width: null,
26
+ height: null,
27
+ fps: null,
28
+ video_bitrate: null,
29
+ audio_bitrate: null,
30
+ min_idle_time_out: null,
31
+ max_duration: null,
32
+ background_color: null,
33
+ instance_id: null,
34
+ type: null,
35
+ layout: null
36
+ )
37
+ ```
38
+