{"action":"created","issue":{"url":"https://api.github.com/repos/LaiFengiOS/LFLiveKit/issues/48","repository_url":"https://api.github.com/repos/LaiFengiOS/LFLiveKit","labels_url":"https://api.github.com/repos/LaiFengiOS/LFLiveKit/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/LaiFengiOS/LFLiveKit/issues/48/comments","events_url":"https://api.github.com/repos/LaiFengiOS/LFLiveKit/issues/48/events","html_url":"https://github.com/LaiFengiOS/LFLiveKit/issues/48","id":170317770,"number":48,"title":"关于LFLiveVideoConfiguration类中supportSessionPreset的方法使用疑问","user":{"login":"YXMao","id":12440054,"avatar_url":"https://avatars.githubusercontent.com/u/12440054?v=3","gravatar_id":"","url":"https://api.github.com/users/YXMao","html_url":"https://github.com/YXMao","followers_url":"https://api.github.com/users/YXMao/followers","following_url":"https://api.github.com/users/YXMao/following{/other_user}","gists_url":"https://api.github.com/users/YXMao/gists{/gist_id}","starred_url":"https://api.github.com/users/YXMao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YXMao/subscriptions","organizations_url":"https://api.github.com/users/YXMao/orgs","repos_url":"https://api.github.com/users/YXMao/repos","events_url":"https://api.github.com/users/YXMao/events{/privacy}","received_events_url":"https://api.github.com/users/YXMao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-10T03:03:22Z","updated_at":"2016-08-10T06:26:42Z","closed_at":null,"body":"![2016-08-10 10 59 31](https://cloud.githubusercontent.com/assets/12440054/17540556/a9143226-5ee9-11e6-91e8-8b4a15e85963.png)\r\n\r\n请问楼主以上的代码逻辑是不是有点问题哦，第一次 **if (![session canSetSessionPreset:avSessionPreset])** 即不支持当前设置的分辨率之后，从上到下依次下降分辨率，但是当赋值sessionPreset = LFCaptureSessionPreset540x960之后，又再一次判断 **if (![session canSetSessionPreset:avSessionPreset])** ，之后设置sessionPreset = LFCaptureSessionPreset360x640;这样做判断是不是有问题哦？"},"comment":{"url":"https://api.github.com/repos/LaiFengiOS/LFLiveKit/issues/comments/238776717","html_url":"https://github.com/LaiFengiOS/LFLiveKit/issues/48#issuecomment-238776717","issue_url":"https://api.github.com/repos/LaiFengiOS/LFLiveKit/issues/48","id":238776717,"user":{"login":"chenliming777","id":8952943,"avatar_url":"https://avatars.githubusercontent.com/u/8952943?v=3","gravatar_id":"","url":"https://api.github.com/users/chenliming777","html_url":"https://github.com/chenliming777","followers_url":"https://api.github.com/users/chenliming777/followers","following_url":"https://api.github.com/users/chenliming777/following{/other_user}","gists_url":"https://api.github.com/users/chenliming777/gists{/gist_id}","starred_url":"https://api.github.com/users/chenliming777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenliming777/subscriptions","organizations_url":"https://api.github.com/users/chenliming777/orgs","repos_url":"https://api.github.com/users/chenliming777/repos","events_url":"https://api.github.com/users/chenliming777/events{/privacy}","received_events_url":"https://api.github.com/users/chenliming777/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T06:26:42Z","updated_at":"2016-08-10T06:26:42Z","body":"这个已经修改了，可以看下最新提交"}}
{"actor":{"display_login":"chenliming777"}}