Questions tagged [mediastream]

The two main components in the MediaStream API are the MediaStreamTrack and MediaStream interfaces. The MediaStreamTrack object represents media of a single type that originates from one media source in the User Agent, e.g. video produced by a web camera. A MediaStream is used to group several MediaStreamTrack objects into one unit that can be recorded or rendered in a media element.

The two main components in the MediaStream API are the MediaStreamTrack and MediaStream interfaces. The MediaStreamTrack object represents media of a single type that originates from one media source in the User Agent, e.g. video produced by a web camera. A MediaStream is used to group several MediaStreamTrack objects into one unit that can be recorded or rendered in a media element. Media Capture and Streams

348 questions
0
votes
0 answers

Video screen capture using MediaStream API records for full duration in Firefox but not in Chrome

I'm trying to get a screen recording of the browser using the MediaStream API in Javascript. My current method which is in raw Javascript works perfectly for Firefox (it provides me with a ~10sec video of the screen and downloads it) but in Chrome…
Isabella
  • 133
  • 1
  • 2
  • 13
0
votes
3 answers

Property 'scr' does not exist on type 'Element' in mediaStream and Angular 4

I am using getUserMedia to displaying the live stream from the webcam. My app.component.html is // to show webcam video // to show recieved stream from other user. and…
Rupesh
  • 850
  • 2
  • 13
  • 30
0
votes
0 answers

getUserMedia - depth stream extension

How do I access the properties of depth stream tracks through getUserMedia()? The properties I'm trying to get are principalPointX, principalPointY, focalLengthX, focalLengthY from media tracks The documentation says I need to set depth to true, so…
RJK
  • 226
  • 1
  • 6
  • 22
0
votes
0 answers

Black Screen On Safari when working with pixel manipulation

I'm working on canvas with two layer which is one over the other. I'm having video from the video, I'm trying to get the stream using drawImage in a canvas, and that video is coming from another peer so it will be in the media stream and I'm using…
Ramya
  • 1
  • 2
0
votes
0 answers

Record webm from canvas using MediaRecorder

I'm trying to create a .webm file from a canvas. To do this I'm using captureStream and MediaRecorder. However, I'm having issues as the ondataavailable event only gets fired when the MediaRecorder is stopped, and the event data it contains is size…
Peter Gordon
  • 1,075
  • 1
  • 18
  • 38
0
votes
3 answers

MediaStreamRecorder is not a constructor

I'm new to Angular6 and I'm trying to use MediaStreamRecorder. I'm definitely doing something wrong when defining MediaStreamRecorder because I keep getting the error TypeError: msr__WEBPACK_IMPORTED_MODULE_4__.MediaStreamRecorder is not a…
Emanuela Colta
  • 2,129
  • 4
  • 18
  • 31
0
votes
1 answer

Where is mediastream recording stored?

i'm using Mediastream Recording and GetUserMedia to record audio and video from user's webcam. I couldn't find where the temporary video is stored. I want to know that to detect if there will be storage problems when recording a lot of content or if…
Raúl Pérez López
  • 538
  • 1
  • 5
  • 14
0
votes
2 answers

Select input media device for audio recording using web audio APi

Can we set the device from which the audio should be recorded in mediastreamRecorder API using enumerateDevices using Web Audio APIs?
Kishore
  • 23
  • 3
0
votes
0 answers

js peerConnection doesn't connect if using mobile internet

Description: I'm using peerConnection between two computers and send mediaStream from canvas to the video-element of other computer Problem: If I'm using mobile internet on computer that connect's to host computer then connection readyState standing…
Vyacheslav
  • 99
  • 3
  • 8
0
votes
2 answers

MediaSteam interaction with WebAssembly

Is there a known way to get a video stream from the browser back into WebAssembly? I know that you can do frame capture using HTML canvas, but I am unaware of how to get the entirety of the stream (audio/video) and send it to my WebAssembly…
Jason Waldrip
  • 5,038
  • 8
  • 36
  • 59
0
votes
2 answers

WebRTC - can't display remote mediaStream

This is driving me up the walls. I've been working on a webRTC communication app. Basic use case is failing me. So I can create the RTCPeerConnection just fine, add a freshly grabbed mediaStream to it, peers exchange offer/answer/iceCandidates,…
FerBorVa
  • 1
  • 6
0
votes
1 answer

Why The Program Writes To Socket Empty?

I am making a program which records video, and sends its blobs to a socket every 5 secs.It seems working properly but when i look at the files received by the server, i see all the programs written by socket client are empty= 0kb.Can you help me…
G.Darcan
  • 3
  • 4
0
votes
1 answer

js+html5 getUserMedia conflicts with microphone (android) (mobile thinks phone call is active)

Edited - Update in bottom of post I'm building a web based app for android using phonegap, and i came across this problem, after the initialization of getusermedia when i use the Volume down/up button the volume control is for call and not for…
0
votes
1 answer

Using the MediaStream API to capture screenshots or share live screens in javascript?

I have recently been working on a project that requires me to capture a screenshot of the clients machine at certain events (uncaught exception etc). Having explored html2canvas, I can tell you that I am NOT looking for a DOM reader/renderer…
0
votes
0 answers

Get html5 video contents as base64

I have a html5 video tag with src attribute pointing to some website with mp4 file. Is it possible to get contents of this video when it has loaded as base64 string? UPD: I need binary video data inside browser. Thanx.
Stepan Yakovenko
  • 8,670
  • 28
  • 113
  • 206
1 2 3
23
24