Enable PLI as the default.

Description:
Enable PLI as the default option.

BUG=webrtc issue 744
TEST=local
Review URL: https://webrtc-codereview.appspot.com/735008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2610 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org
2012-08-14 17:03:33 +00:00
parent 88b8b0da4b
commit 425e680808
2 changed files with 4 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class ViEAndroidJavaAPI {
// NACK
public native int EnableNACK(int channel, boolean enable);
//PLI for H.264
// PLI
public native int EnablePLI(int channel, boolean enable);
// Enable stats callback

View File

@ -580,6 +580,9 @@ public class WebRTCDemo extends TabActivity implements IViEAndroidCallback,
ret = ViEAndroidAPI.StartSend(channel);
}
// TODO(leozwang): Add more options besides PLI, currently use pli
// as the default. Also check return value.
ret = ViEAndroidAPI.EnablePLI(channel, true);
ret = ViEAndroidAPI.SetCallback(channel, this);
if (enableVideoSend) {