Пример #1
0
 public static void Initialize()
 {
     _userReceiveManager = new UserReceiveManager();
     _searchReceiveManager = new SearchReceiveManager();
     _listReceiveManager = new ListReceiveManager();
     _streamTrackReceiveManager = new StreamTrackReceiveManager(_userReceiveManager);
     _userReceiveManager.ConnectionStateChanged += OnUserStreamsConnectionStateChanged;
 }
Пример #2
0
 public static void Initialize()
 {
     BehaviorLogger.Log("RM", "initializing...");
     _userReceiveManager = new UserReceiveManager();
     _searchReceiveManager = new SearchReceiveManager();
     _listReceiveManager = new ListReceiveManager();
     _streamTrackReceiveManager = new StreamTrackReceiveManager(_userReceiveManager);
     _userReceiveManager.ConnectionStateChanged += arg => UserStreamsConnectionStateChanged.SafeInvoke(arg);
     BehaviorLogger.Log("RM", "init.");
 }