diff --git a/docusaurus/video/docusaurus/docs/api/_common_/rtmp.mdx b/docusaurus/video/docusaurus/docs/api/_common_/rtmp.mdx index fe2cd911..9761f986 100644 --- a/docusaurus/video/docusaurus/docs/api/_common_/rtmp.mdx +++ b/docusaurus/video/docusaurus/docs/api/_common_/rtmp.mdx @@ -45,7 +45,7 @@ print(rtmp_url, stream_key) ```go call := client.Video().Call("default", uuid.New().String()) // create the call where the RTMP will be sent to -response, err := call.GetOrCreate(ctx, nil) +response, err := call.GetOrCreate(ctx, &GetOrCreateCallRequest{}) // ensure we have a user for the host to send video via RTMP client.UpdateUsers(ctx, &UpdateUsersRequest{