From d09871eb8503a82b06e3595e117215fe456e64e6 Mon Sep 17 00:00:00 2001 From: Mahsaap Date: Tue, 25 Jun 2024 11:13:15 -0300 Subject: [PATCH] Fix example Channel set location --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f40b2ac2..67295f74 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,7 @@ namespace Example API.Settings.ClientId = ""; API.Settings.AccessToken = ""; - Monitor = new LiveStreamMonitorService(API, 60); - - List lst = new List{ "ID1", "ID2" }; - Monitor.SetChannelsById(lst); + Monitor = new LiveStreamMonitorService(API, 60); Monitor.OnStreamOnline += Monitor_OnStreamOnline; Monitor.OnStreamOffline += Monitor_OnStreamOffline; @@ -44,6 +41,8 @@ namespace Example Monitor.OnServiceStarted += Monitor_OnServiceStarted; Monitor.OnChannelsSet += Monitor_OnChannelsSet; + List lst = new List{ "ID1", "ID2" }; + Monitor.SetChannelsById(lst); Monitor.Start(); //Keep at the end!