Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log BWE stats in a compatible with Medooze stats viewer #155

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

JonathanLennox
Copy link
Member

This is modifications to our system so that we can use Medooze's useful log viewer.

@bbaldino
Copy link
Member

cool, will take a look through this. i wonder, though, if we want to think about how we accomplish this sort of thing in the bigger picture of the other stats changes?

@JonathanLennox
Copy link
Member Author

Yeah, outputting this through a REST API (rather than as timeseries logs modified by a Perl script) would be a better approach.

/**
* Whether this packet was generated to be a probing packet.
*/
var isProbing: Boolean = false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am a bit worried about PacketInfo 1) becoming a dumping ground for fields and, more fundamentally, holding data that doesn't really apply to all packets (true, marking an audio packet or sctp packet as isProbing = false is technically accurate, but it still feels a bit wrong). i don't think this change along ruins things terribly, but i worry about the precedent. i'm probably being a bit too paranoid and if we don't think it's too bad it's something we could wait to address down the line should it become a problem.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would making a VideoPacketInfo subclass be helpful?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about that, but wondered what sort of guarantees we could make as to when one would actually be used. For example, would we convert it on the ingress as well when we discovered a packet was video? Or would it only be in certain places? Also, if we were going to do this we'd have to test and cast it, but at that point would it be that much different than just testing and casting the underlying packet? If not, then maybe we could just do different packet types to denote probing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants