Skip to content

Instantly share code, notes, and snippets.

@rahulbanerjee26
Created May 26, 2022 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulbanerjee26/9b6315a962ff7fcdc0c9fee18ee37677 to your computer and use it in GitHub Desktop.
Save rahulbanerjee26/9b6315a962ff7fcdc0c9fee18ee37677 to your computer and use it in GitHub Desktop.
const liveStreamName = "My Live Stream";
async function createLiveStream() {
const client = new ApiVideoClient({ apiKey: API_KEY });
const result = await client.liveStreams.create({
name: liveStreamName,
});
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment