コード例 #1
0
    public override Response Execute()
    {
        try
        {
            var reciever = MasterContainer.GetService <LiveBroadcastReciever>();
            reciever.Abort();
            MasterContainer.RemoveService <LiveBroadcastReciever>();

            return(new StopLiveBroadcastResponse(StopLiveBroadcastResults.Stopped));
        }
        catch
        {
            return(new StopLiveBroadcastResponse(StopLiveBroadcastResults.NoBroadcast));
        }
    }