{"action":"created","comment":{"url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/comments/68376767","id":68376767,"diff_hunk":"@@ -42,6 +43,9 @@ var LibJitsiMeet = {\n \n     version: '{#COMMIT_HASH#}',\n \n+    // expose JitsiTrackError this way to give library consumers to do checks\n+    // like if (error instanceof JitsiMeetJS.JitsiTrackError) { }\n+    JitsiTrackError: JitsiTrackError,","path":"JitsiMeetJS.js","position":null,"original_position":14,"commit_id":"714585de88c0dd6a124f4c68fce08f27c8c415f0","original_commit_id":"4b284020458035e9da2c1b625693896c7bc89cc4","user":{"login":"tsareg","id":1167285,"avatar_url":"https://avatars.githubusercontent.com/u/1167285?v=3","gravatar_id":"","url":"https://api.github.com/users/tsareg","html_url":"https://github.com/tsareg","followers_url":"https://api.github.com/users/tsareg/followers","following_url":"https://api.github.com/users/tsareg/following{/other_user}","gists_url":"https://api.github.com/users/tsareg/gists{/gist_id}","starred_url":"https://api.github.com/users/tsareg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsareg/subscriptions","organizations_url":"https://api.github.com/users/tsareg/orgs","repos_url":"https://api.github.com/users/tsareg/repos","events_url":"https://api.github.com/users/tsareg/events{/privacy}","received_events_url":"https://api.github.com/users/tsareg/received_events","type":"User","site_admin":false},"body":"Yes, I will do this in separate PR.","created_at":"2016-06-24T09:48:20Z","updated_at":"2016-06-24T09:48:20Z","html_url":"https://github.com/jitsi/lib-jitsi-meet/pull/142#discussion_r68376767","pull_request_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/142","_links":{"self":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/comments/68376767"},"html":{"href":"https://github.com/jitsi/lib-jitsi-meet/pull/142#discussion_r68376767"},"pull_request":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/142"}}},"pull_request":{"url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/142","id":74575566,"html_url":"https://github.com/jitsi/lib-jitsi-meet/pull/142","diff_url":"https://github.com/jitsi/lib-jitsi-meet/pull/142.diff","patch_url":"https://github.com/jitsi/lib-jitsi-meet/pull/142.patch","issue_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues/142","number":142,"state":"open","locked":false,"title":"Expose JitsiMeetJS.environment with methods for environment detection","user":{"login":"tsareg","id":1167285,"avatar_url":"https://avatars.githubusercontent.com/u/1167285?v=3","gravatar_id":"","url":"https://api.github.com/users/tsareg","html_url":"https://github.com/tsareg","followers_url":"https://api.github.com/users/tsareg/followers","following_url":"https://api.github.com/users/tsareg/following{/other_user}","gists_url":"https://api.github.com/users/tsareg/gists{/gist_id}","starred_url":"https://api.github.com/users/tsareg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsareg/subscriptions","organizations_url":"https://api.github.com/users/tsareg/orgs","repos_url":"https://api.github.com/users/tsareg/repos","events_url":"https://api.github.com/users/tsareg/events{/privacy}","received_events_url":"https://api.github.com/users/tsareg/received_events","type":"User","site_admin":false},"body":"Sometimes we need to do some browser/environment detection in code that uses lib-jitsi-meet, so we can re-use this info from lib.\r\n\r\nThis is required for https://github.com/jitsi/jitsi-meet/pull/701","created_at":"2016-06-21T09:10:13Z","updated_at":"2016-06-24T09:48:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba334aa9cb5aa55dde841e5a85b2915bfaebc0da","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/142/commits","review_comments_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/142/comments","review_comment_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues/142/comments","statuses_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/statuses/714585de88c0dd6a124f4c68fce08f27c8c415f0","head":{"label":"tsareg:gum_permission_dialog_guidance","ref":"gum_permission_dialog_guidance","sha":"714585de88c0dd6a124f4c68fce08f27c8c415f0","user":{"login":"tsareg","id":1167285,"avatar_url":"https://avatars.githubusercontent.com/u/1167285?v=3","gravatar_id":"","url":"https://api.github.com/users/tsareg","html_url":"https://github.com/tsareg","followers_url":"https://api.github.com/users/tsareg/followers","following_url":"https://api.github.com/users/tsareg/following{/other_user}","gists_url":"https://api.github.com/users/tsareg/gists{/gist_id}","starred_url":"https://api.github.com/users/tsareg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsareg/subscriptions","organizations_url":"https://api.github.com/users/tsareg/orgs","repos_url":"https://api.github.com/users/tsareg/repos","events_url":"https://api.github.com/users/tsareg/events{/privacy}","received_events_url":"https://api.github.com/users/tsareg/received_events","type":"User","site_admin":false},"repo":{"id":58113471,"name":"lib-jitsi-meet","full_name":"tsareg/lib-jitsi-meet","owner":{"login":"tsareg","id":1167285,"avatar_url":"https://avatars.githubusercontent.com/u/1167285?v=3","gravatar_id":"","url":"https://api.github.com/users/tsareg","html_url":"https://github.com/tsareg","followers_url":"https://api.github.com/users/tsareg/followers","following_url":"https://api.github.com/users/tsareg/following{/other_user}","gists_url":"https://api.github.com/users/tsareg/gists{/gist_id}","starred_url":"https://api.github.com/users/tsareg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsareg/subscriptions","organizations_url":"https://api.github.com/users/tsareg/orgs","repos_url":"https://api.github.com/users/tsareg/repos","events_url":"https://api.github.com/users/tsareg/events{/privacy}","received_events_url":"https://api.github.com/users/tsareg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsareg/lib-jitsi-meet","description":"","fork":true,"url":"https://api.github.com/repos/tsareg/lib-jitsi-meet","forks_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/forks","keys_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/teams","hooks_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/hooks","issue_events_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/issues/events{/number}","events_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/events","assignees_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/assignees{/user}","branches_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/branches{/branch}","tags_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/tags","blobs_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/statuses/{sha}","languages_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/languages","stargazers_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/stargazers","contributors_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/contributors","subscribers_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/subscribers","subscription_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/subscription","commits_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/contents/{+path}","compare_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/merges","archive_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/downloads","issues_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/issues{/number}","pulls_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/pulls{/number}","milestones_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/milestones{/number}","notifications_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/labels{/name}","releases_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/releases{/id}","deployments_url":"https://api.github.com/repos/tsareg/lib-jitsi-meet/deployments","created_at":"2016-05-05T07:42:00Z","updated_at":"2016-05-05T07:42:02Z","pushed_at":"2016-06-24T09:47:36Z","git_url":"git://github.com/tsareg/lib-jitsi-meet.git","ssh_url":"git@github.com:tsareg/lib-jitsi-meet.git","clone_url":"https://github.com/tsareg/lib-jitsi-meet.git","svn_url":"https://github.com/tsareg/lib-jitsi-meet","homepage":null,"size":3494,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jitsi:master","ref":"master","sha":"f06752e99814ce9a1374a4de5f1b897b51195fa1","user":{"login":"jitsi","id":3671647,"avatar_url":"https://avatars.githubusercontent.com/u/3671647?v=3","gravatar_id":"","url":"https://api.github.com/users/jitsi","html_url":"https://github.com/jitsi","followers_url":"https://api.github.com/users/jitsi/followers","following_url":"https://api.github.com/users/jitsi/following{/other_user}","gists_url":"https://api.github.com/users/jitsi/gists{/gist_id}","starred_url":"https://api.github.com/users/jitsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitsi/subscriptions","organizations_url":"https://api.github.com/users/jitsi/orgs","repos_url":"https://api.github.com/users/jitsi/repos","events_url":"https://api.github.com/users/jitsi/events{/privacy}","received_events_url":"https://api.github.com/users/jitsi/received_events","type":"Organization","site_admin":false},"repo":{"id":50543360,"name":"lib-jitsi-meet","full_name":"jitsi/lib-jitsi-meet","owner":{"login":"jitsi","id":3671647,"avatar_url":"https://avatars.githubusercontent.com/u/3671647?v=3","gravatar_id":"","url":"https://api.github.com/users/jitsi","html_url":"https://github.com/jitsi","followers_url":"https://api.github.com/users/jitsi/followers","following_url":"https://api.github.com/users/jitsi/following{/other_user}","gists_url":"https://api.github.com/users/jitsi/gists{/gist_id}","starred_url":"https://api.github.com/users/jitsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jitsi/subscriptions","organizations_url":"https://api.github.com/users/jitsi/orgs","repos_url":"https://api.github.com/users/jitsi/repos","events_url":"https://api.github.com/users/jitsi/events{/privacy}","received_events_url":"https://api.github.com/users/jitsi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jitsi/lib-jitsi-meet","description":"","fork":false,"url":"https://api.github.com/repos/jitsi/lib-jitsi-meet","forks_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/forks","keys_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/teams","hooks_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/hooks","issue_events_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues/events{/number}","events_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/events","assignees_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/assignees{/user}","branches_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/branches{/branch}","tags_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/tags","blobs_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/git/refs{/sha}","trees_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/statuses/{sha}","languages_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/languages","stargazers_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/stargazers","contributors_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/contributors","subscribers_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/subscribers","subscription_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/subscription","commits_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/commits{/sha}","git_commits_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/git/commits{/sha}","comments_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/comments{/number}","issue_comment_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues/comments{/number}","contents_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/contents/{+path}","compare_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/merges","archive_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/downloads","issues_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues{/number}","pulls_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls{/number}","milestones_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/milestones{/number}","notifications_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/labels{/name}","releases_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/releases{/id}","deployments_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/deployments","created_at":"2016-01-27T22:44:09Z","updated_at":"2016-06-23T22:40:00Z","pushed_at":"2016-06-24T09:47:37Z","git_url":"git://github.com/jitsi/lib-jitsi-meet.git","ssh_url":"git@github.com:jitsi/lib-jitsi-meet.git","clone_url":"https://github.com/jitsi/lib-jitsi-meet.git","svn_url":"https://github.com/jitsi/lib-jitsi-meet","homepage":null,"size":3634,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":16,"forks":28,"open_issues":16,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/142"},"html":{"href":"https://github.com/jitsi/lib-jitsi-meet/pull/142"},"issue":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues/142"},"comments":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/statuses/714585de88c0dd6a124f4c68fce08f27c8c415f0"}}}}
{"actor":{"display_login":"tsareg"}}