Created
May 26, 2022 23:14
-
-
Save rahulbanerjee26/9d88f004d7e0dcb150a1a21183d44b45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function addThumbnail(liveStreamID, filePath) { | |
const client = new ApiVideoClient({ apiKey: API_KEY }); | |
const result = await client.liveStreams.uploadThumbnail( | |
liveStreamID, | |
filePath | |
); | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment