{"action":"created","issue":{"url":"https://api.github.com/repos/eface2face/cordova-plugin-iosrtc/issues/44","labels_url":"https://api.github.com/repos/eface2face/cordova-plugin-iosrtc/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/eface2face/cordova-plugin-iosrtc/issues/44/comments","events_url":"https://api.github.com/repos/eface2face/cordova-plugin-iosrtc/issues/44/events","html_url":"https://github.com/eface2face/cordova-plugin-iosrtc/issues/44","id":100721604,"number":44,"title":"Allow video resolution constraints","user":{"login":"ibc","id":16191,"avatar_url":"https://avatars.githubusercontent.com/u/16191?v=3","gravatar_id":"","url":"https://api.github.com/users/ibc","html_url":"https://github.com/ibc","followers_url":"https://api.github.com/users/ibc/followers","following_url":"https://api.github.com/users/ibc/following{/other_user}","gists_url":"https://api.github.com/users/ibc/gists{/gist_id}","starred_url":"https://api.github.com/users/ibc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibc/subscriptions","organizations_url":"https://api.github.com/users/ibc/orgs","repos_url":"https://api.github.com/users/ibc/repos","events_url":"https://api.github.com/users/ibc/events{/privacy}","received_events_url":"https://api.github.com/users/ibc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eface2face/cordova-plugin-iosrtc/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eface2face/cordova-plugin-iosrtc/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"ibc","id":16191,"avatar_url":"https://avatars.githubusercontent.com/u/16191?v=3","gravatar_id":"","url":"https://api.github.com/users/ibc","html_url":"https://github.com/ibc","followers_url":"https://api.github.com/users/ibc/followers","following_url":"https://api.github.com/users/ibc/following{/other_user}","gists_url":"https://api.github.com/users/ibc/gists{/gist_id}","starred_url":"https://api.github.com/users/ibc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibc/subscriptions","organizations_url":"https://api.github.com/users/ibc/orgs","repos_url":"https://api.github.com/users/ibc/repos","events_url":"https://api.github.com/users/ibc/events{/privacy}","received_events_url":"https://api.github.com/users/ibc/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-08-13T09:15:45Z","updated_at":"2015-12-03T11:16:39Z","closed_at":null,"body":"Must inspect available settings in the webrtc library and how they deal with the current MediaStream spec.\r\n\r\nUsage example:\r\n* http://stackoverflow.com/questions/25136887/make-a-call-with-ios-apprtcdemo-with-resolution-set-to-480x640\r\n"},"comment":{"url":"https://api.github.com/repos/eface2face/cordova-plugin-iosrtc/issues/comments/161602093","html_url":"https://github.com/eface2face/cordova-plugin-iosrtc/issues/44#issuecomment-161602093","issue_url":"https://api.github.com/repos/eface2face/cordova-plugin-iosrtc/issues/44","id":161602093,"user":{"login":"SirSeymour","id":4048864,"avatar_url":"https://avatars.githubusercontent.com/u/4048864?v=3","gravatar_id":"","url":"https://api.github.com/users/SirSeymour","html_url":"https://github.com/SirSeymour","followers_url":"https://api.github.com/users/SirSeymour/followers","following_url":"https://api.github.com/users/SirSeymour/following{/other_user}","gists_url":"https://api.github.com/users/SirSeymour/gists{/gist_id}","starred_url":"https://api.github.com/users/SirSeymour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirSeymour/subscriptions","organizations_url":"https://api.github.com/users/SirSeymour/orgs","repos_url":"https://api.github.com/users/SirSeymour/repos","events_url":"https://api.github.com/users/SirSeymour/events{/privacy}","received_events_url":"https://api.github.com/users/SirSeymour/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T11:16:39Z","updated_at":"2015-12-03T11:16:39Z","body":"I'll try to give also my support, but I want to share my experience with the constraints.\r\nAfter a lot of tests, I noticed that the problem related to lags for old iDevices could be due to the minimum framerate and maximum one. If you try it, and profile it, you should see how the GPU performance goes up to 30-40 and immediately down to 4/5/8 frame per second: when it gets down to lower values, here it comes lag. It's like as, since the minimum and maximum are not set during the signaling, the older devices increase the performance more than how much they can handle.\r\nSo, maybe, adding the support to those two values, will solve the lag issue on old device (those two parameters are part of AVFoundation in iOS7 and later).\r\nIn fact, newer devices can handle an higher frame rate and the performance are stable.\r\n\r\nI hope I got explained!"}}