From 7a4069ddadb608d1fb1bb9b7be4ddd4bc4b41f6b Mon Sep 17 00:00:00 2001 From: Stefan Wienert Date: Tue, 11 Mar 2014 22:15:34 +0100 Subject: [PATCH] hacky screensharing --- source/assets/js/app/controllers/palava_controller.coffee.erb | 2 ++ source/html/shared/_modal_user_media_configurator.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/source/assets/js/app/controllers/palava_controller.coffee.erb b/source/assets/js/app/controllers/palava_controller.coffee.erb index 5ad3f6c..7c73536 100644 --- a/source/assets/js/app/controllers/palava_controller.coffee.erb +++ b/source/assets/js/app/controllers/palava_controller.coffee.erb @@ -13,6 +13,8 @@ getUserMediaTitles = (userMediaConfig) -> if userMediaConfig.audio && !userMediaConfig.video 'Microphone' + else if userMediaConfig.video?.mandatory? + 'Screensharing' else if !userMediaConfig.audio && userMediaConfig.video 'Webcam' else if !userMediaConfig.audio && !userMediaConfig.video diff --git a/source/html/shared/_modal_user_media_configurator.html.erb b/source/html/shared/_modal_user_media_configurator.html.erb index cba09b9..c4f75ce 100644 --- a/source/html/shared/_modal_user_media_configurator.html.erb +++ b/source/html/shared/_modal_user_media_configurator.html.erb @@ -7,7 +7,7 @@ +
  • +