|
|
|
@ -228,6 +228,8 @@ public class SrsEncoder {
|
|
|
|
|
vOutHeight = height;
|
|
|
|
|
vPortraitWidth = width;
|
|
|
|
|
vPortraitHeight = height;
|
|
|
|
|
vLandscapeWidth = height;
|
|
|
|
|
vLandscapeHeight = width;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setLandscapeResolution(int width, int height) {
|
|
|
|
@ -235,6 +237,8 @@ public class SrsEncoder {
|
|
|
|
|
vOutHeight = height;
|
|
|
|
|
vLandscapeWidth = width;
|
|
|
|
|
vLandscapeHeight = height;
|
|
|
|
|
vPortraitWidth = height;
|
|
|
|
|
vPortraitHeight = width;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setVideoHDMode() {
|
|
|
|
|