flutter_rtmp_publisher icon indicating copy to clipboard operation
flutter_rtmp_publisher copied to clipboard

Camerawidth and width

Open abheet-98 opened this issue 4 years ago • 2 comments

Heyy @espresso3389 ! Hope you are doing good. I just want to know what do the variables "width","height" and "camerawidth", "camera height" denote in the RTMP status class ?

abheet-98 avatar May 15 '20 18:05 abheet-98

On certain Android devices, actual (internal) camera size is sometimes different from the specified width/height and the RtmpStatus reports the actual size. On iOS, cameraWidth/cameraHeight are always identical to width/height.

espresso3389 avatar May 16 '20 05:05 espresso3389

Thanks for a quick reply ! I want to know how to set resolution to stream sd hd or uhd as when I'm using the width and height in the initialize method of class 'RtmpLiveViewController' , the camera screen size in the app varies(sometimes the camera screen of the app doesn't cover the entire mobile screen). I assume that the height and width used in the class 'RtmpLiveViewController' is for the camera screen size of the app when it launches. Right?

abheet-98 avatar May 16 '20 08:05 abheet-98