5 # Author: Cyril Deguet <asmax@via.ecp.fr>
9 from sap import SapServer
10 from session import Session
14 "List of streams to be announced"
17 # Create the SAP server
18 self.multicastList = {}
19 self.sapServer = SapServer()
20 self.sapServer.start()
22 def readPlaylist(self):
25 def addMulticastSession(self, session):
26 "Add a multicast session in the announce list"
27 self.multicastList[session.id] = session
29 def delMulticastSession(self, session):
30 "Delete a multicast session from the announce list"
31 del self.multicastList[session.id]