logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
KerryDP  
#1 Posted : Tuesday, March 24, 2026 8:30:56 AM(UTC)
KerryDP

Rank: Newbie

Groups: Registered
Joined: 9/23/2024(UTC)
Posts: 7
New Zealand
Location: Christchurch

Has anyone tried using the API to pull a feed of the VMix statistics, for the purpose of a live-updating line graph showing the stream health? I'd like to be able to check on the health of outbound SRT connections (probably viewing this graph from a remote destination) so I can forecast if any data hits are going to compromise a show.
Kotin  
#2 Posted : Tuesday, March 24, 2026 9:01:33 AM(UTC)
Kotin

Rank: Newbie

Groups: Registered
Joined: 3/20/2026(UTC)
Posts: 6
United States
Location: Wilmington

Thanks: 1 times
Hi there! This is a great concept, but unfortunately, you are going to hit a hard wall with the native vMix API for this specific task.

The harsh truth is that the standard vMix API does not expose real stream health or connection quality metrics (like packet loss or SRT RTT). When you query the API for the stream status, it merely returns a boolean: True or False.

This only indicates the intention to stream (i.e., the Stream button is clicked and active in the vMix UI). It does not reflect the actual fact of a successful connection. The API can happily report True even if your SRT connection has completely dropped, the destination server is down, or your network adapter is choking.

Because of these exact blind spots in vMix monitoring, I got frustrated and built my own external desktop hub called VRC (Video Recording Control). Instead of relying solely on the vMix API, it operates as a supervisor — pulling actual hardware and system metrics (Network load, Disk health via WMI, CPU spikes, etc.) to give a real-time picture of the broadcast machine's health so you can forecast issues before the show is compromised.

While it doesn't draw line graphs for specific SRT packets just yet, it solves the core issue of monitoring the actual physical state of your streaming PC and broadcast hardware.

If you want to test it out or exchange ideas on monitoring architecture, you can grab the latest release here:
VRC Releases on GitHub
Kotin  
#3 Posted : Tuesday, March 24, 2026 9:13:06 AM(UTC)
Kotin

Rank: Newbie

Groups: Registered
Joined: 3/20/2026(UTC)
Posts: 6
United States
Location: Wilmington

Thanks: 1 times
Actually, thinking about your problem a bit more, there is a "backdoor" way to get exactly what you need.

While the Web API is a dead end for this, vMix uses FFmpeg under the hood for streaming. It constantly writes live status logs locally to:
Code:
C:\ProgramData\vMix\streaming\


If you build a script to tail the most recent log file there on the fly, you can parse the actual output metrics in real-time. You'll see lines containing fps= and speed=.
If "speed" drops below 1.0x, your hardware or network is choking. If the SRT connection drops, FFmpeg will log the TCP/IO errors right there.

You can use those parsed values to build your live graph. In fact, parsing these local text logs directly into the VRC dashboard is exactly how I plan to implement stream health monitoring in the next updates, since the API won't give it to us. Hope this workaround helps your setup!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.