2008-06-23, 07:40
I am writing a MediaPortal TVServer client in XBMC, and want to write a new File that will represent a channel. I want to be able to switch channels directly while watching a single channel.
To do this, I have a class, TVServerFile, and in this class, I need to wrap an RTSP file (As that is the actual format of the file I get back from TV Server).
So - I have NO idea how to do this. My poor attempt,
http://pastebin.com/m1b62646a
Tries to open a rtsp file using an input stream, but this .. doesn't really seem to work. So what is the *proper* way to open the RTSP file, and then wrap my file around it?
To do this, I have a class, TVServerFile, and in this class, I need to wrap an RTSP file (As that is the actual format of the file I get back from TV Server).
So - I have NO idea how to do this. My poor attempt,
http://pastebin.com/m1b62646a
Tries to open a rtsp file using an input stream, but this .. doesn't really seem to work. So what is the *proper* way to open the RTSP file, and then wrap my file around it?