367
questions
0
votes
1
answer
57
views
Safari & iOS MediaRecorder give unintelligible stream
I have setup a webserver where I record audio using the MediaRecorder in the front-end, then send it to the backend, the backend transforms it into pcm using ffmpeg. I need this in near real-time, so ...
0
votes
1
answer
39
views
Consumer transport video stream not working
I am creating a website with streaming capabilities. I am using mediasoup as my webRTC SFU in a react and node environment. I am new but I think I have followed the steps appropriately: Make a worker, ...
0
votes
1
answer
91
views
Is there any way to know that the selected window for screen sharing is closed in firefox browser?
When using the MediaStream API to capture a screen recording in Firefox, it's challenging to detect when the selected window for screen sharing is closed. The MediaStreamTrack object provides several ...
1
vote
1
answer
91
views
MediaStream throwing play() request was interrupted by a new load request
The browser throws this asynchronous error when I try to play my mediastream videotrack
Uncaught (in promise) DOMException: The play() request was interrupted by a new load request.
Here's my code:
...
1
vote
2
answers
307
views
What maximum amount of data can be stored in React state?
Context: I have a React web application which is rendered inside a mobile app. In this app we are capturing images using MediaStream APIs and storing the images(max. 10 in base64 format) in state ...
0
votes
0
answers
62
views
Right approach to create an architecture for multiparty video chat
I'm implementing a video chat app for multi-parties. In my app I used socket.io for event management and peer.js for offering connection between peers.
I implemented the mesh architecture in a way ...
0
votes
0
answers
142
views
How to access raw media data using only MediaStreamTrack
I want to understand the Web API a bit better, specifically how the media recording works. I know I can record the media using the MediaRecorder, but that's a pretty high level.
navigator.mediaDevices....
1
vote
0
answers
157
views
Changing permissions on video or audio stops all WebRTC MediaStreams
I'm doing a web application in React that resembles a web conference app, so I require camera and microphone access.
When I request access for the camera and microphone, I do it with a single prompt, ...
0
votes
0
answers
52
views
Get a <video/> element audio without having to play the video
I'm developing a feature where i need to export a canvas (created with fabricjs) as a video file. Exporting the canvas as a video is already working by using MediaRecorderApi, the problem is that if ...
1
vote
0
answers
76
views
Why is this AudioWorklet to MP3 code producing different results on Chromium and Firefox?
I'm running the same code on Firefox 125 and Chromium 124.
The code run on Firefox produces a Blob that is an encoded MP3 file - after chopping up whatever audio is being played in Firefox while the ...
0
votes
0
answers
49
views
MediaStream error obstructs audio recording from microphone
I'm working on an application that involves audio recording from user microphone, using Web Audio API and MediaStream Recording API. When I trigger Start Recording, browser displays access request to ...
-1
votes
1
answer
146
views
Piping TTS to WHIP
I'm building a real-time audio app using WebRTC and AWS and on the server side I want to pipe an OpenAI Text-To-Speech (TTS) response to a WebRTC-HTTP ingestion protocol (WHIP) endpoint.
Is there a ...
0
votes
1
answer
213
views
How to convert ArrayBuffer sent from websocket into a MediaStream, and then transmit it to webrtc server via peerConnection.addTrack?
The problem:
I have audio binary data, sent from websocket, in ArrayBuffer or Uint8Array format. Let's name it as wsAudioData.
I want to transmit this wsAudioData to my webrtc server, and I can ...
1
vote
1
answer
136
views
Transform camera stream and send to others (even from inactive tab / app)
I am developing module for video calling website that modifies facial featues.
Essentially, I get video stream (MediaStream) and I return modified stream.
Currently I am using "canvas....
0
votes
1
answer
115
views
Microphone, the sound appears only after adjusting the volume
No sound from microphone until volume is adjusted in WebRTC application
Expected Behavior:
When the microphone is turned on, I expect to hear sound immediately without needing to adjust the volume ...