From be361c0a2d513d82b24b11afe6cd66705b579576 Mon Sep 17 00:00:00 2001 From: olivierapivideo Date: Wed, 6 Sep 2023 14:11:13 +0000 Subject: [PATCH] feat(ci): include client doc in documentation --- api/openapi.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index 57e3c35..c9196e7 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -3836,12 +3836,12 @@ paths: \ // Whether you are recording or not. True for record, false for not\ \ record.\nliveStreamCreationPayload.SetPublic(true) // Whether your video\ \ can be viewed by everyone, or requires authentication to see it.\nliveStreamCreationPayload.SetPlayerId(\"\ - pl4f4ferf5erfr5zed4fsdd\") // The unique identifier for the player.\n\ - liveStreamCreatePayload.SetRestreams([]RestreamsRequestObject{{Name: \"\ - My RTMP server\", ServerUrl: \"rtmp://my.broadcast.example.com/app\",\ - \ StreamKey: \"dw-dew8-q6w9-k67w-1ws8\"}}) // Use this parameter to add,\ + pl4f4ferf5erfr5zed4fsdd\") // The unique identifier for the player.\n\n\ + liveStreamCreatePayload.SetRestreams([] RestreamsRequestObject { {Name:\ + \ \"My RTMP server\", ServerUrl: \"rtmp://my.broadcast.example.com/app\"\ + , StreamKey: \"dw-dew8-q6w9-k67w-1ws8\"}}) // Use this parameter to add,\ \ edit, or remove RTMP services where you want to restream a live stream.\ - \ The list can only contain up to 5 destinations.\n\nres, err := client.LiveStreams.Create(liveStreamCreationPayload)\n\ + \ The list can only contain up to 5 destinations.\nres, err := client.LiveStreams.Create(liveStreamCreationPayload)\n\ \nif err != nil {\n fmt.Fprintf(os.Stderr, \"Error when calling `LiveStreams.Create``:\ \ %v\", err)\n}\n\nfmt.Fprintf(os.Stdout, \"Response from `LiveStreams.Create`:\ \ %v\", res)\n"