SEBWIN-450: Added missing mapping for receive audio and video configuration values.
This commit is contained in:
parent
88faf4cafd
commit
8fb5519f4d
2 changed files with 24 additions and 0 deletions
|
@ -101,6 +101,12 @@ namespace SafeExamBrowser.Configuration.ConfigurationData.DataMapping
|
|||
case Keys.Proctoring.Zoom.MeetingNumber:
|
||||
MapZoomMeetingNumber(settings, value);
|
||||
break;
|
||||
case Keys.Proctoring.Zoom.ReceiveAudio:
|
||||
MapZoomReceiveAudio(settings, value);
|
||||
break;
|
||||
case Keys.Proctoring.Zoom.ReceiveVideo:
|
||||
MapZoomReceiveVideo(settings, value);
|
||||
break;
|
||||
case Keys.Proctoring.Zoom.SendAudio:
|
||||
MapZoomSendAudio(settings, value);
|
||||
break;
|
||||
|
@ -365,6 +371,22 @@ namespace SafeExamBrowser.Configuration.ConfigurationData.DataMapping
|
|||
}
|
||||
}
|
||||
|
||||
private void MapZoomReceiveAudio(AppSettings settings, object value)
|
||||
{
|
||||
if (value is bool receive)
|
||||
{
|
||||
settings.Proctoring.Zoom.ReceiveAudio = receive;
|
||||
}
|
||||
}
|
||||
|
||||
private void MapZoomReceiveVideo(AppSettings settings, object value)
|
||||
{
|
||||
if (value is bool receive)
|
||||
{
|
||||
settings.Proctoring.Zoom.ReceiveVideo = receive;
|
||||
}
|
||||
}
|
||||
|
||||
private void MapZoomSendAudio(AppSettings settings, object value)
|
||||
{
|
||||
if (value is bool send)
|
||||
|
|
|
@ -259,6 +259,8 @@ namespace SafeExamBrowser.Configuration.ConfigurationData
|
|||
internal const string AudioMuted = "zoomAudioMuted";
|
||||
internal const string Enabled = "zoomEnable";
|
||||
internal const string MeetingNumber = "zoomRoom";
|
||||
internal const string ReceiveAudio = "zoomReceiveAudio";
|
||||
internal const string ReceiveVideo = "zoomReceiveVideo";
|
||||
internal const string SendAudio = "zoomSendAudio";
|
||||
internal const string SendVideo = "zoomSendVideo";
|
||||
internal const string Signature = "zoomToken";
|
||||
|
|
Loading…
Reference in a new issue