Giter VIP home page Giter VIP logo

Comments (5)

samdutton avatar samdutton commented on July 20, 2024

Thanks for reporting this.

Not sure what's going wrong... I just tried in Firefox 42 on Mac without any problem.

What OS are you on? What error do you see in the console? Do you get local video OK (in the left-hand video element)?

from simpl.

soulfly avatar soulfly commented on July 20, 2024

I use OS X 10.11.1

 Do you get local video OK (in the left-hand video element)?

yes

here is an exception in log:

 Exception while creating MediaRecorder: TypeError: Argument 2 of MediaRecorder.constructor can't be converted to a dictionary.

 stack trace:
 startRecording@https://simpl.info/mediarecorder/js/main.js:93:21
 toggleRecording@https://simpl.info/mediarecorder/js/main.js:81:5

from simpl.

samdutton avatar samdutton commented on July 20, 2024

Got it — I'd messed around with setting the codec in MediaRecorder constructor and broken it for Firefox.

For the second constructor argument, Firefox requires a dictionary (Object), whereas Chrome accepts a string.

Should be fixed now. Let me know if you still get errors.

Thanks again!

from simpl.

soulfly avatar soulfly commented on July 20, 2024

Still have some issues here
https://simpl.info/mediarecorder/

Now it's different

 Created MediaRecorder MediaRecorder { stream: LocalMediaStream, state: "inactive", mimeType: "video/vp9", ondataavailable: null, onerror: null, onstart: null, onstop: null, onwarning: null } with options    Object { mimeType: "video/vp9" } main.js:106:3
 MediaRecorder started MediaRecorder { stream: LocalMediaStream, state: "recording", mimeType: "video/vp9", ondataavailable: handleDataAvailable(), onerror: null, onstart: null, onstop: handleStop(), onwarning: null } main.js:114:3

 State should be "inactive" main.js:70:1  <-- error
 handleDataAvailable() main.js:70

from simpl.

samdutton avatar samdutton commented on July 20, 2024

Hi — thanks for that.

The assert statements were actually left over from the initial development stage. I've removed them now.

from simpl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.