1. what do you mean by "open"? do you mean open the file and get file descriptor in the application?
2. And what all changes do I need to do in playerdriver.cpp, PlayerDriver::handleSetDataSource( ...) { .... if (strncmp(url, "rtsp:", strlen("rtsp:")) == 0) { mDataSource->SetDataSourceFormatType(PVMF_DATA_SOURCE_RTSP_URL); } else if (strncmp(url, "http:", strlen("http:")) == 0) { setupHttpStreamPre(); } else { mDataSource->SetDataSourceFormatType(PVMF_FORMAT_UNKNOWN); // Let PV figure it out } // You mean to say add PVMF_DATA_SOURCE_SDP_FILE in another if ( ) condition? But do i need to change other pvplayer files as well (like in pv_player_engine.cpp) ? } On Thu, Jan 22, 2009 at 6:16 PM, Paranoia <zheny...@gmail.com> wrote: > > open this file directly... > but you have to need add a new data source PVMF_DATA_SOURCE_SDP_FILE > in playerdriver.cpp > > On Jan 22, 4:58 pm, develop code <developcod...@gmail.com> wrote: > > Hi, > > > > I want to play a video file sitting in a server by setting local sdp file > in > > the mediaplayer. > > > > How to set the mediaplayer to read the local sdp file and start playing > > depending on the sdp connect (if it has unicast/multicast, start > > corresponding session)? I want to test unicast for now. > > > > Anybody has does this? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---