Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
Mudassir
Posts: 209
Registered: 11-08-2008

Play File using Data Source

Hi All,

I have seen an RTSP example at the link

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/How_To...

 

Here the Data Source instance is passed to the Player. And inside DataSource class, used the SourceStream class; where it override the read() and other methods.

So now,I want to play the File stored in the SDCard by using DataSource. Its playing nicely, but taking stoppage inbetween for few minutes, as if its buffering.

So I wanna to run it continously without stopping...

Thanks and Regards
Please use plain text.
New Developer
smuorfy
Posts: 7
Registered: 09-08-2009

Re: Play File using Data Source

hi,

 

did you get it to work without the stop time ? and if yes, how?

 

Thanks in advance

Please use plain text.
Developer
Mudassir
Posts: 209
Registered: 11-08-2008

Re: Play File using Data Source

Hi,

You can override read() of SourceStream.

I hope it will solve your issue

Thanks and Regards
Please use plain text.