Ejemplo n.º 1
0
 public Task <T> Invoke <T>(string destination, string method, params object[] args)
 {
     try
     {
         Log.Invoke(destination, method);
         return(_client.InvokeAsync <T>("my-rtmps", destination, method, args));
     }
     catch (InvocationException e)
     {
         Log.Error("Invocation Exception: {0}", e);
         return(null);
     }
 }
Ejemplo n.º 2
0
 public Task <T> InvokeAsync <T>(string destination, string method, params object[] argument)
 {
     return(rtmpClient.InvokeAsync <T>("my-rtmps", destination, method, argument));
 }
Ejemplo n.º 3
0
 private static Task <T> InvokeAsync <T>(RtmpClient client, string destination, string method, params object[] argument)
 {
     return(client.InvokeAsync <T>("my-rtmps", destination, method, argument));
 }