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