Skip to content
Snippets Groups Projects
Commit cf144ea3 authored by Leo Ma's avatar Leo Ma
Browse files

Supplement


Signed-off-by: default avatarLeo Ma <begeekmyfriend@gmail.com>
parent b7af5869
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -24,8 +24,7 @@ Test
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!
 
**NOTE** if you feel high latency, it might be the frame cache of the server or
player. So you need to open the player first and then publish to see the effect.
**NOTE** if you feel high latency, please check your bandwidth limits and player buffering.
 
Other Branch
------------
Loading
Loading
Loading
Loading
@@ -228,6 +228,8 @@ public class SrsEncoder {
vOutHeight = height;
vPortraitWidth = width;
vPortraitHeight = height;
vLandscapeWidth = height;
vLandscapeHeight = width;
}
public void setLandscapeResolution(int width, int height) {
Loading
Loading
@@ -235,6 +237,8 @@ public class SrsEncoder {
vOutHeight = height;
vLandscapeWidth = width;
vLandscapeHeight = height;
vPortraitWidth = height;
vPortraitHeight = width;
}
public void setVideoHDMode() {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment