{"action":"created","issue":{"url":"https://api.github.com/repos/NextLevel/NextLevel/issues/49","repository_url":"https://api.github.com/repos/NextLevel/NextLevel","labels_url":"https://api.github.com/repos/NextLevel/NextLevel/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/NextLevel/NextLevel/issues/49/comments","events_url":"https://api.github.com/repos/NextLevel/NextLevel/issues/49/events","html_url":"https://github.com/NextLevel/NextLevel/issues/49","id":210015863,"node_id":"MDU6SXNzdWUyMTAwMTU4NjM=","number":49,"title":"Setting `mirroringMode` ","user":{"login":"slash7","id":195806,"node_id":"MDQ6VXNlcjE5NTgwNg==","avatar_url":"https://avatars1.githubusercontent.com/u/195806?v=4","gravatar_id":"","url":"https://api.github.com/users/slash7","html_url":"https://github.com/slash7","followers_url":"https://api.github.com/users/slash7/followers","following_url":"https://api.github.com/users/slash7/following{/other_user}","gists_url":"https://api.github.com/users/slash7/gists{/gist_id}","starred_url":"https://api.github.com/users/slash7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slash7/subscriptions","organizations_url":"https://api.github.com/users/slash7/orgs","repos_url":"https://api.github.com/users/slash7/repos","events_url":"https://api.github.com/users/slash7/events{/privacy}","received_events_url":"https://api.github.com/users/slash7/received_events","type":"User","site_admin":false},"labels":[{"id":191600772,"node_id":"MDU6TGFiZWwxOTE2MDA3NzI=","url":"https://api.github.com/repos/NextLevel/NextLevel/labels/bug","name":"bug","color":"ff2c4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-02-24T10:45:17Z","updated_at":"2018-11-26T04:49:11Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nSetting the `mirroringMode` expects a session to already exist but crashes the app if the session has already started.\r\n\r\nIf  I set `sharedInstance.mirroringMode = .on` before calling `nextLevel.start()` the mirroring mode is not taken into account.\r\nhttps://github.com/NextLevel/NextLevel/blob/master/Sources/NextLevel.swift#L1758\r\n\r\nIf I set `sharedInstance.mirroringMode = .on` in the `nextLevelSessionDidStart` delegate the app crashes."},"comment":{"url":"https://api.github.com/repos/NextLevel/NextLevel/issues/comments/441518278","html_url":"https://github.com/NextLevel/NextLevel/issues/49#issuecomment-441518278","issue_url":"https://api.github.com/repos/NextLevel/NextLevel/issues/49","id":441518278,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTUxODI3OA==","user":{"login":"otymartin","id":2222881,"node_id":"MDQ6VXNlcjIyMjI4ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/2222881?v=4","gravatar_id":"","url":"https://api.github.com/users/otymartin","html_url":"https://github.com/otymartin","followers_url":"https://api.github.com/users/otymartin/followers","following_url":"https://api.github.com/users/otymartin/following{/other_user}","gists_url":"https://api.github.com/users/otymartin/gists{/gist_id}","starred_url":"https://api.github.com/users/otymartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otymartin/subscriptions","organizations_url":"https://api.github.com/users/otymartin/orgs","repos_url":"https://api.github.com/users/otymartin/repos","events_url":"https://api.github.com/users/otymartin/events{/privacy}","received_events_url":"https://api.github.com/users/otymartin/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T04:49:11Z","updated_at":"2018-11-26T04:49:11Z","author_association":"NONE","body":"@patthehuman You probably just wrote the delegate method wrong or have minor syntax error.. I would just copy these.\r\n\r\n  ```\r\n /// Video Zoom\r\n    public func nextLevel(_ nextLevel: NextLevel, didUpdateVideoZoomFactor videoZoomFactor: Float) {}\r\n\r\n    public func nextLevel(_ nextLevel: NextLevel, didChangeLensPosition lensPosition: Float) {}\r\n```"}}
{"actor":{"display_login":"otymartin"}}