Skip to content

Commit

Permalink
broadcast RTMPSettingsRequest calltype
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaarbonel committed Sep 18, 2024
1 parent 895583d commit f3723af
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,27 @@ client.video.update_call_type(

</TabItem>

<TabItem value="go" label="Golang">

```go
response, err := client.Video().UpdateCallType(ctx, callTypeName, &UpdateCallTypeRequest{
Settings: &CallSettingsRequest{
Broadcasting: &BroadcastSettingsRequest{
Enabled: PtrTo(true),
Rtmp: &RTMPSettingsRequest{
Enabled: PtrTo(true),
Quality: PtrTo("1080p"),
Layout: &LayoutSettingsRequest{
Name: "spotlight",
},
},
},
},
})
```

</TabItem>

<TabItem value="curl" label="cURL">

```bash
Expand Down

0 comments on commit f3723af

Please sign in to comment.