Comments (9)
It was a design choice to let the user override the request made by the website.
Re-reading the specs, I do understand that if the request says no video, the stream MUST not contain a video track.
http://www.w3.org/TR/2015/WD-mediacapture-streams-20150414/#idl-def-MediaStreamConstraints
@agouaillard : what do you think?
from adapterjs.
I think the spec is clear.
if the constraint is videoL false, the resulting media stream MUST not have
a video track.
In such case it makes no sense to have a prompt for video at all (you take
the risk to start a video capturer for nothing).
On Thu, Apr 30, 2015 at 10:07 AM, Jacques-Olivier HachΓ© <
[email protected]> wrote:
It was a design choice to let the user override the request made by the
website.
Re-reading the specs, I do understand that if the request says no video,
the stream MUST not contain a video track.http://www.w3.org/TR/2015/WD-mediacapture-streams-20150414/#idl-def-MediaStreamConstraints
@agouaillard https://github.com/agouaillard : what do you think?
β
Reply to this email directly or view it on GitHub
#68 (comment).
Alex. Gouaillard, PhD, PhD, MBA
CTO - Temasys Communications, S'pore / Mountain View
President - CoSMo Software, Cambridge, MA
sg.linkedin.com/agouaillard
from adapterjs.
I agree with @agouaillard. We should not allow the user to overwrite what is being requested by the JS app.
Please note that this should also be applicable for the case where the constraint has audio: false. In this case the user should not be allowed to select a recording device.
from adapterjs.
Alright, ticket open in JIRA.
from adapterjs.
Hey,
Is it possible to remove video stream manually somehow? When I disable video track sound become disabled also.
from adapterjs.
1 - FYI, I implemented the forced respect of the constraints last week. it will be a part of the next release.
2 - Do you mean removing the video track from the stream while keeping the audio track ? MediaStream.removeTrack will also be in the next release.
Did you try getting the video track and setting it to enabled = false ?
from adapterjs.
Sounds good!
2 - Yes, but when we will have correct getUserMedia flow - all will be fine
- Did you try getting the video track and setting it to enabled = false ?
- Yes, and sound also became disabled after it.
from adapterjs.
Also could you please let me know when next release will be?
from adapterjs.
A release including those fixes was done on Aug 13, closing this issue.
https://temasys.atlassian.net/wiki/display/TWPP/WebRTC+Plugins
from adapterjs.
Related Issues (20)
- black stream from IE (edge) HOT 1
- Different streams with equal stream.id HOT 2
- Safari11 WebRTC support HOT 6
- Merging this project to the official WebRTC Adapter.js HOT 1
- Adapter: InvalidAccessError with Edge browser
- rtcTRACKENVENT undefined HOT 1
- Safari Video Resolution 320x240 does not work with AdapterJS HOT 3
- 'icecandidate' event not firing in IE 11 HOT 1
- How to reduce the loading time? HOT 7
- AdapterJS global object is not properly detected when used with module bundlers like WebPack
- How to display multiple Media streams in iPhone safari? HOT 4
- Tricke ice option is not present in Offer HOT 1
- under IE11, install the IE Plugin 0.8.907 there is no video HOT 2
- getUserMedia undefined into adapter.js HOT 3
- 'MediaStreamTrack' is undefined HOT 1
- how to capture the screenshot of video in IE HOT 1
- IE11 refresh page fail to create video track (IE can't close camera) HOT 1
- Setting peerConnection.addTransceiver('audio') and peerConnection.addTransceiver('video') causes communication not working
- How to close IE11 devices access permission prompt box HOT 1
- How to mirror video for IE11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adapterjs.