fippo / rtcstats-server

Server for https://github.com/fippo/rtcstats
MIT License
38 stars 44 forks source link

add fallback identity information #308

Closed fippo closed 4 years ago

fippo commented 4 years ago

if its not possible to pass extra things to the peerconnection constructor provide a fallback way to set the client and conference ids. The rtcstats trace looks like this:

['identity', null, {user: 'something', conference: 'firechat'}]

where user is the same thing passed as rtcStatsClientIdentifier and conference is the same thing passed as rtcStatsConferenceIdentifier in the non-fallback case.