Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaarbonel committed Nov 8, 2023
1 parent e5846dc commit fdd6e82
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ call.stopHLSBroadcasting();
```py
call.start_broadcasting()

// to end broadcasting
# to end broadcasting
call.stop_broadcasting()
```

Expand Down
4 changes: 2 additions & 2 deletions docusaurus/video/docusaurus/docs/api/_common_/create-call.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
2 changes: 1 addition & 1 deletion docusaurus/video/docusaurus/docs/api/_common_/go_live.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ call.goLive({ start_hls: true, start_recording: true });
<TabItem value="py" label="Python">

```py
call.go_live()
call.go_live(start_hls=True, start_recording=True)
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ settings_override=CallSettingsRequest(
)
)

// or to update custom data
# or to update custom data
call.update(custom= { 'color': 'red' })
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ user = UserRequest(
users[user.id] = user
client.upsert_users(users=users)

// or
# or
client.update_users_partial(
users= [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ client.getCallType({name: 'livestream'});
```py
client.video.list_call_types()

//or
# or
client.get_call_type(name= 'livestream')
```
</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
6 changes: 3 additions & 3 deletions docusaurus/video/docusaurus/docs/api/moderation/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ call.unblockUser({ user_id: 'sara' });
<TabItem value="py" label="Python">

```py
// Block user
# Block user
call.block_user( user_id='sara' )

// Unblock user
# Unblock user
call.unblock_user( user_id= 'sara' )
```

Expand Down Expand Up @@ -95,7 +95,7 @@ call.muteUsers({
<TabItem value="py" label="Python">

```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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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' )],
),
)
Expand Down

0 comments on commit fdd6e82

Please sign in to comment.