def printrec(recst):
    """ Pretty-printing rtsp strings
    """
    try:
        recst = recst.decode('UTF-8')
    except AttributeError:
        pass
    recs=[ x for x in recst.split('\r\n') if x ]
    for rec in recs:
        print(rec)
    print("\n")