Req RTSP session handling (SETUP/TEARDOWN)
#1
Lightbulb 
I can see that XBMC still opens a new RTSP session for every channel that is being set. This results in an expensive reopening of the tuner at the server for every channel change.

In case of the DVBViewer Recording Service, a tuner is always opened with a SETUP message and closed with a TEARDOWN message, which is done for each channel change in case of XBMC. Depending on the DVB card(s) being used and whether a CI-CAM is involved or not, this can take several seconds. Some DVB cards even re-init the CAM on a tuner open, which takes ~5-10s.

I suggest reading the SAT>IP specs (page 24 ff.) on how the RTSP control messages should be adapted for a delivery system like DVB. Switching the channel only requires a PLAY with the different parameters, no expensive TEARDOWN+SETUP:

Image

I don't really know the design of XBMC, how it triggers the PVR Add-On or who actually does what. But I assume that it is heavily file based and that there is no clear indication of when a (tuner) session may start and end?
Reply
#2
Hi CiNch!

The SETUP/TEARDOWN is releated to the strategy of XBMC media handling.
On every media change (stop/play) the setup is done again.

This is realy bad, because if the RTSP handling would be modified channel change times lower than 1s should be possible.
But this require a lot of rework of XBMC. And it looks like no one of the developer is using the SAT>IP system.
http://forum.xbmc.org/showthread.php?tid=166995
Reply
#3
+1

Other similar thread:

http://forum.kodi.tv/showthread.php?tid=...pid1816048
Reply
#4
There's no need for Kodi to support SAT>IP directly, since Kodi doesn't handle DVB-Streams by itself either, because Kodi has a PVR plugin interface. Tvheadend for example is supporting SAT>IP and also IPTV streams.
Reply

Logout Mark Read Team Forum Stats Members Help
RTSP session handling (SETUP/TEARDOWN)3