Avatar

Level 4

the native width and height capture always seems to be 128x128.  how can i change this?  it's taking a square crop from the camera and publishing that as the stream. 

also, i don't quite understand what resolutionFactor is doing.  what are the three native width and height values?  does setting resolutionFactor=3 for a 128x128 capture translate to a 384x384 resolution?  no matter what i set resolutionFactor to, when i check the stream coming in the nativeWidth/nativeHeight is always 128x128.

can you help me clarify this?

Specifies the resolution factor of captured data; ResolutionFactor values range from 1 (lowest resolution) to 10 (highest resolution). Resolution factor gets multiplied by the native width and height of captured camera. We provide three native width and height values based on aspect ratios. That width and height when multiplied with this factor, gives the resolution.