Supplement

Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
camera2
Leo Ma 9 years ago
parent b7af586963
commit cf144ea392

@ -24,8 +24,7 @@ Test
You may watch the live broadcasting at [srs.net](http://www.ossrs.net/players/srs_player.html). You may watch the live broadcasting at [srs.net](http://www.ossrs.net/players/srs_player.html).
Remember to modify the URL by yourself. Have fun! Remember to modify the URL by yourself. Have fun!
**NOTE** if you feel high latency, it might be the frame cache of the server or **NOTE** if you feel high latency, please check your bandwidth limits and player buffering.
player. So you need to open the player first and then publish to see the effect.
Other Branch Other Branch
------------ ------------

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

Loading…
Cancel
Save