Skip to content

Commit

Permalink
fix: presentation states reset
Browse files Browse the repository at this point in the history
stops presentation states from being reset to local only at call disconnect
  • Loading branch information
ngenovese11 committed Oct 20, 2022
1 parent 7746861 commit 7b58b21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CiscoRoomOsCodec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3605,7 +3605,7 @@ public void Dial(string number, string protocol, string callRate, string callTyp
public override void EndCall(CodecActiveCallItem activeCall)
{
EnqueueCommand(string.Format("xCommand Call Disconnect CallId: {0}", activeCall.Id));
PresentationStates = eCodecPresentationStates.LocalOnly;
// PresentationStates = eCodecPresentationStates.LocalOnly;
}

public override void EndAllCalls()
Expand All @@ -3614,7 +3614,7 @@ public override void EndAllCalls()
{
EnqueueCommand(string.Format("xCommand Call Disconnect CallId: {0}", activeCall.Id));
}
PresentationStates = eCodecPresentationStates.LocalOnly;
// PresentationStates = eCodecPresentationStates.LocalOnly;
}

public override void AcceptCall(CodecActiveCallItem item)
Expand Down

0 comments on commit 7b58b21

Please sign in to comment.