예제 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            var  config     = new StopAMSConfigParams(tbChannelName.Text, tbStreamingEndpointName.Text);
            bool tempresult =
                VooAzureStreamFacade.VooAzureStreamFacade.ReleaseLiveStreamingInfrastructure(config);

            //  MessageBox.Show(tempresult.ToString(), "Destroy Live Streaming infrastructure", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
 // GET: api/Amsppointstop
 public string Get([FromUri] StopAMSConfigParams configParams)
 {
     return("value");
 }
        public bool ReleaseLiveStreamingInfrastructure(string aChannelName, string anEndPointName)
        {
            var config = new StopAMSConfigParams(aChannelName, anEndPointName);

            return(VooAzureStreamFacade.ReleaseLiveStreamingInfrastructure(config));
        }
        public bool Stop(string aChannelName, string anEndPointName)
        {
            var config = new StopAMSConfigParams(aChannelName, anEndPointName);

            return(VooAzureStreamFacade.Stop(config));
        }