Hotfix for TD - Null ref in incoming call. Thought this was fixed.

This commit is contained in:
Heath Volmer
2018-03-09 09:10:25 -07:00
parent ef8298ccd6
commit 856a81ded4
4 changed files with 2 additions and 2 deletions

View File

@@ -4,5 +4,5 @@
[assembly: AssemblyCompany("PepperDash Technology Corp")]
[assembly: AssemblyProduct("PepperDashEssentials")]
[assembly: AssemblyCopyright("Copyright © PepperDash Technology Corp 2017")]
[assembly: AssemblyVersion("1.0.41.*")]
[assembly: AssemblyVersion("1.0.42.*")]

View File

@@ -971,7 +971,7 @@ namespace PepperDash.Essentials
if (inCall)
{
// Check if transitioning to in call - and non-sharable source is in use
if (CurrentRoom.CurrentSourceInfo.DisableCodecSharing)
if (CurrentRoom.CurrentSourceInfo != null && CurrentRoom.CurrentSourceInfo.DisableCodecSharing)
{
Debug.Console(1, CurrentRoom, "Transitioning to in-call, cancelling non-sharable source");
CurrentRoom.RunRouteAction("codecOsd");