예제 #1
0
파일: info.py 프로젝트: Luky68/archivczsk
	def updateProtocolList(self,width):
		menuList = []
		menuList.append(self.buildEntry(_("HTTP Protocol"), videoPlayerInfo.isHTTPSupported(), width))
		menuList.append(self.buildEntry(_("HLS Protocol"), videoPlayerInfo.isHLSSupported(), width))
		menuList.append(self.buildEntry(_("MMS Protocol"), videoPlayerInfo.isMMSSupported(), width))
		menuList.append(self.buildEntry(_("RTMP Protocol"), videoPlayerInfo.isRTMPSupported(), width))
		menuList.append(self.buildEntry(_("RTSP Protocol"), videoPlayerInfo.isRTSPSupported(), width))
		self["protocol_list"].setList(menuList)
예제 #2
0
파일: info.py 프로젝트: 1801/archivczsk
 def updateProtocolList(self, width):
     menuList = []
     menuList.append(
         self.buildEntry(_("HTTP Protocol"),
                         videoPlayerInfo.isHTTPSupported(), width))
     menuList.append(
         self.buildEntry(_("HLS Protocol"),
                         videoPlayerInfo.isHLSSupported(), width))
     menuList.append(
         self.buildEntry(_("MMS Protocol"),
                         videoPlayerInfo.isMMSSupported(), width))
     menuList.append(
         self.buildEntry(_("RTMP Protocol"),
                         videoPlayerInfo.isRTMPSupported(), width))
     menuList.append(
         self.buildEntry(_("RTSP Protocol"),
                         videoPlayerInfo.isRTSPSupported(), width))
     self["protocol_list"].setList(menuList)