Example #1
0
def test_remote_method():
    conn = RTMP("rtmp://localhost/app/playpath", live=True)
    my_remote_method = conn.remote_method("MyRemoteMethod", block=True)

    assert callable(my_remote_method) == True
    assert my_remote_method.__name__ == "MyRemoteMethod"