Watching video from within a game

I’m new to the Twitch API and I’ve been trying to work out if it’s possible to view Twitch videos from within our PC game. I’ve found the API for uploading video, but I can’t find anything about downloading video to display within the game.

Is it possible to view Twitch videos in a native PC game?

See Embedding Twitch.

Thanks, I’ve read that but it just talks about how to embed Twitch in a webpage.

My question is about how to embed it in a game written in C++. My game doesn’t have a web browser engine, so I don’t think that solution will work for me.

For example, there is an HTTP API that can be used to upload videos to Twitch. I was wondering if there was a similar API that allows you to download an MP4 video stream from Twitch. The closest thing I can find in the docs returns a URL of the page on the Twitch site where a user could navigate to to view the stream, but I want to access the stream directly.

Accessing video outside the official embeds isn’t supported.

OK, thanks. That answers my question :slight_smile:

This topic was automatically closed after 30 days. New replies are no longer allowed.