{"action":"created","issue":{"url":"https://api.github.com/repos/jlaine/aiortc/issues/45","repository_url":"https://api.github.com/repos/jlaine/aiortc","labels_url":"https://api.github.com/repos/jlaine/aiortc/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/jlaine/aiortc/issues/45/comments","events_url":"https://api.github.com/repos/jlaine/aiortc/issues/45/events","html_url":"https://github.com/jlaine/aiortc/issues/45","id":344316609,"node_id":"MDU6SXNzdWUzNDQzMTY2MDk=","number":45,"title":"example videostream-cli not work","user":{"login":"zhangguangfengz","id":26534269,"node_id":"MDQ6VXNlcjI2NTM0MjY5","avatar_url":"https://avatars2.githubusercontent.com/u/26534269?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangguangfengz","html_url":"https://github.com/zhangguangfengz","followers_url":"https://api.github.com/users/zhangguangfengz/followers","following_url":"https://api.github.com/users/zhangguangfengz/following{/other_user}","gists_url":"https://api.github.com/users/zhangguangfengz/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangguangfengz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangguangfengz/subscriptions","organizations_url":"https://api.github.com/users/zhangguangfengz/orgs","repos_url":"https://api.github.com/users/zhangguangfengz/repos","events_url":"https://api.github.com/users/zhangguangfengz/events{/privacy}","received_events_url":"https://api.github.com/users/zhangguangfengz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T06:58:49Z","updated_at":"2018-07-25T07:11:11Z","closed_at":null,"author_association":"NONE","body":"I run the example \r\npython3 cli.py offer \r\npython3 cli.py answer\r\nbut met some error:\r\n\r\n```\r\nSending video for 10s\r\nTask exception was never retrieved\r\nfuture: <Task finished coro=<RTCPeerConnection.__connect() done, defined at /usr/local/lib/python3.5/dist-packages/aiortc/rtcpeerconnection.py:442> exception=Exception('libvpx error: ABI version mismatch',)>\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/rtcpeerconnection.py\", line 450, in __connect\r\n    await transceiver.receiver.receive(self.__remoteRtp[transceiver])\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/rtcrtpreceiver.py\", line 140, in receive\r\n    self.__decoders[codec.payloadType] = get_decoder(codec)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/codecs/__init__.py\", line 29, in get_decoder\r\n    return VpxDecoder()\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/codecs/vpx.py\", line 133, in __init__\r\n    _vpx_assert(lib.vpx_codec_dec_init(self.codec, lib.vpx_codec_vp8_dx(), ffi.NULL, 0))\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/codecs/vpx.py\", line 127, in _vpx_assert\r\n    raise Exception('libvpx error: ' + reason.decode('utf8'))\r\nException: libvpx error: ABI version mismatch\r\nTask exception was never retrieved\r\nfuture: <Task finished coro=<RTCPeerConnection.__connect() done, defined at /usr/local/lib/python3.5/dist-packages/aiortc/rtcpeerconnection.py:442> exception=Exception('libvpx error: ABI version mismatch',)>\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/rtcpeerconnection.py\", line 450, in __connect\r\n    await transceiver.receiver.receive(self.__remoteRtp[transceiver])\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/rtcrtpreceiver.py\", line 140, in receive\r\n    self.__decoders[codec.payloadType] = get_decoder(codec)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/codecs/__init__.py\", line 29, in get_decoder\r\n    return VpxDecoder()\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/codecs/vpx.py\", line 133, in __init__\r\n    _vpx_assert(lib.vpx_codec_dec_init(self.codec, lib.vpx_codec_vp8_dx(), ffi.NULL, 0))\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/codecs/vpx.py\", line 127, in _vpx_assert\r\n    raise Exception('libvpx error: ' + reason.decode('utf8'))\r\nException: libvpx error: ABI version mismatch\r\nTask exception was never retrieved\r\nfuture: <Task finished coro=<RTCRtpSender._run_rtp() done, defined at /usr/local/lib/python3.5/dist-packages/aiortc/rtcrtpsender.py:94> exception=Exception('libvpx error: ABI version mismatch',)>\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 241, in _step\r\n    result = coro.throw(exc)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/rtcrtpsender.py\", line 106, in _run_rtp\r\n    payloads = await loop.run_in_executor(None, encoder.encode, frame)\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 361, in __iter__\r\n    yield self  # This tells Task to wait for completion.\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 296, in _wakeup\r\n    future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/concurrent/futures/thread.py\", line 55, in run\r\n    result = self.fn(*self.args, **self.kwargs)\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/codecs/vpx.py\", line 226, in encode\r\n    _vpx_assert(lib.vpx_codec_enc_init(self.codec, self.cx, self.cfg, 0))\r\n  File \"/usr/local/lib/python3.5/dist-packages/aiortc/codecs/vpx.py\", line 127, in _vpx_assert\r\n    raise Exception('libvpx error: ' + reason.decode('utf8'))\r\n```\r\n\r\ncould you give me some advices?\r\nI am using ubuntu 16.04.\r\n"},"comment":{"url":"https://api.github.com/repos/jlaine/aiortc/issues/comments/407656868","html_url":"https://github.com/jlaine/aiortc/issues/45#issuecomment-407656868","issue_url":"https://api.github.com/repos/jlaine/aiortc/issues/45","id":407656868,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzY1Njg2OA==","user":{"login":"jlaine","id":1567624,"node_id":"MDQ6VXNlcjE1Njc2MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1567624?v=4","gravatar_id":"","url":"https://api.github.com/users/jlaine","html_url":"https://github.com/jlaine","followers_url":"https://api.github.com/users/jlaine/followers","following_url":"https://api.github.com/users/jlaine/following{/other_user}","gists_url":"https://api.github.com/users/jlaine/gists{/gist_id}","starred_url":"https://api.github.com/users/jlaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlaine/subscriptions","organizations_url":"https://api.github.com/users/jlaine/orgs","repos_url":"https://api.github.com/users/jlaine/repos","events_url":"https://api.github.com/users/jlaine/events{/privacy}","received_events_url":"https://api.github.com/users/jlaine/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T07:11:11Z","updated_at":"2018-07-25T07:11:11Z","author_association":"OWNER","body":"This seem to be unrelated to any specific example, there seems to be a problem on your machine : the libvpx used while compiling and while running seem to be different. Could you check you have just a single version if libvpx installed, and re-install aiortc?"}}
{"actor":{"display_login":"jlaine"}}