public bool StopLiveVideo( [FromHeader(Name = "AccessKey")] string AccessKey, string deviceId, string channelId) { ResponseStruct rs; var ret = SipServerService.StopLiveVideo(deviceId, channelId, out rs); if (!rs.Code.Equals(ErrorNumber.None)) { throw new AkStreamException(rs); } return(ret); }
public bool HistroyStopVideo( [FromHeader(Name = "AccessKey")] string AccessKey, int taskId, string ssrcId) { ResponseStruct rs; var ret = SipServerService.StopLiveVideo(taskId, ssrcId, out rs); if (!rs.Code.Equals(ErrorNumber.None)) { throw new AkStreamException(rs); } return(ret); }