muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.45k stars 1.75k forks source link

Camera Setting For Video Upload #837

Open Sarthak-Samanta opened 1 year ago

Sarthak-Samanta commented 1 year ago

Sir Your script for Video upload is Excellent. Its working very Good.

One more thing i want to know that how can i capture the video by using my Mobile Back Camera when capturing??? Please tell me the solution.

Thank You.

JackieZheng commented 10 months ago

getUserMedia({ audio: true, video: { facingMode: 'environment' }, // Back Camera // video: { facingMode: 'user' } // Front Camera })