mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
Fixed end all not working - many hours chasing error
This commit is contained in:
parent
f498d55dd6
commit
1c63e506b8
8 changed files with 124 additions and 51 deletions
|
|
@ -91,8 +91,9 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||
public override void EndAllCalls()
|
||||
{
|
||||
Debug.Console(1, this, "EndAllCalls");
|
||||
foreach (var call in ActiveCalls)
|
||||
for(int i = ActiveCalls.Count - 1; i >= 0; i--)
|
||||
{
|
||||
var call = ActiveCalls[i];
|
||||
ActiveCalls.Remove(call);
|
||||
SetNewCallStatusAndFireCallStatusChange(eCodecCallStatus.Disconnected, call);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue