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)
Core
WebRTC
Tracking
()
RESOLVED
DUPLICATE
of bug 910249
backlog | webrtc/webaudio+ |
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.
Reporter | ||
Updated•12 years ago
|
Whiteboard: [getUserMedia]
Reporter | ||
Updated•12 years ago
|
Whiteboard: [getUserMedia] → [getUserMedia], [blocking-gum-]
Comment 2•12 years ago
|
||
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
Updated•12 years ago
|
Keywords: dev-doc-needed
Comment 3•10 years ago
|
||
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.
Comment 4•10 years ago
|
||
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?
Comment 5•9 years ago
|
||
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-]
Comment 6•9 years ago
|
||
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
Updated•9 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•