code: def _parse_url(self,url):
          '''解析url,返回(ip,port,target)三元组'''
          (ip,port,target) = ('',DEFAULT_SERVER_PORT,'')
          m = re.match(r'[rtspRTSP:/]+(?P<ip>(\d{1,3}\.){3}\d{1,3})(:(?P<port>\d+))?(?P<target>.*)',url)
          if m is not None:
              ip      = m.group('ip')
              port    = int(m.group('port'))
              target  = m.group('target')
          #PRINT('ip: %s, port: %d, target: %s'%(ip,port,target), GREEN)
          return ip,port,targef _parse_url(self,url):
          '''解析url,返回(ip,port,target)三元组'''
          (ip,port,target) = ('',DEFAULT_SERVER_PORT,'')
          m = re.match(r'[rtspRTSP:/]+(?P<ip>(\d{1,3}\.){3}\d{1,3})(:(?P<port>\d+))?(?P<target>.*)',url)
          if m is not None:
              ip      = m.group('ip')
              port    = int(m.group('port'))
              target  = m.group('target')
          #PRINT('ip: %s, port: %d, target: %s'%(ip,port,target), GREEN)
          return ip,port,target
docs: 解析url,返回(ip,port,target)三元组