I'm running the latest nightly and trying to use getStats to read the
microphone level on a connected pc.

I call
pc.getStats(localStream.getAudioTracks[0],statsCallback,failCallback) to
get stats on the local audio stream but I have no idea how to read the
microphone volume.

My statsCallback is invoked, I immediately return from the callback,then
the PC's iceConnectionState transitions from connected to new.  Very
strange behavior.

If I never call getStats, then all is well.

I see that https://bugzilla.mozilla.org/show_bug.cgi?id=902003 is recently
resolved / fixed, but I think it is not working.

Is there an example of reading the microphone level?
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to