Comments (7)
+1 although we can still add a feature to those tracks saying "numberOfStreamsInSameConnection"
from rtcstats-server.
we have usingMultistream and maxStreams :-)
from rtcstats-server.
going to tackle this now that I have a use-case. Currently we create one database row of features for each peerconnection. extractTrack() searches for a kind of track and returns all stats related to that track.
This mainly affects the features around
['audio', 'video'].forEach(kind => {
['send', 'recv'].forEach(direction => {
module.exports[kind + capitalize(direction)] = function(client, peerConnectionLog) {
Additionally we need to have a stream (composed of an audio+video track) duration. We need to do it both for incoming and outgoing features, e.g. if the local client does both screensharing and video on the same connection.
Instead of having one row per peerconnection, we'll have one row per peerconnection and remote stream. This will require changing existing queries in order to avoid taking things like the duration twice when there are two remote streams. Rows with an identical peerconnection id should not be counted twice in those queries.
This also raises some questions about the database design, whether the current duplication of page features into each peerconnection row is ok but... its convenient.
from rtcstats-server.
an additional thing to take into consideration: a stream may not be active all the time.
How does that
- affect averages like bitrate (ignore 0s?)
- duration -- it can not be calculated as last - first
from rtcstats-server.
wire protocol bump required: fippo/rtcstats#83
WIP here
from rtcstats-server.
note: this needs to be stream-based, not track-based.
from rtcstats-server.
this is now on the master branch.
from rtcstats-server.
Related Issues (20)
- number of different host candidates in onicecandidate
- location features HOT 2
- feature: candidate types after ice restart HOT 1
- write peerconnections to different files HOT 4
- work with spec-stats HOT 3
- chrome 51 broke stuff
- receivingvideo10s is broken
- extractTrack should not rely on onaddstream HOT 3
- Ability to start/end session outside opening/closing tab HOT 2
- inconsistent internal use of .timestamp HOT 1
- move the repository HOT 5
- feature: delta(qp) HOT 2
- ipv6 obfuscation HOT 1
- fileFormat 2 breaks time series in webrtc-dump-importer HOT 2
- gcp/bigquery support HOT 5
- use materialized views
- port publicLocation HOT 5
- maxmind postinstall won't work anymore HOT 3
- navigator.userAgent deprecation
- BigQuery ignore unknown values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtcstats-server.