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)
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)