-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need API to read the CSRC on received tracks #4
Comments
More information needed. |
The following proposal (involving polling) was put forward to support retrieval of both the mixer-to-client audio level as well as the CSRC list. Although some people expressed interest, overall it was not considered a "must have" for WebRTC 1.1, let alone WebRTC 1.0: partial interface RTCRtpReceiver { dictionary RTCRtpContributingSource { |
@alvestrand - would stats be a reasonable place to put this or should it be RTCRtpReceiver ? |
The use case for this BTW is that this is the best way to drive the active speaker indication in a conference roster list. |
It would extend RTCRtpReceiver, like this: Contributing Sources The getContributingSources method extends the RTCRtpReceiver object, providing information on the sources contributing to an incoming media stream. partial interface RTCRtpReceiver { Methods getContributingSources No parameters. dictionary RTCRtpContributingSource dictionary RTCRtpContributingSource { Dictionary RTCRtpContributingSource Members audioLevel of type byte, csrc of type unsigned long, timestamp of type DOMHiResTimeStamp, On Jul 31, 2015, at 08:31, Cullen Jennings <[email protected]mailto:[email protected]> wrote: @alvestrandhttps://github.com/alvestrand - would stats be a reasonable place to put this or should it be RTCRtpReceiver ? — |
It can be used to determine a list of audio volume generators, but determining the dominant speakers is probably best done using other techniques. See:
|
See section 4 of rtp-usage
The text was updated successfully, but these errors were encountered: