Is it possible to stream a Twitch video to a C++ application?

Is it possible to stream a Twitch video to a C++ application?

In particular, I am wondering whether Twitch provides an API for this besides extracting the stream from the URL like livestreamer does (http://docs.livestreamer.io/cli.html).

If extracting the stream from the URL is the only way to do this than does anyone know if that is against Twitch’s terms of service?

My goal is to stream video to a C++ application without hosting it myself and render it with DirectX.

No. You must use the embedded twitch player to comply with twitch TOS.

You can use a c++ application to push raw video to the ingest servers though, this is basically how applications like obs and xsplit work.

Thank you for the quick response!

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