MediaRecorder doesn't create data Blobs while recording
Reported by
bl...@pitch.ly,
Dec 11 2016
|
||||||||
Issue description
Chrome Version : 54.0.2840.98
OS Version: OS X 10.12.1
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 5: FAIL
Firefox 4.x: OK
IE 7/8/9: ?
What steps will reproduce the problem?
1. Load the MediaRecorder demo here: https://webrtc.github.io/samples/src/content/getusermedia/record/
2. Record a video.
3. Try playing it back or downloading.
What is the expected result?
When the MediaRecorder is started, blobs of data should be created.
What happens instead of that?
Looks like either `ondataavailable` is not called, or the `event.data` argument is empty.
Please provide any additional information below. Attach a screenshot if
possible.
Works in Firefox, doesn't work in Chrome.
We are using the "Pitchly-Webcam.js" implementation from here: https://www.npmjs.com/package/pitchly-webcamjs
UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
,
Dec 12 2016
,
Dec 12 2016
,
Dec 12 2016
,
Dec 12 2016
blake@ If you're using the pitchly-webcamjs node package then you're not using the webrtc.github.io demo. correct? Do you get empty Blobs with the demo page?
,
Dec 12 2016
At Pitch.ly we use the pitchly-webcam.js package that I rolled, based on the webrtc.github.io implementation. When debugging pitchly-webcam.js I noticed that the array of blobs was empty. I then tried reproducing the issue in the webrtc.github.io (as well as simpl.info/mr), was able to, and saw that it was the same problem. I did not bother debugging further to determine if the `ondataavailable` event was being triggered, or if the even was empty. I'm eagerly watching this bug; let me know if there is anything else I can do to help.
,
Dec 13 2016
[1] seems to work for me on Mac Stable version is 55.0.2883.87. Can you try with that version? [1] https://webrtc.github.io/samples/src/content/getusermedia/record/
,
Dec 13 2016
Just updated and it works again! Thanks! That was a FAST turn around! Now I just need to figure out why the aspect ratio isn't being respected and I'm golden! https://github.com/pitchly/webcamjs/blob/master/webcam.js#L105-L107
,
Dec 13 2016
Re. #8 you might need to rearrange your constraints like e.g. in [1], but I claim no deep knowledge of those arcanes :-) Re. MR bug, closing per #7. [1] https://cs.chromium.org/chromium/src/content/browser/webrtc/webrtc_browsertest.cc?q=minAspectRatio&sq=package:chromium&l=70&dr=C
,
Dec 13 2016
Perfect! Thank you so much @mcasas!
,
Jan 18 2017
,
Jan 18 2017
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by ajha@chromium.org
, Dec 12 2016Labels: M-57