/// <summary> /// Create a new <Siprec/> element and append it as a child of this element. /// </summary> /// <param name="name"> Friendly name given to SIPREC </param> /// <param name="connectorName"> Unique name for Connector </param> /// <param name="track"> Track to be streamed to remote service </param> public Start Siprec(string name = null, string connectorName = null, Siprec.TrackEnum track = null) { var newChild = new Siprec(name, connectorName, track); this.Append(newChild); return(this); }
/// <summary> /// Create a new <Siprec/> element and append it as a child of this element. /// </summary> /// <param name="name"> Friendly name given to SIPREC </param> /// <param name="connectorName"> Unique name for Connector </param> public Stop Siprec(string name = null, string connectorName = null) { var newChild = new Siprec(name, connectorName); this.Append(newChild); return(this); }
public Start Siprec(Siprec siprec) { this.Append(siprec); return(this); }