I'm trying to play a m3u8 file using a VideoView and a MediaController. 
 Here's a code snippet:


view.setVideoURI(Uri.parse(path));

MediaController mediaController = new 
MediaController(getApplicationContext());

mediaController.setMediaPlayer(view);

view.setMediaController(mediaController);

view.setEnabled(true);

view.requestFocus();



The video streams just fine, but no audio.  Interesting enough, the same 
video will play on other devices running 4.x+.  I am getting this in my 
logcat, but can't find anything online about it:


05-13 20:16:11.557: D/MediaPlayer(10525): [DLNA]setDisplay

05-13 20:16:11.747: D/MediaPlayer(10525): [DLNA]contentType = 0

05-13 20:16:11.747: D/MediaPlayer(10525): [DLNA]Streaming path, should 
enable DLNA

05-13 20:16:11.747: D/MediaPlayer(10525): [DLNA]Not audio only content, 
should enable DLNA

05-13 20:16:11.777: D/[MediaPluginDLNA](10525): [DLNA]not in Mirror mode, 
check nearby ready dongle

05-13 20:16:11.777: D/[MediaPluginDLNA](10525): [DLNA]startMirror in

05-13 20:16:11.787: D/[MediaPluginDLNA](10525): [DLNA][startMirror] out no 
ready to use dongle

05-13 20:16:11.787: D/MediaPlayer(10525): [DLNA]start() out


Just looking to be pointed in the right direction here.. It doesn't seem to 
be related to codecs on this device, but not sure.  Any ideas would be 
helpful.

Thanks,
Tony


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to