This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
See thread starting at http://lists.w3.org/Archives/Public/public-media-capture/2013Jun/0034.html
The current proposed name is MediaStreamTrack.getSources().
The current editor's draft still says getSourceInfos() and is synchronous. Editors, can we update the spec to have the agreed async behavior? Also, it'd be nice to add some clarity about "label" authorization: http://dev.w3.org/2011/webrtc/editor/getusermedia.html#widl-SourceInfo-label Spec says "If the application is authorized to get info from this source"; we should spell out that that means that the user has authorized a previous getUserMedia() call.
The reason for the language about label is that I did not want to tie this to getUserMedia, since we also have requestPermission; it should point at the concept of authorization, not which mechanism was used to grant authorization - more mechanisms may be added in the future. But please, let's keep the concerns separate, we can raise a new bug for the label language if we need to.
Proposed fix: https://github.com/fluffy/webrtc-w3c/commit/0a9105e06c8d66548ed93bad33910d08e9be2883 Should the "result object" still be named SourceInfo after we've renamed the method (getSourceInfos() -> getSources())?
Fixed in Editor's draft v20131017
From having a read of the editors draft, it seems that all references to either MediaStreamTrack.getSources() or MediaStreamTrack.getSourceInfos() have been removed (apart from the change history). Is this correct?
We added functionality to enumerate output devices as well and renamed the function to getMediaDevices (it's located on the navigator object). http://dev.w3.org/2011/webrtc/editor/getusermedia.html#enumerating-devices
Cool - thanks for the clarification.