mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
add constructor to CodecScheduleAwareness to chang refresh timer
This commit is contained in:
parent
b502007fff
commit
753b4e69ee
2 changed files with 9 additions and 1 deletions
|
|
@ -68,6 +68,13 @@ namespace PepperDash.Essentials.Devices.Common.Codec
|
|||
_scheduleChecker = new CTimer(CheckSchedule, null, 1000, 1000);
|
||||
}
|
||||
|
||||
public CodecScheduleAwareness(long pollTime)
|
||||
{
|
||||
Meetings = new List<Meeting>();
|
||||
|
||||
_scheduleChecker = new CTimer(CheckSchedule, null, pollTime, pollTime);
|
||||
}
|
||||
|
||||
private void OnMeetingChange(eMeetingEventChangeType changeType, Meeting meeting)
|
||||
{
|
||||
var handler = MeetingEventChange;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue