Broken Pipe exception when tried to stream mp3 stream from local server to android mediaplayer
I am trying to stream m开发者_运维百科p3 stream from my local http server indeed hosted on my phone to android media player.When local server gets the new socket , it starts writing some http headers followed by mp3 stream. but mediaplayer socket is throwing "Broken pipe" exception.Wat may be the issue causing this.
Thanks in advance
Instrument the server with logging
精彩评论