/// <summary> /// Initializes a new instance of the MediaGraphExtensionProcessorBase /// class. /// </summary> /// <param name="name">The name for this processor node.</param> /// <param name="inputs">An array of the names of the other nodes in /// the media graph, the outputs of which are used as input for this /// processor node.</param> /// <param name="endpoint">Endpoint to which this processor should /// connect.</param> /// <param name="image">Describes the parameters of the image that is /// sent as input to the endpoint.</param> public MediaGraphExtensionProcessorBase(string name, IList <MediaGraphNodeInput> inputs, MediaGraphEndpoint endpoint = default(MediaGraphEndpoint), MediaGraphImage image = default(MediaGraphImage)) : base(name, inputs) { Endpoint = endpoint; Image = image; CustomInit(); }
/// <summary> /// Initializes a new instance of the MediaGraphRtspSource class. /// </summary> /// <param name="name">The name to be used for this source /// node.</param> /// <param name="endpoint">RTSP endpoint of the stream that is being /// connected to.</param> /// <param name="transport">Underlying RTSP transport. This is used to /// enable or disable HTTP tunneling. Possible values include: 'Http', /// 'Tcp'</param> public MediaGraphRtspSource(string name, MediaGraphEndpoint endpoint, string transport = default(string)) : base(name) { Transport = transport; Endpoint = endpoint; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// MediaGraphCognitiveServicesVisionExtension class. /// </summary> /// <param name="name">The name for this processor node.</param> /// <param name="inputs">An array of the names of the other nodes in /// the media graph, the outputs of which are used as input for this /// processor node.</param> /// <param name="endpoint">Endpoint to which this processor should /// connect.</param> /// <param name="image">Describes the parameters of the image that is /// sent as input to the endpoint.</param> public MediaGraphCognitiveServicesVisionExtension(string name, IList <MediaGraphNodeInput> inputs, MediaGraphEndpoint endpoint = default(MediaGraphEndpoint), MediaGraphImage image = default(MediaGraphImage)) : base(name, inputs, endpoint, image) { CustomInit(); }
/// <summary> /// Initializes a new instance of the MediaGraphGrpcExtension class. /// </summary> /// <param name="name">The name for this processor node.</param> /// <param name="inputs">An array of the names of the other nodes in /// the media graph, the outputs of which are used as input for this /// processor node.</param> /// <param name="dataTransfer">How media should be transferred to the /// inferencing engine.</param> /// <param name="endpoint">Endpoint to which this processor should /// connect.</param> /// <param name="image">Describes the parameters of the image that is /// sent as input to the endpoint.</param> public MediaGraphGrpcExtension(string name, IList <MediaGraphNodeInput> inputs, MediaGraphGrpcExtensionDataTransfer dataTransfer, MediaGraphEndpoint endpoint = default(MediaGraphEndpoint), MediaGraphImage image = default(MediaGraphImage)) : base(name, inputs, endpoint, image) { DataTransfer = dataTransfer; CustomInit(); }