def get_resources(connection):
    """ Do an RTSP-DESCRIBE request, then parse out available resources from the response """
    resp = connection.describe(verbose=False).split('\r\n')
    resources = [x.replace('a=control:','') for x in resp if (x.find('control:') != -1 and x[-1] != '*' )]
    return resources