mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Reduce size of video stream
This commit is contained in:
@@ -14,7 +14,7 @@ class MediaConnection
|
||||
constructor: (@channel, {@isLeader}={}) ->
|
||||
|
||||
start: ->
|
||||
video = config.get('collaboration.enableVideo') ? true
|
||||
video = config.get('collaboration.enableVideo') ? mandatory: { maxWidth: 320, maxHeight: 240 }, optional: []
|
||||
audio = config.get('collaboration.enableAudio') ? true
|
||||
navigator.webkitGetUserMedia({video, audio}, @onUserMediaAvailable, @onUserMediaUnavailable)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user