-
Notifications
You must be signed in to change notification settings - Fork 3
Implement call quality estimation (#27) #132
Conversation
# Conflicts: # Cargo.lock # src/media/peer.rs # src/signalling/peers/mod.rs # src/signalling/room/command_handler.rs # src/signalling/room/peer_events_handler.rs # tests/e2e/signalling/track_disable.rs
…a into poor-connection-demo
FCM
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that code quality somehow became worse.
@evdokimovs be more patient to the code/docs quality you're writing. Don't be lazy to make them consistent, rich and understantable even for beginners.
src/signalling/peers/metrics.rs
Outdated
{ | ||
break (peer_id, was_flowing_at, media_type, direction); | ||
} else { | ||
continue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if a == b { return true; } else { return false; }
/// | ||
/// Passes [`PeerMetrics::RtcStats`] to [`PeersService`] for further | ||
/// analysis. | ||
#[allow(clippy::single_match)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not if let
then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В будущем эта функция должна будет делать матч по всем вариантам, поэтому решил заранее это показать.
Part of #27
Synopsis
We need to measure call quality and provide information about current score to the JS side.
Solution
Quality score will be calculated based on Algorithm::MOS, which is derived from E-model, introduced in ITU-T G.107 with some simplifications and tweaks.
Room.on_quality_score_update
callback to the Jason into which call quality updates will be providedChecklist
Draft:
prefixk::
labels appliedDraft:
prefix is removed