09-15-2009 01:58 PM
I was wondering if it's possible to create a custom datasource for RTSP?
there is no problem for streaming data from a rtsp server by passing the rtsp url to
it worked well. But it seemed not supporting the seekable feature, i.e., I cannot actually let the player move back and forth as expected.
My problem is: how to make a video clip seekable, i.e., users can move the progress bar back and forth?
Actually, a pre question should be: is it possible to set the media time for a streaming video data file on a remote server, considering no local copy of the data?
It was said that in order to make the data seekable, you had better create a custom datasource for buffering. Following the bufferedplayback demo code, now create the player with
where the customDataSource makes a connection to the remote server with
But, there was a exception: ConnectionNotFoundException: No RTSP Protocol found when Connector.open() is called.
so my final queston is: can I create a custom datasource which can support a specified protocol?
thanks for any help,
09-15-2009 02:26 PM
09-15-2009 02:43 PM