2014-08-07, 06:29
I was looking over the source code for the NPVR add on, it looks like it's using HTTP to transfer the video stream.
I started to implement my own PVR add on just for learning purposes and I found that it was much easier to use XBMC built in file class for streaming the file via SMB vs. HTTP. Just wondering if streaming via SMB is a good idea or not. Did the other plugin authors go with HTTP mainly because its more universal, or are there some other advantages?
I'm also interested in learning how to support time shifting, but I'm not sure exactly what is required to support time shifting. I could see how time shifting would be more difficult to implement if using HTTP, but if using SMB to read the file directly couldn't I just seek anywhere I wanted without too much effort? Or are there performance concerns where I constantly need to be buffering extra data?
I realize my questions are sort of open ended, just looking for some general guidelines or best practices. Thanks
I started to implement my own PVR add on just for learning purposes and I found that it was much easier to use XBMC built in file class for streaming the file via SMB vs. HTTP. Just wondering if streaming via SMB is a good idea or not. Did the other plugin authors go with HTTP mainly because its more universal, or are there some other advantages?
I'm also interested in learning how to support time shifting, but I'm not sure exactly what is required to support time shifting. I could see how time shifting would be more difficult to implement if using HTTP, but if using SMB to read the file directly couldn't I just seek anywhere I wanted without too much effort? Or are there performance concerns where I constantly need to be buffering extra data?
I realize my questions are sort of open ended, just looking for some general guidelines or best practices. Thanks