is posible manipulate mediastream directly without canvas api? [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm created a simple video-chat using javascript and WebRTC for do connection between users client i want to add posibility that users can use some custom filters like video effects and other related stuff,
i found some examples and are useful but all examples do modification using canvas api I mean the video-stream is proccesed then drawed in a canvas next reproccess for be sent as MediaStream obtained from it
i felt that all this step are redundant and i want to know if exists some way to manipulate video stream directically avoiding the use of canvas api ?

WebRTC-NV lists some use-cases related to that (such as background blurring) but there are no implementations yet so you'll have to go via canvas+captureStream.

Related

Is it a good idea to store website images on good drive and link to it? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm developing a website that uses a lot of images and was thinking of storing those images on Google Drive using the Drive API whenever an image is uploaded. Do you think this is a good idea and will it affect the performance in any way?
PS. After uploading to Drive from the backend, I will store a link to the image in the DB.
In your case, maybe you should take a look at Cloudinary.
The free plan is very generous, and the api is very easy to understand, despite the possibility to transform the images (crop, etc...).

Create a function that scans for available blue tooth devices(Javascript) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am looking to create and then call on a function that can scan available bluetooth devices. right now I am just looking to create a function that will list all the devices. Nothing more. Is there any way to do this without referencing an html link or script?
You can't search for bluetooth devices using only javascript. You can, however, set a service that scans the devices and you read that with an api call using javascript.
please refer to this question

Why are some webpages all rendering using javascript? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I just begin to learn web design. And I want to learn some design style and I noticed that most web pages are part static html and part javasript. But why some web pages are all rendering using javascript? Is it for safe reason or for saving traffic load ? I know using javascript can save the traffic load but I don't know what's the point all using javascript.
If it's a static page, then it's usually not a great use case for all javascript. But if it has dynamic data or interactivity it can be easier to use javascript to create the views as it's rendered rather than rendering it all, and then using javascript to query the elements to make changes or interactivity

Writing an array data into external file [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am using this demo
pitch detector
to get the pitch of an input data, what I need is to write that captured data into external file or to make a some kind of sine wave to see the frequency of that data
or even better to see what frequencies I don't need. That demo can't show me the more or less precise pitch of the played string,
I searched a lot but nothing seems to fit me. Please help.
You can send the extracted data to a backend service using a form or AJAX. You could also store it in localStorage, sessionStorage or the browsers embedded database like IndexedDb or WebSQL. You could then mine that data in your browser. You could also save the data using the File API, although that is not widely supported across browsers.

Does on the fly creation of svg images via javascript make sense? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to create an application that displays diagrams and allows the user to edit those diagrams.
Does it make sense to implement the editing of the way the svg-diagrams look in javascript or is it better to create all svg images at the server and send it from there to the user?
Are there any gotchers that I should think about when making that architecture decision?
Are there specific libraries that are good to use for editing svg diagrams live via javascript?
Are there specific libraries that are good to use for editing svg diagrams live via javascript?
Yes, there are several. But my favorite is Raphael.js because it's a proven cross browser vector library and it has a fairly clean API. Check out the demos on http://raphaeljs.com/.
Specifically, check out this demo: http://raphaeljs.com/graffle.html
For scalability, I'd recommend doing this on the client side and figuring out a way to wrap your created presentation in a JSON object which you can send to the server on save for backup.

Categories

Resources