mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Rename audio/video configuration keys
This commit is contained in:
@@ -21,8 +21,8 @@ class MediaConnection
|
||||
|
||||
createOutboundStreamPromise: ->
|
||||
deferred = $.Deferred()
|
||||
video = config.get('collaboration.enableVideo') ? mandatory: { maxWidth: 320, maxHeight: 240 }, optional: []
|
||||
audio = config.get('collaboration.enableAudio') ? true
|
||||
video = config.get('collaboration.video') ? mandatory: { maxWidth: 320, maxHeight: 240 }, optional: []
|
||||
audio = config.get('collaboration.audio') ? true
|
||||
success = (stream) =>
|
||||
@getPeerConnection().addStream(stream)
|
||||
deferred.resolve(stream)
|
||||
|
||||
Reference in New Issue
Block a user