We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm reading the code related to the the BytesSent variable in client
BytesSent
Whenever a packet needs to be sent out, it goes through here, where the BytesSent value is increased:
gortsplib/client_media.go
Lines 165 to 170 in c465264
But the cm.c.conn is already wrapped in a bytecounter:
cm.c.conn
gortsplib/client.go
Lines 885 to 892 in c465264
Which also counts the bytes:
gortsplib/pkg/bytecounter/bytecounter.go
Lines 40 to 43 in c465264
To me it seems like every byte is counted twice, or am I overlooking something?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm reading the code related to the the
BytesSent
variable in clientWhenever a packet needs to be sent out, it goes through here, where the
BytesSent
value is increased:gortsplib/client_media.go
Lines 165 to 170 in c465264
But the
cm.c.conn
is already wrapped in a bytecounter:gortsplib/client.go
Lines 885 to 892 in c465264
Which also counts the bytes:
gortsplib/pkg/bytecounter/bytecounter.go
Lines 40 to 43 in c465264
To me it seems like every byte is counted twice, or am I overlooking something?
The text was updated successfully, but these errors were encountered: