Closed improbable-andreaskrugersen closed 1 year ago
Thank you @improbable-andreaskrugersen I am working on a Simulcast issue right now but I`ll get on making this more accessible. As you can see we are making architectural improvements, this would be one of them.
I can get back to you on this with further details next week.
@rweber89 Sounds great, thanks! I think we can live without these stats for a short while. I'm very happy that we're currently divergence-free though, so great work on the architectural changes so far 😃
Divergence-free is what I like to aim for, because otherwise you miss out on changes&fixes and need to manually main. You should only need to update 🙏
Addressed in 1bc22c57dd40b44e6d281927d08f8208b7f2f115 on the dev branch
While still on the
UE4.27
branch, I implemented a divergence to expose WebRTC stats to theUMillicastSubscriber
component which we used to track metrics about incoming bandwidth.Now that we've upgraded to the
dev
branch, I was excited to see that stats support was already present. Unfortunately, it's opinionated in that it only renders stats to the screen. We need to be able to extract that information to send it off to a metrics server. I could keep a divergence again but I'd much rather use the plugin as-is and find a solution that works for us both.I don't know what your future plans for this are, so I'll just write down what we'd need on our side:
PlayerStats.h
is currently private. This would need to be made public to expose theFPlayerStatsCollector
typePeerConnection
's stats collector from game code. In my divergence I routed this through theMillicastSubscriberComponent
as a protectedOnStatsReceived
function. We could do that differently of course.Would that direction be in line with your own plans? If so, would you want to do that change or are you happy to accept a PR?