From fdd6e82ac24fcb103cefd7019049c92fc5ecb273 Mon Sep 17 00:00:00 2001 From: sachaarbonel Date: Wed, 8 Nov 2023 11:04:49 +0100 Subject: [PATCH] typos --- docusaurus/video/docusaurus/docs/api/_common_/broadcast.mdx | 2 +- .../video/docusaurus/docs/api/_common_/create-call.mdx | 4 ++-- docusaurus/video/docusaurus/docs/api/_common_/go_live.mdx | 2 +- .../video/docusaurus/docs/api/_common_/update-call.mdx | 2 +- .../video/docusaurus/docs/api/basics/authentication.mdx | 2 +- .../video/docusaurus/docs/api/call_types/geofencing.mdx | 2 +- .../video/docusaurus/docs/api/call_types/manage-types.mdx | 2 +- .../video/docusaurus/docs/api/call_types/settings.mdx | 2 +- .../video/docusaurus/docs/api/moderation/overview.mdx | 6 +++--- docusaurus/video/docusaurus/docs/api/streaming/overview.mdx | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docusaurus/video/docusaurus/docs/api/_common_/broadcast.mdx b/docusaurus/video/docusaurus/docs/api/_common_/broadcast.mdx index e19a8bef..90967231 100644 --- a/docusaurus/video/docusaurus/docs/api/_common_/broadcast.mdx +++ b/docusaurus/video/docusaurus/docs/api/_common_/broadcast.mdx @@ -17,7 +17,7 @@ call.stopHLSBroadcasting(); ```py call.start_broadcasting() -// to end broadcasting +# to end broadcasting call.stop_broadcasting() ``` diff --git a/docusaurus/video/docusaurus/docs/api/_common_/create-call.mdx b/docusaurus/video/docusaurus/docs/api/_common_/create-call.mdx index bb31a425..7ede25a1 100644 --- a/docusaurus/video/docusaurus/docs/api/_common_/create-call.mdx +++ b/docusaurus/video/docusaurus/docs/api/_common_/create-call.mdx @@ -46,11 +46,11 @@ response = call.create( ), ) -//optionally provide additional data +# optionally provide additional data response = call.create( data=CallRequest( created_by_id="sacha", - // Call members need to be existing users + # Call members need to be existing users members=[ MemberRequest(user_id: "john", role: "admin"), MemberRequest(user_id: "jack"), diff --git a/docusaurus/video/docusaurus/docs/api/_common_/go_live.mdx b/docusaurus/video/docusaurus/docs/api/_common_/go_live.mdx index 2e560a19..71fc7261 100644 --- a/docusaurus/video/docusaurus/docs/api/_common_/go_live.mdx +++ b/docusaurus/video/docusaurus/docs/api/_common_/go_live.mdx @@ -15,7 +15,7 @@ call.goLive({ start_hls: true, start_recording: true }); ```py -call.go_live() +call.go_live(start_hls=True, start_recording=True) ``` diff --git a/docusaurus/video/docusaurus/docs/api/_common_/update-call.mdx b/docusaurus/video/docusaurus/docs/api/_common_/update-call.mdx index f0cf92e3..6a81c2d7 100644 --- a/docusaurus/video/docusaurus/docs/api/_common_/update-call.mdx +++ b/docusaurus/video/docusaurus/docs/api/_common_/update-call.mdx @@ -30,7 +30,7 @@ settings_override=CallSettingsRequest( ) ) -// or to update custom data +# or to update custom data call.update(custom= { 'color': 'red' }) ``` diff --git a/docusaurus/video/docusaurus/docs/api/basics/authentication.mdx b/docusaurus/video/docusaurus/docs/api/basics/authentication.mdx index 7a86f956..a1c63668 100644 --- a/docusaurus/video/docusaurus/docs/api/basics/authentication.mdx +++ b/docusaurus/video/docusaurus/docs/api/basics/authentication.mdx @@ -109,7 +109,7 @@ user = UserRequest( users[user.id] = user client.upsert_users(users=users) -// or +# or client.update_users_partial( users= [ { diff --git a/docusaurus/video/docusaurus/docs/api/call_types/geofencing.mdx b/docusaurus/video/docusaurus/docs/api/call_types/geofencing.mdx index 95b4c445..28d98afb 100644 --- a/docusaurus/video/docusaurus/docs/api/call_types/geofencing.mdx +++ b/docusaurus/video/docusaurus/docs/api/call_types/geofencing.mdx @@ -63,7 +63,7 @@ client.video.create_call_type( ), ) -//override settings on call level +# override settings on call level call.create( data = CallRequest( created_by_id= 'john', diff --git a/docusaurus/video/docusaurus/docs/api/call_types/manage-types.mdx b/docusaurus/video/docusaurus/docs/api/call_types/manage-types.mdx index 9af84900..ff8e54bc 100644 --- a/docusaurus/video/docusaurus/docs/api/call_types/manage-types.mdx +++ b/docusaurus/video/docusaurus/docs/api/call_types/manage-types.mdx @@ -26,7 +26,7 @@ client.getCallType({name: 'livestream'}); ```py client.video.list_call_types() -//or +# or client.get_call_type(name= 'livestream') ``` diff --git a/docusaurus/video/docusaurus/docs/api/call_types/settings.mdx b/docusaurus/video/docusaurus/docs/api/call_types/settings.mdx index b5747e1d..9b923205 100644 --- a/docusaurus/video/docusaurus/docs/api/call_types/settings.mdx +++ b/docusaurus/video/docusaurus/docs/api/call_types/settings.mdx @@ -65,7 +65,7 @@ client.video.create_call_type( ), ) -// override settings on call level +# override settings on call level call.create( data=CallRequest( created_by_id= 'john', diff --git a/docusaurus/video/docusaurus/docs/api/moderation/overview.mdx b/docusaurus/video/docusaurus/docs/api/moderation/overview.mdx index f18d9703..c14050fe 100644 --- a/docusaurus/video/docusaurus/docs/api/moderation/overview.mdx +++ b/docusaurus/video/docusaurus/docs/api/moderation/overview.mdx @@ -37,10 +37,10 @@ call.unblockUser({ user_id: 'sara' }); ```py -// Block user +# Block user call.block_user( user_id='sara' ) -// Unblock user +# Unblock user call.unblock_user( user_id= 'sara' ) ``` @@ -95,7 +95,7 @@ call.muteUsers({ ```py -// You can specify which kind of stream(s) to mute +# You can specify which kind of stream(s) to mute call.mute_users( mute_all_users= True, audio=True, diff --git a/docusaurus/video/docusaurus/docs/api/streaming/overview.mdx b/docusaurus/video/docusaurus/docs/api/streaming/overview.mdx index 507755bd..798403f9 100644 --- a/docusaurus/video/docusaurus/docs/api/streaming/overview.mdx +++ b/docusaurus/video/docusaurus/docs/api/streaming/overview.mdx @@ -50,7 +50,7 @@ call = client.video.call('livestream', callId) response = call.create( data= CallRequest( created_by_id= 'john', - // You can add multiple hosts if you want to + # You can add multiple hosts if you want to members= [MemberRequest( user_id= 'john', role= 'host' )], ), )