Send video bitrate and user bandwidth to Watchman #7145
No reviewers
Labels
No labels
accessibility
app-parity
area: creator
area: daemon
area: design
area: devops
area: discovery
area: docs
area: installer
area: internal
area: livestream
area: performance
area: proposal
area: reposts
area: rewards
area: search
area: security
area: subscriptions
area: sync
area: ux
area: viewer
area: wallet
BEAMER
channel
comments
community PR
consider soon
core team
css
dependencies
electron
Epic
feature request
first-timers-only
good first issue
hacktoberfest
help wanted
hub-dependent
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
merge when green
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
notifications
odysee
on hold
playlists
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
recsys
redesign
regression
resilience
sdk dependent
Tom's Wishlist
trending
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-desktop#7145
Loading…
Reference in a new issue
No description provided.
Delete branch "send-bitrate-and-bandwidth-to-watchman"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes issue #6891 ,
Calculates user bandwidth on analytics load, and recalculates every 30s, send both values in bits per second
Don't forget to run lint and the auto-formatter, else it will cause unnecessary deltas for the next person touching the file :)
Seems a bit overkill to re-download a file every 30 seconds to grab bandwidth. This itself can slow down their stream if their bandwidth is limited. If the file is small, it shouldn't be an issue, but it also may not be a good bandwidth test.
The file is 2MB, the smaller the file the less accurate the value, ideally we would serve a file from one of our own CDNs so it would more accurately match to their bandwidth, I couldn't find a file though that would be suitable (was large enough), but hopefully if we can find a large enough file (1MB+ for sure), then we can maybe change the interval speed to one minute or let me know what you think would be suitable.
@nikooo777 thoughts on how to deal with the bandwidth test here?
I'd say let's push with bitrate for now until we figure that out. Please fix linting and comment out the bandwidth test.
Blocked by deciding how often to check bandwidth?