コード例 #1
0
ファイル: test_rtmp.py プロジェクト: yn295636/python-librtmp
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"