We tried to set H263/H264 as encoders in VLC while streaming but still we were getting the error mentioned in the subjectline.
Here is the log for the same:
I/ActivityManager( 1652): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.linphone.mediastream/.MediastreamerActivity } from pid 1787
D/SntpClient( 1652): request time failed: java.net.SocketTimeoutException: Try again
D/ti_gps_hal( 1652): In open_gps
D/ti_gps_hal( 1652): Exiting open_gps
D/ti_gps_hal( 1652): ti_get_gps_interface: Returning Interface
D/ti_gps_hal( 1652): hgps_init: Entering
I/ActivityManager( 1652): Start proc org.linphone.mediastream for activity org.linphone.mediastream/.MediastreamerActivity: pid=8817 uid=10047 gids={3003, 1006}
D/Omap4ALSA( 1585): open called for devices 00000002 in mode 0 channels 00000000...
I/gralloc ( 1652): Allocated 864 x 480 fmt: 2 usage: 0x133
I/Omap4ALSA( 1585): FM Disabled, DL2 Capture-Playback Vol OFF
D/Omap4ALSA( 1585): DL2 Mono Mixer value 0
I/Omap4ALSA( 1585): Using ping-pong!
I/Omap4ALSA( 1585): Buffer size: 2048
I/Omap4ALSA( 1585): Latency: 42666
I/Omap4ALSA( 1585): Initialized ALSA PLAYBACK device 'hw:0,6'
E/AudioHardwareALSA( 1585): RE-OPEN AFTER STANDBY:: took 67 msecs
D/dalvikvm( 8817): Trying to load lib /data/data/org.linphone.mediastream/lib/libavutil.so 0x40514140
D/dalvikvm( 8817): Added shared lib /data/data/org.linphone.mediastream/lib/libavutil.so 0x40514140
D/dalvikvm( 8817): No JNI_OnLoad found in /data/data/org.linphone.mediastream/lib/libavutil.so 0x40514140, skipping init
D/Mediastreamer( 8817): Loaded Library- avutil
D/dalvikvm( 8817): Trying to load lib /data/data/org.linphone.mediastream/lib/libswscale.so 0x40514140
D/dalvikvm( 8817): Added shared lib /data/data/org.linphone.mediastream/lib/libswscale.so 0x40514140
D/dalvikvm( 8817): No JNI_OnLoad found in /data/data/org.linphone.mediastream/lib/libswscale.so 0x40514140, skipping init
D/Mediastreamer( 8817): Loaded Library- swscale
D/dalvikvm( 8817): Trying to load lib /data/data/org.linphone.mediastream/lib/libavcore.so 0x40514140
D/dalvikvm( 8817): Added shared lib /data/data/org.linphone.mediastream/lib/libavcore.so 0x40514140
D/dalvikvm( 8817): No JNI_OnLoad found in /data/data/org.linphone.mediastream/lib/libavcore.so 0x40514140, skipping init
D/Mediastreamer( 8817): Loaded Library- avcore
D/dalvikvm( 8817): Trying to load lib /data/data/org.linphone.mediastream/lib/libavcodec.so 0x40514140
D/dalvikvm( 8817): Added shared lib /data/data/org.linphone.mediastream/lib/libavcodec.so 0x40514140
D/dalvikvm( 8817): No JNI_OnLoad found in /data/data/org.linphone.mediastream/lib/libavcodec.so 0x40514140, skipping init
D/Mediastreamer( 8817): Loaded Library- avcodec
D/dalvikvm( 8817): Trying to load lib /data/data/org.linphone.mediastream/lib/libsrtp.so 0x40514140
D/dalvikvm( 8817): Added shared lib /data/data/org.linphone.mediastream/lib/libsrtp.so 0x40514140
D/dalvikvm( 8817): No JNI_OnLoad found in /data/data/org.linphone.mediastream/lib/libsrtp.so 0x40514140, skipping init
D/dalvikvm( 8817): Trying to load lib /data/data/org.linphone.mediastream/lib/libmediastreamer2.so 0x40514140
D/dalvikvm( 8817): Added shared lib /data/data/org.linphone.mediastream/lib/libmediastreamer2.so 0x40514140
I/ms ( 8817): Mediastreamer starting !
I/mediastreamer( 8817): MSAndroidDisplay (OpenGL ES2) registered (id=79).
I/mediastreamer( 8817): srtp init
V/RenderScript_jni( 1787): surfaceDestroyed
I/mediastreamer( 8817): ms_init() done
I/mediastreamer( 8817): Starting video stream.
I/mediastreamer( 8817): Setting video size 176x144
saI/mediastreamer( 8817): Using permissive algorithm
I/mediastreamer( 8817): Trying to get decoder for MP4V-ES
E/mediastreamer( 8817): No such filter with id 77
I/mediastreamer( 8817): ogl_display_new : 0x29c908
I/mediastreamer( 8817): android_display_init 0x29c878 0x29c8e8
E/mediastreamer( 8817): no such method on filter MSAndroidDisplay, fid=16387 method index=0
E/mediastreamer( 8817): no such method on filter MSAndroidDisplay, fid=16387 method index=1
I/mediastreamer( 8817): ms_filter_link: MSRtpRecv:0x29c7f8,0-->MSMpeg4Dec:0x29c160,0
I/mediastreamer( 8817): ms_filter_link: MSMpeg4Dec:0x29c160,0-->MSAndroidDisplay:0x29c878,0
E/ms ( 8817): Starting mediastream !
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
I/gralloc ( 1652): Allocated 864 x 480 fmt: 1 usage: 0x133
W/mediastream( 8817): Video display surface created
D/libEGL ( 8817): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 8817): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 8817): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 8817): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
I/mediastreamer( 8817): event_cb called 1074069504
I/mediastream( 8817): Video display surface is being changed.
I/mediastreamer( 8817): Sending opengles_display pointer as long: 0x29c908 -> 2738440
W/mediastream( 8817): Video display surface changed
W/mediastream( 8817): Video preview surface created
I/mediastream( 8817): Video preview surface is being changed.
W/mediastream( 8817): Video preview surface changed
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
I/ActivityManager( 1652): Displayed org.linphone.mediastream/.MediastreamerActivity: +628ms
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
W/GL2JNIView( 8817): creating OpenGL ES 2.0 context
I/gralloc ( 1652): Allocated 864 x 404 fmt: 4 usage: 0x300
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
I/mediastreamer( 8817): init opengles_display (864 x 404, gl initialized:0)
I/mediastreamer( 8817): OpenGL version string: OpenGL ES 2.0 build
address@hidden
I/mediastreamer( 8817): OpenGL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_array_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_stream2 GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_multisampled_render_to_texture
I/mediastreamer( 8817): OpenGL vendor: Imagination Technologies
I/mediastreamer( 8817): OpenGL renderer: PowerVR SGX 540
I/mediastreamer( 8817): OpenGL version: OpenGL ES 2.0 build
address@hidden
I/mediastreamer( 8817): OpenGL GLSL version: OpenGL ES GLSL ES 1.00 build
address@hiddenI/gralloc ( 1652): Allocated 864 x 404 fmt: 4 usage: 0x300
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
W/mediastreamer( 8817): Receiving packet with unknown payload type 96.
I/mediastreamer( 8817): oRTP-stats:
I/mediastreamer( 8817): RTP stats :
I/mediastreamer( 8817): number of rtp packet sent=0
I/mediastreamer( 8817): number of rtp bytes sent=0 bytes
I/mediastreamer( 8817): number of rtp packet received=14
I/mediastreamer( 8817): number of rtp bytes received=9430 bytes
I/mediastreamer( 8817): number of incoming rtp bytes successfully delivered to the application=7073
I/mediastreamer( 8817): number of rtp packet lost=0
I/mediastreamer( 8817): number of rtp packets received too late=0
I/mediastreamer( 8817): number of bad formatted rtp packets=0
I/mediastreamer( 8817): number of packet discarded because of queue overflow=0
I/mediastreamer( 8817): Bandwidth usage: download=75.469594 kbits/sec, upload=0.000000 kbits/sec
I/mediastreamer( 8817): Quality indicator : -1.000000
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
W/mediastreamer( 8817): ms_AVdecoder_process: error -1.
Any help on this would be really appreciated.
Thanks,
Sangram