Skip to content

Commit

Permalink
update remaining code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Oct 24, 2023
1 parent bfc864f commit fdadaa0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ import TabItem from '@theme/TabItem';
call.update({
settings_override: {
recording: {
mode: RecordSettingsRequestModeEnum.DISABLED,
mode: VideoRecordSettingsRequestModeEnum.DISABLED,
},
},
});

// Disable on call type level
client.updateCallType('<call type name>', {
client.video.updateCallType('<call type name>', {
settings: {
recording: {
mode: RecordSettingsModeEnum.DISABLED,
mode: VideoRecordSettingsModeEnum.DISABLED,
},
},
});
Expand All @@ -36,7 +36,7 @@ client.updateCallType('<call type name>', {
call.update({
settings_override: {
recording: {
mode: RecordSettingsRequestModeEnum.AVAILABLE,
mode: VideoRecordSettingsRequestModeEnum.AVAILABLE,
},
},
});
Expand All @@ -46,7 +46,7 @@ call.update({
settings_override: {
recording: {
audio_only: false,
quality: RecordSettingsRequestQualityEnum._1080P,
quality: VideoRecordSettingsRequestQualityEnum._1080P,
},
},
});
Expand Down Expand Up @@ -201,10 +201,7 @@ curl -X POST "https://video.stream-io-api.com/video/call/default/${CALL_ID}/star
<TabItem value="js" label="JavaScript">

```js
call.queryRecordings();

// optionally query recordings for a specific session
call.queryRecordings('<session ID>');
call.listRecordings();
```

</TabItem>
Expand Down
6 changes: 3 additions & 3 deletions docusaurus/video/docusaurus/docs/api/streaming/backstage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ call.update({
});

// or call type level
client.updateCallType('<call type name>', {
client.video.updateCallType('<call type name>', {
settings: {
backstage: {
enabled: true,
Expand All @@ -44,9 +44,9 @@ client.updateCallType('<call type name>', {
<TabItem value="js" label="JavaScript">

```js
client.updateCallType('<call type name>', {
client.video.updateCallType('<call type name>', {
grants: {
host: [OwnCapability.JOIN_BACKSTAGE],
host: [VideoOwnCapability.JOIN_BACKSTAGE],
},
});
```
Expand Down

0 comments on commit fdadaa0

Please sign in to comment.