Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Latest commit

 

History

History

video-player-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

video-player-example

This C++ example uses the Rainway SDK's BYOFB mode and MediaFoundation to stream video from a file.

It accepts all incoming stream requests from clients (such as the Web Demo), and streams the video to them. Try connecting with multiple clients at once!

For more information about Rainway, see our docs. To sign up, visit rainway.com.

Building and running this example

See the parent README for detailed build instructions.

cd ..
cmake . -B build
cmake --build build -t video-player-example

# Get your Rainway API key here: https://hub.rainway.com/keys
.\build\bin\Debug\video-player-example.exe pk_live_YourRainwayApiKey C:\path\to\media.mp4