{"action":"created","comment":{"url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/comments/148905170","pull_request_review_id":74227069,"id":148905170,"diff_hunk":"@@ -138,6 +138,18 @@ const JitsiMediaDevices = {\n      */\n     emitEvent(event, ...args) {\n         eventEmitter.emit(event, ...args);\n+    },\n+\n+    /**\n+     * Returns whether or not the current browser can support capturing video,\n+     * be it camera or desktop, and displaying received video.\n+     *\n+     * @returns {boolean}\n+     */\n+    supportsVideo() {\n+        // Defer to RTCBrowserType to allow exposure of the api to the consumer\n+        // but prevent other files from having to import JitsiMediaDevices.\n+        return RTCBrowserType.supportsVideo();","path":"JitsiMediaDevices.js","position":15,"original_position":15,"commit_id":"7771e6b2f0ce6da2f3466cf7d04f46984d7cf38a","original_commit_id":"7771e6b2f0ce6da2f3466cf7d04f46984d7cf38a","user":{"login":"damencho","id":3263098,"avatar_url":"https://avatars3.githubusercontent.com/u/3263098?v=4","gravatar_id":"","url":"https://api.github.com/users/damencho","html_url":"https://github.com/damencho","followers_url":"https://api.github.com/users/damencho/followers","following_url":"https://api.github.com/users/damencho/following{/other_user}","gists_url":"https://api.github.com/users/damencho/gists{/gist_id}","starred_url":"https://api.github.com/users/damencho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damencho/subscriptions","organizations_url":"https://api.github.com/users/damencho/orgs","repos_url":"https://api.github.com/users/damencho/repos","events_url":"https://api.github.com/users/damencho/events{/privacy}","received_events_url":"https://api.github.com/users/damencho/received_events","type":"User","site_admin":false},"body":"I remember we had a discussion at some point about exporting RTCBrowserType so we can use it in jitsi-meet. We decided not to do that ... but I don't remember details.","created_at":"2017-11-03T22:21:59Z","updated_at":"2017-11-03T22:21:59Z","html_url":"https://github.com/jitsi/lib-jitsi-meet/pull/629#discussion_r148905170","pull_request_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/629","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/comments/148905170"},"html":{"href":"https://github.com/jitsi/lib-jitsi-meet/pull/629#discussion_r148905170"},"pull_request":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/629"}},"in_reply_to_id":148904378},"pull_request":{"url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/629","id":149950876,"html_url":"https://github.com/jitsi/lib-jitsi-meet/pull/629","diff_url":"https://github.com/jitsi/lib-jitsi-meet/pull/629.diff","patch_url":"https://github.com/jitsi/lib-jitsi-meet/pull/629.patch","issue_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues/629","number":629,"state":"open","locked":false,"title":"feat(audio-only): be able to lock a browser into capturing audio only","user":{"login":"virtuacoplenny","id":1243084,"avatar_url":"https://avatars0.githubusercontent.com/u/1243084?v=4","gravatar_id":"","url":"https://api.github.com/users/virtuacoplenny","html_url":"https://github.com/virtuacoplenny","followers_url":"https://api.github.com/users/virtuacoplenny/followers","following_url":"https://api.github.com/users/virtuacoplenny/following{/other_user}","gists_url":"https://api.github.com/users/virtuacoplenny/gists{/gist_id}","starred_url":"https://api.github.com/users/virtuacoplenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtuacoplenny/subscriptions","organizations_url":"https://api.github.com/users/virtuacoplenny/orgs","repos_url":"https://api.github.com/users/virtuacoplenny/repos","events_url":"https://api.github.com/users/virtuacoplenny/events{/privacy}","received_events_url":"https://api.github.com/users/virtuacoplenny/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-01T02:49:20Z","updated_at":"2017-11-03T22:21:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d9360cf0ca482476e0086a1627226ba2b172bb9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/629/commits","review_comments_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/629/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/629/comments","statuses_url":"https://api.github.com/repos/jitsi/lib-jitsi-meet/statuses/7771e6b2f0ce6da2f3466cf7d04f46984d7cf38a","head":{"label":"virtuacoplenny:lenny/only-audio-only","ref":"lenny/only-audio-only","sha":"7771e6b2f0ce6da2f3466cf7d04f46984d7cf38a","user":{"login":"virtuacoplenny","id":1243084,"avatar_url":"https://avatars0.githubusercontent.com/u/1243084?v=4","gravatar_id":"","url":"https://api.github.com/users/virtuacoplenny","html_url":"https://github.com/virtuacoplenny","followers_url":"https://api.github.com/users/virtuacoplenny/followers","following_url":"https://api.github.com/users/virtuacoplenny/following{/other_user}","gists_url":"https://api.github.com/users/virtuacoplenny/gists{/gist_id}","starred_url":"https://api.github.com/users/virtuacoplenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtuacoplenny/subscriptions","organizations_url":"https://api.github.com/users/virtuacoplenny/orgs","repos_url":"https://api.github.com/users/virtuacoplenny/repos","events_url":"https://api.github.com/users/virtuacoplenny/events{/privacy}","received_events_url":"https://api.github.com/users/virtuacoplenny/received_events","type":"User","site_admin":false},"repo":{"id":82234072,"name":"lib-jitsi-meet","full_name":"virtuacoplenny/lib-jitsi-meet","owner":{"login":"virtuacoplenny","id":1243084,"avatar_url":"https://avatars0.githubusercontent.com/u/1243084?v=4","gravatar_id":"","url":"https://api.github.com/users/virtuacoplenny","html_url":"https://github.com/virtuacoplenny","followers_url":"https://api.github.com/users/virtuacoplenny/followers","following_url":"https://api.github.com/users/virtuacoplenny/following{/other_user}","gists_url":"https://api.github.com/users/virtuacoplenny/gists{/gist_id}","starred_url":"https://api.github.com/users/virtuacoplenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtuacoplenny/subscriptions","organizations_url":"https://api.github.com/users/virtuacoplenny/orgs","repos_url":"https://api.github.com/users/virtuacoplenny/repos","events_url":"https://api.github.com/users/virtuacoplenny/events{/privacy}","received_events_url":"https://api.github.com/users/virtuacoplenny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/virtuacoplenny/lib-jitsi-meet","description":"A low-level JS video API that allows adding a completely custom video experience to web apps.","fork":true,"url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet","forks_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/forks","keys_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/teams","hooks_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/hooks","issue_events_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/issues/events{/number}","events_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/events","assignees_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/assignees{/user}","branches_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/branches{/branch}","tags_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/tags","blobs_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/git/refs{/sha}","trees_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/statuses/{sha}","languages_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/languages","stargazers_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/stargazers","contributors_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/contributors","subscribers_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/subscribers","subscription_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/subscription","commits_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/commits{/sha}","git_commits_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/git/commits{/sha}","comments_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/comments{/number}","issue_comment_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/issues/comments{/number}","contents_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/contents/{+path}","compare_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/merges","archive_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/downloads","issues_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/issues{/number}","pulls_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/pulls{/number}","milestones_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/milestones{/number}","notifications_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/labels{/name}","releases_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/releases{/id}","deployments_url":"https://api.github.com/repos/virtuacoplenny/lib-jitsi-meet/deployments","created_at":"2017-02-16T22:53:00Z","updated_at":"2017-02-16T22:53:03Z","pushed_at":"2017-11-03T01:29:59Z","git_url":"git://github.com/virtuacoplenny/lib-jitsi-meet.git","ssh_url":"git@github.com:virtuacoplenny/lib-jitsi-meet.git","clone_url":"https://github.com/virtuacoplenny/lib-jitsi-meet.git","svn_url":"https://github.com/virtuacoplenny/lib-jitsi-meet","homepage":"","size":6728,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jitsi:master","ref":"master","sha":"0c00b27d58f5ec778115b41a6d4b9a167369d4e5","user":{"login":"jitsi","id":3671647,"avatar_url":"https://avatars2.githubusercontent.com/u/3671647?v=4","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://avatars2.githubusercontent.com/u/3671647?v=4","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":"A low-level JS video API that allows adding a completely custom video experience to web apps.","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":"2017-11-02T10:49:17Z","pushed_at":"2017-11-03T19:22:47Z","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":"","size":6772,"stargazers_count":63,"watchers_count":63,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":100,"mirror_url":null,"archived":false,"open_issues_count":42,"forks":100,"open_issues":42,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/629"},"html":{"href":"https://github.com/jitsi/lib-jitsi-meet/pull/629"},"issue":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues/629"},"comments":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/issues/629/comments"},"review_comments":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/pulls/629/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/629/commits"},"statuses":{"href":"https://api.github.com/repos/jitsi/lib-jitsi-meet/statuses/7771e6b2f0ce6da2f3466cf7d04f46984d7cf38a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"damencho"}}