Exemple #1
0
 public static void ReStart()
 {
     Shutdown();
     if (_srsListener == null)
     {
         _srsListener = new SRSRadio(_srsReceivePortUdp, _srsSendToIPUdp, _srsSendPortUdp);
     }
 }
Exemple #2
0
 public static SRSRadio GetSRSListener()
 {
     if (_srsListener == null)
     {
         _srsListener = new SRSRadio(_srsReceivePortUdp, _srsSendToIPUdp, _srsSendPortUdp);
     }
     return(_srsListener);
 }
Exemple #3
0
 public static void Shutdown()
 {
     _srsListener?.Shutdown();
     _srsListener = null;
 }