WebRTC : 10 Sec Recorded file size is 3.46MB

82 views
Skip to first unread message

Santosh Shingare

unread,
Aug 13, 2015, 8:40:06 AM8/13/15
to discuss-webrtc
Dear all,

I recorded video for 10second in (Firefox/Chrome) using this example [ https://www.webrtc-experiment.com/RecordRTC/ ]. 
Recorded blob size around 4.36MB, Then I modified some paramter as fallows 

var videoConstraints = {
            audio: false,
            video: {
                         mandatory: {
                             width: { min: 320 },
                             height: { min: 240 }
                           },
                         optional: [
                             { width: 320 },
                             { width: { min: 320 }},
                             { frameRate: 60 },
                             {  quality: 10 },
                             { width: { max: 320 }},
                             { facingMode: "user" }
                           ]
                     }  
        };

But still blob size is almost same. what can I do, for reduce recorded blob size. 

Thank you

Tadas Straševičius

unread,
Aug 13, 2015, 11:15:53 AM8/13/15
to discuss-webrtc
Try adding to optional:

{"minFrameRate": 1}, 
{"maxFrameRate": 15}

and to mandatory:

{"maxWidth": "320"} ,
{"maxHeight": "240"}
Reply all
Reply to author
Forward
0 new messages