Page 1 of 1

HTTP MJPEG streaming massive delay unless started from GUI

Posted: 13 Aug 2021 21:36
by dragoonadept
I'm trying to stream from an app I have created to VLC, and it verifiably works but only when I launch the stream from the VLC GUI.

I've searched long and hard to find any additional command line arguments that would help reduce this, but simply setting the caching to 0 in the GUI fixes the problem. But I need to be able to start VLC at will for my program to work!

Here's a picture of my app streaming when launched from the command line. At first glance it looks fine, but it's supposed to be showing the screen live. There's a 5-10 second delay, sometimes more.
Arguments = $"--live-caching=0 --network-caching=0 --http-caching=0 http://192.168.10.153:3030"
Image

And here's the same stream (I didn't stop the software, just re-connected) started through the VLC GUI:
Image
Image

Does anyone have any thoughts or ideas? Maybe something I've missed?