android: Remove h264 option of MediastreamerActivity

parent 764cda0f
......@@ -13,8 +13,6 @@
android:title="VP8" />
<item android:id="@+id/videocall_menu_codec_mpeg4"
android:title="MPEG4" />
<item android:id="@+id/videocall_menu_codec_h264"
android:title="H264" />
</group>
</menu>
</item>
......
......@@ -71,7 +71,6 @@ public class MediastreamerActivity extends Activity {
static String BUNDLE_BITRATE_KEY = "BitrateKey";
static String VP8_MIME_TYPE = "VP8-DRAFT-0-3-2";
static String H264_MIME_TYPE = "H264";
static String MPEG4_MIME_TYPE = "MP4V-ES";
static {
......@@ -252,8 +251,6 @@ public class MediastreamerActivity extends Activity {
menu.findItem(R.id.videocall_menu_codec_vp8).setChecked(true);
else if (videoCodec.equals(MPEG4_MIME_TYPE))
menu.findItem(R.id.videocall_menu_codec_mpeg4).setChecked(true);
else if (videoCodec.equals(H264_MIME_TYPE))
menu.findItem(R.id.videocall_menu_codec_h264).setChecked(true);
switch (bitrate) {
case 64:
......@@ -287,9 +284,6 @@ public class MediastreamerActivity extends Activity {
case R.id.videocall_menu_codec_mpeg4:
updateVideoCodec(MPEG4_MIME_TYPE);
break;
case R.id.videocall_menu_codec_h264:
updateVideoCodec(H264_MIME_TYPE);
break;
case R.id.videocall_menu_bitrate_64_kbps:
updateBitrate(64);
break;
......
......@@ -571,9 +571,6 @@ static void run_media_streams(
ms_filter_enable_statistics(TRUE);
ms_filter_reset_statistics();
ms_message("YOUPI: %d\n", bitrate);
signal(SIGINT,stop_handler);
pt=rtp_profile_get_payload(profile,payload);
if (pt==NULL){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment