{"action":"created","issue":{"url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/243","labels_url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/243/comments","events_url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/243/events","html_url":"https://github.com/EricssonResearch/openwebrtc/issues/243","id":60729529,"number":243,"title":"Inconsistent capture frame rate on iOS/armv7","user":{"login":"ijsf","id":123868,"avatar_url":"https://avatars.githubusercontent.com/u/123868?v=3","gravatar_id":"","url":"https://api.github.com/users/ijsf","html_url":"https://github.com/ijsf","followers_url":"https://api.github.com/users/ijsf/followers","following_url":"https://api.github.com/users/ijsf/following{/other_user}","gists_url":"https://api.github.com/users/ijsf/gists{/gist_id}","starred_url":"https://api.github.com/users/ijsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijsf/subscriptions","organizations_url":"https://api.github.com/users/ijsf/orgs","repos_url":"https://api.github.com/users/ijsf/repos","events_url":"https://api.github.com/users/ijsf/events{/privacy}","received_events_url":"https://api.github.com/users/ijsf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-11T21:05:41Z","updated_at":"2015-03-11T23:36:34Z","closed_at":null,"body":"I have been testing the local video capturing in the iOS build of OpenWebRTC on an iPad Mini Gen 1 (armv7) using demo.openwebrtc.io:38080 and noticed that the frame rate of the local video frame is very inconsistent. At times it is reasonably fast (15 to 30 Hz), but most of the time it is way too low (1 Hz).\r\n\r\nThe video capturing is handled by the sys/applemedia code in gst-plugins-bad. I've been checking the code and I think that the `activeVideoMaxFrameDuration` is not set properly: it is set to the maximum frame duration, while I believe it should be set to the minimum frame duration as to \"fix\" the frame rate to the highest possible value.\r\n\r\nI have been testing a patch in my fork and noticed the local video performance is much better with it.\r\n\r\nhttps://github.com/ijsf/OpenWebRTC-gst-plugins-bad/commit/9df9f24b20bc42955c2fb593196c45fe3594ad8d"},"comment":{"url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/comments/78396354","html_url":"https://github.com/EricssonResearch/openwebrtc/issues/243#issuecomment-78396354","issue_url":"https://api.github.com/repos/EricssonResearch/openwebrtc/issues/243","id":78396354,"user":{"login":"sdroege","id":301846,"avatar_url":"https://avatars.githubusercontent.com/u/301846?v=3","gravatar_id":"","url":"https://api.github.com/users/sdroege","html_url":"https://github.com/sdroege","followers_url":"https://api.github.com/users/sdroege/followers","following_url":"https://api.github.com/users/sdroege/following{/other_user}","gists_url":"https://api.github.com/users/sdroege/gists{/gist_id}","starred_url":"https://api.github.com/users/sdroege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdroege/subscriptions","organizations_url":"https://api.github.com/users/sdroege/orgs","repos_url":"https://api.github.com/users/sdroege/repos","events_url":"https://api.github.com/users/sdroege/events{/privacy}","received_events_url":"https://api.github.com/users/sdroege/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T23:36:34Z","updated_at":"2015-03-11T23:36:34Z","body":"This is probably the same as https://github.com/EricssonResearch/openwebrtc/issues/96"}}