How do I connect my libobs app to httpd?

Steve Baker

New Member
OK - so after considerable digging around in the source code, I have an application that renders something into an OpenGL window in a libobs draw callback without using the OBS GUI stuff.

How do I get an H264 video stream that I can output via (say) Apache?
 

Palana

Developer
The two easiest solutions are probably: FFmpeg output plugin set to output hls (output to a directory that's served by Apache, then point your hls compatible video player to the playlist), or replace Apache with nginx + rtmp plugin (that one can also output hls).

If you have more control over your video consumers/players you can probably output ts/m2ts/similar files to a directory served by Apache and open that; experiments show that this is rather unreliable though (tested with VLC)
 

Steve Baker

New Member
Thanks...I'll probably want to stick with Apache because there is other HTML content on the server - so it sounds like the FFmpeg plugin is the way to go.

Since I'm using raw libobs - what is the necessary API to hook up the plugin and make it active?
 
Top