Skip to content

Commit

Permalink
android, native call: use 640x480 instead of 1280x720
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrik Oldsberg committed Dec 16, 2014
1 parent 556ca93 commit 0e3cd75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public class Config {
new HelperServer(HelperServerType.STUN, "stun.l.google.com", 19302, "", ""),
};

public static final int VIDEO_HEIGHT = 720;
public static final int VIDEO_WIDTH = 1280;
public static final int VIDEO_HEIGHT = 480;
public static final int VIDEO_WIDTH = 640;
public static final double VIDEO_FRAMERATE = 30.0;

public static final String DEFAULT_DTLS_FINGERPRINT_HASH_FUNCTION = "sha-256";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

<TextureView
android:id="@+id/self_view"
android:layout_width="160dp"
android:layout_height="90dp"
android:layout_width="128dp"
android:layout_height="96dp"
android:onClick="onSelfViewClicked"
android:visibility="invisible"/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions android/NativeCall/app/src/main/res/layout/video_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

<TextureView
android:id="@+id/self_view"
android:layout_width="160dp"
android:layout_height="90dp"
android:layout_width="128dp"
android:layout_height="96dp"
android:onClick="onSelfViewClicked"
android:visibility="invisible"/>

Expand Down

0 comments on commit 0e3cd75

Please sign in to comment.