- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When try to make video calls i write:
LocalCameraStreamParameters msp = new LocalCameraStreamParameters(true,true); msp.setResolution(1280,720);
But in logcat i read:
D/WooGeen-LocalCameraStreamParameters﹕ Creating media constraints, width: 1280, height: 720, fps: 30
D/WEBRTC-JC﹕ startCapture: 640x480@24000:24000
Why does it not change video resolution?
I really like your work! Thanks!
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vincenzo,
It seems the camera on your phone does not support 720p media streaming. In this case, our application will choose most close resolution automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think it does, any help?
07-06 14:50:40.539 3617-3632/? D/MediaCodecVideoDecoder﹕ SDK version: 15
07-06 14:50:40.687 3617-3632/? D/WEBRTC-JC﹕ Camera 0, Facing back, Orientation 0
07-06 14:50:40.710 3617-3632/? D/WEBRTC-JC﹕ [
{
"mfpsRanges": [
{
"min_mfps": 5000,
"max_mfps": 5000
},
{
"min_mfps": 10000,
"max_mfps": 10000
},
{
"min_mfps": 15000,
"max_mfps": 15000
},
{
"min_mfps": 20000,
"max_mfps": 20000
},
{
"min_mfps": 5000,
"max_mfps": 24000
},
{
"min_mfps": 24000,
"max_mfps": 24000
}
],
"sizes": [
{
"height": 1080,
"width": 1920
},
{
"height": 720,
"width": 1280
},
{
"height": 720,
"width": 960
},
{
"height": 480,
"width": 800
},
{
"height": 576,
"width": 720
},
{
"height": 480,
"width": 720
},
{
"height": 576,
"width": 768
},
{
"height": 480,
"width": 640
},
{
"height": 480,
"width": 640
},
{
"height": 240,
"width": 432
},
{
"height": 240,
"width": 320
},
{
"height": 288,
"width": 352
},
{
"height": 160,
"width": 240
},
{
"height": 144,
"width": 176
},
{
"height": 120,
"width": 160
},
{
"height": 96,
"width": 128
},
{
"height": 1920,
"width": 1088
},
{
"height": 1280,
"width": 720
},
{
"height": 800,
"width": 480
},
{
"height": 720,
"width": 576
},
{
"height": 768,
"width": 576
},
{
"height": 720,
"width": 480
},
{
"height": 640,
"width": 480
},
{
"height": 352,
"width": 288
},
{
"height": 320,
"width": 240
},
{
"height": 240,
"width": 160
},
{
"height": 176,
"width": 144
},
{
"height": 160,
"width": 120
},
{
"height": 128,
"width": 96
}
],
"orientation": 0,
"front_facing": false,
"name": "Camera 0, Facing back, Orientation 0"
}
]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vincenzo,
We may need more information:
-
WebRTC Android SDK version (there is a bug in the old version which may leads to use lower resolution than specified)
-
Phone model and Android version (we may test on real device if we have one)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SOLVED!!!
My device camera doesn't support 30fps, i changed to 24fps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great to hear that! Thanks

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page