Closed Bug 782194 Opened 12 years ago Closed 9 years ago

Follow spec for MediaStream and expose the correct attributes and functions

Categories

(Core :: WebRTC, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 910249

People

(Reporter: jsmith, Unassigned)

References

()

Details

(Keywords: feature)

In doing comparison testing on Chrome with our Nightly implementation, I've generally noticed that we are not exposing the correct API attributes or functions at the JS level. Right now, when looking in the web console, we expose something called "currentTime," which represents the time the stream has been running. Chrome I noticed does not expose this, and instead exposes what appears to fall in alignment with what's called out in the API. Examples include: - audioTracks (Media Stream) - label (Media Stream) - onended (Media Stream) - readyState (Media Stream) - videoTracks (Media Stream) - stop() (LocalMediaStream) This bug intends to track correcting the exposed API attributes and functions to the LocalMediaStream object returned on a success callback.
Depends on: 782166
Whiteboard: [getUserMedia]
Whiteboard: [getUserMedia] → [getUserMedia], [blocking-gum-]
This is not only for the LocalMediaStream returned by gUM but for any instance of nsIDOMMediaStream.
Summary: Implement and expose the correct attributes and functions for the LocalMediaStream returned by mozGetUserMedia → Follow spec for MediaStream and expose the correct attributes and functions for nsIDOMMediaStream
Actually, being able to distinguish between multiple input video cameras via id and/or label is quite important. We have a multi-camera application that won't work in Firefox yet, unfortunately. And lack of attributes is one of the reasons.
We just discovered a bug in our application caused by an assumption that all streams have an id attribute. Any timeframe for when this can be implemented? Is the MediaStream API stable enough to prioritize this?
jib - this may be a dup of the bug you have to finish implementing the MediaStream spec (constructors, attributes, etc). Can you dup this or otherwise update it (and update the priority/rank if so)? thanks
backlog: --- → webRTC+
Rank: 35
Flags: needinfo?(jib)
Priority: -- → P3
QA Contact: jsmith
Whiteboard: [getUserMedia], [blocking-gum-]
id was added in Bug 1089798. add/removeTrack is covered by Bug 1103188. constructor is Bug 1070216. rest is Bug 910249.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(jib)
Resolution: --- → DUPLICATE
Summary: Follow spec for MediaStream and expose the correct attributes and functions for nsIDOMMediaStream → Follow spec for MediaStream and expose the correct attributes and functions
You need to log in before you can comment on or make changes to this bug.