{"action":"created","issue":{"url":"https://api.github.com/repos/hipersayanX/VoipTest/issues/3","labels_url":"https://api.github.com/repos/hipersayanX/VoipTest/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hipersayanX/VoipTest/issues/3/comments","events_url":"https://api.github.com/repos/hipersayanX/VoipTest/issues/3/events","html_url":"https://github.com/hipersayanX/VoipTest/issues/3","id":87010399,"number":3,"title":"VoipTest crashes when I try to make a call","user":{"login":"IronRider","id":12767423,"avatar_url":"https://avatars.githubusercontent.com/u/12767423?v=3","gravatar_id":"","url":"https://api.github.com/users/IronRider","html_url":"https://github.com/IronRider","followers_url":"https://api.github.com/users/IronRider/followers","following_url":"https://api.github.com/users/IronRider/following{/other_user}","gists_url":"https://api.github.com/users/IronRider/gists{/gist_id}","starred_url":"https://api.github.com/users/IronRider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IronRider/subscriptions","organizations_url":"https://api.github.com/users/IronRider/orgs","repos_url":"https://api.github.com/users/IronRider/repos","events_url":"https://api.github.com/users/IronRider/events{/privacy}","received_events_url":"https://api.github.com/users/IronRider/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hipersayanX/VoipTest/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"hipersayanX","id":1249885,"avatar_url":"https://avatars.githubusercontent.com/u/1249885?v=3","gravatar_id":"","url":"https://api.github.com/users/hipersayanX","html_url":"https://github.com/hipersayanX","followers_url":"https://api.github.com/users/hipersayanX/followers","following_url":"https://api.github.com/users/hipersayanX/following{/other_user}","gists_url":"https://api.github.com/users/hipersayanX/gists{/gist_id}","starred_url":"https://api.github.com/users/hipersayanX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hipersayanX/subscriptions","organizations_url":"https://api.github.com/users/hipersayanX/orgs","repos_url":"https://api.github.com/users/hipersayanX/repos","events_url":"https://api.github.com/users/hipersayanX/events{/privacy}","received_events_url":"https://api.github.com/users/hipersayanX/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-06-10T15:36:22Z","updated_at":"2015-06-11T05:44:11Z","closed_at":null,"body":"Hi there.\r\nI have downloaded and compiled Speex, Theora and VPX with your manual. Then I downloaded VoipTest and replaced OpenCV camera classes with QCamera. When I try to make a call I can hear audio for about 1 second, then application crashes.\r\n\r\nHere is the log\r\n\r\nСр июн 10 18:32:41 2015 RECEIVED <iq from='reg173@jabber.ru/QXmpp' to='melnikov.oleg.s@jabber.ru/QXmpp' id='qxmpp16' type='set'><jingle xmlns='urn:xmpp:jingle:1' action='content-accept' sid='GaFgIuPsXz8DkWXbWVFsjRkPfNr35OmO'><content creator='initiator' name='webcam'><description xmlns='urn:xmpp:jingle:apps:rtp:1' media='video'><payload-type id='96' name='vp8' clockrate='256000'/><payload-type id='97' name='theora' clockrate='90000'/></description><transport xmlns='urn:xmpp:jingle:transports:ice-udp:1' ufrag='mOEv' pwd='HIMYcDXNr4RR2viboV0mfV'><candidate component='1' foundation='0' generation='0' id='v73OYUYiCu' ip='192.168.1.201' network='0' port='49154' priority='2130706431' protocol='udp' type='host'/><candidate component='1' foundation='1' generation='0' id='VsSs4pRpWy' ip='192.168.56.1' network='0' port='49154' priority='2130706431' protocol='udp' type='host'/><candidate component='1' foundation='2' generation='0' id='r0RSUtH02i' ip='2620:9b::1929:b514' network='0' port='49154' priority='2130706431' proTheora configuration is too small\r\ntocol='udp' type='host'/><candidate component='1' foundation='3' generation='0' id='sGqKtPDP8N' ip='25.41.181.20' network='0' port='49154' priority='2130706431' protocol='udp' type='host'/><candidate component='2' foundation='0' generation='0' id='ior8o1icko' ip='192.168.1.201' network='0' port='49155' priority='2130706430' protocol='udp' type='host'/><candidate component='2' foundation='1' generation='0' id='qfAbdcEqkQ' ip='192.168.56.1' network='0' port='49155' priority='2130706430' protocol='udp' type='host'/><candidate component='2' foundation='2' generation='0' id='lL9HHN9S1f' ip='2620:9b::1929:b514' network='0' port='49155' priority='2130706430' protocol='udp' type='host'/><candidate component='2' foundation='3' generation='0' id='0DSFCC2nHB' ip='25.41.181.20' network='0' port='49155' priority='2130706430' protocol='udp' type='host'/></transport></content></jingle></iq>\r\nСр июн 10 18:32:41 2015 SENT <iq id=\"qxmpp16\" to=\"reg173@jabber.ru/QXmpp\" type=\"result\"/>\r\nСр июн 10 18:32:41 2015 DEBUG Checking remote candidates\r\nСр июн 10 18:32:41 2015 SENT Sent to 192.168.1.201 port 49154 (local 192.168.1.51 port 49154)\r\n type Binding Request (1)\r\n id 1b30b6a1a340191afe7c8484\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270975\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 SENT Sent to 192.168.56.1 port 49154 (local 192.168.1.51 port 49154)\r\n type Binding Request (1)\r\n id c7599b208299e4212ec02660\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270975\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 SENT Sent to 192.168.56.1 port 49154 (local 192.168.56.1 port 49154)\r\n type Binding Request (1)\r\n id c6d129b4c4bf3740309460d4\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270975\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 SENT Sent to 25.41.181.20 port 49154 (local 192.168.1.51 port 49154)\r\n type Binding Request (1)\r\n id 2fca07583ac8049b77f31afc\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270975\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 SENT Sent to 25.41.181.20 port 49154 (local 192.168.56.1 port 49154)\r\n type Binding Request (1)\r\n id 452a1735832f5aef82bb0925\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270975\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 DEBUG Checking remote candidates\r\nСр июн 10 18:32:41 2015 SENT Sent to 192.168.1.201 port 49155 (local 192.168.1.51 port 49155)\r\n type Binding Request (1)\r\n id 4650b0e942872e1199ad4af5\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270974\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 SENT Sent to 192.168.56.1 port 49155 (local 192.168.1.51 port 49155)\r\n type Binding Request (1)\r\n id 57d3ce3b6b2c3fade30cf32b\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270974\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 SENT Sent to 192.168.56.1 port 49155 (local 192.168.56.1 port 49155)\r\n type Binding Request (1)\r\n id eb8c3f4b69a2b85219f5756a\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270974\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 SENT Sent to 25.41.181.20 port 49155 (local 192.168.1.51 port 49155)\r\n type Binding Request (1)\r\n id a1af13cea272a11e589f4092\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270974\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 SENT Sent to 25.41.181.20 port 49155 (local 192.168.56.1 port 49155)\r\n type Binding Request (1)\r\n id bf00dc0ccf3191e7dda24071\r\n * USERNAME mOEv:ElTB\r\n * PRIORITY 1862270974\r\n * ICE-CONTROLLING 0000000000000000\r\nСр июн 10 18:32:41 2015 WARNING Bad message integrity\r\nСр июн 10 18:32:41 2015 WARNING Bad message integrity\r\nСр июн 10 18:32:41 2015 RECEIVED STUN packet from 192.168.1.201 port 49154\r\n type Binding Response (257)\r\n id 1b30b6a1a340191afe7c8484\r\n * USERNAME mOEv:ElTB\r\n * XOR-MAPPED-ADDRESS 192.168.1.51 49154\r\nСр июн 10 18:32:41 2015 DEBUG ICE forward check complete 192.168.1.201 port 49154 (local 192.168.1.51 port 49154) (reflexive 192.168.1.51 port 49154)\r\nСр июн 10 18:32:41 2015 INFO ICE pair selected 192.168.1.201 port 49154 (local 192.168.1.51 port 49154) (reflexive 192.168.1.51 port 49154) (priority: 7998392938176446463)\r\nСр июн 10 18:32:41 2015 RECEIVED STUN packet from 192.168.1.201 port 49154\r\n type Binding Request (1)\r\n id be2e93d384839f8af9e2c803\r\n * USERNAME ElTB:mOEv\r\n * PRIORITY 1862270975\r\n * ICE-CONTROLLED 0000000000000000\r\nСр июн 10 18:32:41 2015 SENT Sent to 192.168.1.201 port 49154 (local 192.168.1.51 port 49154) (reflexive 192.168.1.51 port 49154)\r\n type Binding Response (257)\r\n id be2e93d384839f8af9e2c803\r\n * USERNAME ElTB:mOEv\r\n * XOR-MAPPED-ADDRESS 192.168.1.201 49154\r\nСр июн 10 18:32:41 2015 DEBUG ICE reverse check complete 192.168.1.201 port 49154 (local 192.168.1.51 port 49154) (reflexive 192.168.1.51 port 49154)\r\nСр июн 10 18:32:41 2015 RECEIVED STUN packet from 192.168.1.201 port 49155\r\n type Binding Response (257)\r\n id 4650b0e942872e1199ad4af5\r\n * USERNAME mOEv:ElTB\r\n * XOR-MAPPED-ADDRESS 192.168.1.51 49155\r\nСр июн 10 18:32:41 2015 DEBUG ICE forward check complete 192.168.1.201 port 49155 (local 192.168.1.51 port 49155) (reflexive 192.168.1.51 port 49155)\r\nСр июн 10 18:32:41 2015 INFO ICE pair selected 192.168.1.201 port 49155 (local 192.168.1.51 port 49155) (reflexive 192.168.1.51 port 49155) (priority: 7998392933881479165)\r\nСр июн 10 18:32:41 2015 INFO ICE negotiation completed\r\n\r\n\r\nWhy does this happens? How could I fix this?"},"comment":{"url":"https://api.github.com/repos/hipersayanX/VoipTest/issues/comments/111003066","html_url":"https://github.com/hipersayanX/VoipTest/issues/3#issuecomment-111003066","issue_url":"https://api.github.com/repos/hipersayanX/VoipTest/issues/3","id":111003066,"user":{"login":"IronRider","id":12767423,"avatar_url":"https://avatars.githubusercontent.com/u/12767423?v=3","gravatar_id":"","url":"https://api.github.com/users/IronRider","html_url":"https://github.com/IronRider","followers_url":"https://api.github.com/users/IronRider/followers","following_url":"https://api.github.com/users/IronRider/following{/other_user}","gists_url":"https://api.github.com/users/IronRider/gists{/gist_id}","starred_url":"https://api.github.com/users/IronRider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IronRider/subscriptions","organizations_url":"https://api.github.com/users/IronRider/orgs","repos_url":"https://api.github.com/users/IronRider/repos","events_url":"https://api.github.com/users/IronRider/events{/privacy}","received_events_url":"https://api.github.com/users/IronRider/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T05:44:10Z","updated_at":"2015-06-11T05:44:10Z","body":"Sorry, but I don't know how to make quotations, so I woudl post each subparagraph as an answer to your questions.\r\n\r\n1. I have downloaded and compiled Speex, Theora and VPX on my desktop, then I compiled QXMPP with QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1. Then I just copied compiled libs and includes to my laptop. Also I have copied test program to the laptop. Actually it's the same program, running on two PC's.\r\n\r\n2. I have tried to make my own voip client without xmpp support. Audio was fine. I'll try to combine your VoipTest and my program.\r\n\r\n3. The piint is that QCamera has no method to get resolution. I need to declare QVideoWidget, then set this widget as a camera viewfinder. Then I'm able to get widget resolution. It was about 720p. After I reduced resolution to 320x240, program become much more smooth.\r\n\r\n4. As I wrote earlier changing the resolution helped me.\r\n\r\n5. RAM consumption is stable on both machines.\r\n\r\n\r\n"}}