mediastream Questions

3

Solved

I'm working on a project in which I'd like to: Load a video js and display it on the canvas. Use filters to alter the appearance of the canvas (and therefore the video). Use the MediaStream captu...
Koenraad asked 3/9, 2016 at 2:54

4

Solved

The desktopCapturer api example shows how to write a screen capture stream to a <video> element. // In the renderer process. var desktopCapturer = require('electron').desktopCapturer; deskt...
Sepulchral asked 20/4, 2016 at 19:24

2

I'm building a screen recorder plugin for chrome store. I'm adding microphone's audio track to the media stream that contains (Screen's video track + System audio track). So final stream contain 2 ...
Highbred asked 6/9, 2017 at 11:39

1

Solved

I have code that records the stream of a video manipulated and displayed on a canvas element and combines it with the AudioContext stream of the same video to give it sound. It works 100% of the ti...
Loferski asked 23/8, 2023 at 1:42

1

Solved

I have a website (Angular 15 & Ionic 6) where a user uploads a video, then I apply some alterations to it on a canvas, capture the canvas stream, and output to a file I first create a MediaStre...
Bennir asked 15/8, 2023 at 23:3

1

I've built a Chrome extension that captures screen activity and microphone input and outputs a video file. Since chrome.desktopCapture can't record audio input alongside screen capture, I'm getting...

5

How usergetmedia to use the microphone in chrome and then stream to get raw audio? I need need to get the audio in linear 16.
Filippa asked 4/8, 2018 at 16:0

1

Solved

I'm working on a project where I'm using <video> elements as sources for canvas animations, and I'm aiming to send their audio through the Web Audio API using Tone.js. The canvas animations a...
Haunted asked 8/8, 2022 at 0:56

1

Solved

I couldn't find a definitive answer for this, Let's say I have a server that receives an RTSP feed from an IP camera, this stream will be broadcasted to multiple clients, the connection is always i...

0

I'm using puppeteer-stream to get a stream of a browser controlled by Node, running on a server. I am able to write this stream out to a file with no issues. I wanted to stream this stream via WebR...
Larsen asked 4/11, 2021 at 10:20

3

Solved

I am taking a MediaStream and merging two separate tracks (video and audio) using a canvas and the WebAudio API. The MediaStream itself does not seem to fall out of sync, but after reading it into ...

0

Calling SpeechRecognition.start automatically requests microphone permission, but is there any way to start SpeechRecognition on a custom MediaStream (e.g. from getDisplayMedia)?

2

I am trying to run unit-test with jest framework. I have some webrtc related code in my project written in typescript. I am continuously getting this error. I tried to mock MediaStream but to no a...
Alfonzoalford asked 9/8, 2019 at 5:59

2

Solved

Is there a way to detect which device (camera, microphone) is active, given a MediaStream instance? The app I'm currently working on does simply query for such a stream and attaches it to a <vid...

2

I am capturing a user's audio and video with the navigator.mediaDevices.getUserMedia() and then using MediaRecorder and its ondataavailable to store that video and audio blob locally to upload late...

1

Solved

I am having a issue in combining two audio tracks into one, in order to add the whole merged audio to a video track. this.promises = [navigator.mediaDevices.getUserMedia({ audio: true, video: true...
Gratulant asked 6/11, 2020 at 15:52

3

My Javascript application gets a WebM video stream over a Websocket connection. There is no delay between remote peer sending video frames and the application getting them. I create a MediaSource o...
Grating asked 14/8, 2018 at 14:11

2

I am using MediaRecorder in ReactJS to record audio from the microphone and storing into the blob with MIME type "audio/mp3". I want to convert this blob to MP3 and upload it in S3 bucket. I am a...
Havelock asked 17/4, 2020 at 5:16

1

Solved

I use an OCR in order to recognize text from images. I take photos/snapshots from the user's camera/video input using the ImageCapture API from a MediaStream. Here is the code responsible for that:...
Biltong asked 18/6, 2020 at 9:4

0

I am trying to implement a toggle video feature using webRTC. Refer to the following code: <video id="remote" autoPlay></video> <button onclick="toggleVideo()">Toggle video</b...
Penguin asked 17/6, 2020 at 8:8

1

I am trying to produce something similar to https://recordscreen.io/ It positions the users camera over the screen recording I've got both streams separately right now. I've tried position one ov...
Calla asked 10/7, 2019 at 13:32

1

Solved

In my web app I obtain a MediaStream either via getUserMedia or getDisplayMedia. In certain situations, the video track of that stream can change its size. For example, if getDisplayMedia tracks a ...
Characterization asked 25/2, 2020 at 17:17

2

I am building a react app and need to access the webcam which get with the following code: navigator.mediaDevices.getUserMedia({ video: true, audio: false }) .then(function(stream) { video.srcO...
Henricks asked 25/10, 2017 at 19:21

1

In the past, you could use URL.createObjectURL() and pass it a MediaStream. However, this has been removed (see https://www.fxsitecompat.dev/en-CA/docs/2017/url-createobjecturl-stream-has-been-depr...
Drawplate asked 27/9, 2019 at 16:40

1

Solved

I'm currently spiking out a music application with HTML5/JS and am attempting to achieve the lowest latency I can with the MediaStream Recording API. The app allows a user to record music with a ca...
Harmless asked 20/8, 2019 at 18:40

© 2022 - 2025 — McMap. All rights reserved.