Hi, We have enabled multicast streaming in one of our machines using VLC server. We use the following URL for streaming the multicast data. rtp://239.1.2.11:5004 & udp://239.1.2.11:1234
But when we pass these links to the VideoView or mediaplayer in android, we get the message as "Sorry, the video can not be played". Is it the case that multicast streaming is not supported in android? (Though multicastsocket class is present in library) or are we missing anything? The links play well on the VLC client so we don't think there is any issue in VLC server. We are using android v2.3 for development. We used the "android supported Video/audio formats" for encoding. Here is the brief log output: V/PlayerDriver( 95): Completed command PLAYER_SETUP status=PVMFSuccess V/PVPlayer( 95): setDataSource(rtp://239.1.2.11:5004) V/PVPlayer( 95): setVideoSurface(0x55be8) V/PVPlayer( 95): setVideoSurface(0x55b90) V/PVPlayer( 95): prepareAsync V/PVPlayer( 95): data source = rtp://239.1.2.11:5004 V/PlayerDriver( 95): Send player code: 3 V/PlayerDriver( 95): handleSetDataSource V/PlayerDriver( 95): handleSetDataSource- scanning for extension V/PlayerDriver( 95): HandleInformationalEvent: PVMFInfoErrorHandlingStart V/PlayerDriver( 95): HandleInformationalEvent: type=26 UNHANDLED W/MediaPlayer( 5687): info/warning (1, 26) V/PlayerDriver( 95): CommandCompleted V/PlayerDriver( 95): Completed command PLAYER_SET_DATA_SOURCE status=PVMFErrNotSupported E/PlayerDriver( 95): Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported E/MediaPlayer( 5687): error (1, -4) V/PVPlayer( 95): run_init s=-2147483648, cancelled=0 V/PlayerDriver( 95): HandleInformationalEvent: PVMFInfoErrorHandlingComplete W/PlayerDriver( 95): PVMFInfoErrorHandlingComplete I/ActivityManager( 171): Displayed activity com.Videostreamingdemo/.VideoViewDemo: 164 ms (total 164 ms) I/MediaPlayer( 5687): Info (1,26) E/MediaPlayer( 5687): Error (1,-4) D/VideoView( 5687): Error: 1,-4 Regards, Sangram -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en