NVIDIA DeepStream SDK API Reference

9.2 Release
service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #pragma once
19 
20 namespace pydeepstreamdoc
21 {
22  namespace pipeline
23  {
24  namespace PipelineStateDoc
25  {
26  constexpr const char* descr = R"pydeepstream(State of the pipeline.)pydeepstream";
27  }
28 
29  namespace PipelineMessageDoc
30  {
31  constexpr const char* descr = R"pydeepstream(Base class for pipeline message.)pydeepstream";
32  }
33 
34  namespace EOSMessageDoc
35  {
36  constexpr const char* descr = R"pydeepstream(Pipeline message on EOS.)pydeepstream";
37  }
38 
39  namespace StateTransitionMessageDoc
40  {
41  constexpr const char* descr = R"pydeepstream(
42  Pipeline message on state transition
43 
44  :ivar old_state: *PipelineState*, Old state of the pipeline.
45  :ivar new_state: *PipelineState*, New state of the pipeline.
46  :ivar origin: *str*, Name of the origin of the state transition.)pydeepstream";
47  }
48 
49  namespace DynamicSourceMessageDoc
50  {
51  constexpr const char* descr = R"pydeepstream(
52  Pipeline message on dynamic source.
53 
54  :ivar source_added: *bool*, Whether a source has been added; false indicates source removal or source completion.
55  :ivar source_id: *int*, ID of the source.
56  :ivar sensor_id: *str*, ID of the sensor.
57  :ivar sensor_name: *str*, Name of the sensor.
58  :ivar uri: *str*, URI of the source.)pydeepstream";
59  }
60 
61  namespace RecordingInfoDoc
62  {
63  constexpr const char* descr = R"pydeepstream(
64  Information about a recording session.
65 
66  :ivar session_id: *int*, Session id of the recording.
67  :ivar file_name: *str*, Name of the recording file.
68  :ivar file_directory: *str*, Directory of the recording file.
69  :ivar duration: *int*, Duration of the recording.
70  :ivar container_type: *str*, Container type of the recording.
71  :ivar width: *int*, Width of the recording.
72  :ivar height: *int*, Height of the recording.
73  :ivar contains_video: *bool*, Whether the recording contains video.
74  :ivar contains_audio: *bool*, Whether the recording contains audio.
75  :ivar channels: *int*, Channels of the recording.
76  :ivar sampling_rate: *int*, Sampling rate of the recording.)pydeepstream";
77  }
78 
79  namespace PipelineDoc
80  {
81  constexpr const char* descr = R"pydeepstream(Media processing pipeline.)pydeepstream";
82  constexpr const char* init = R"pydeepstream(Initialize the pipeline with a name.)pydeepstream";
83  constexpr const char* init_with_config = R"pydeepstream(Initialize the pipeline with a name and config file path.)pydeepstream";
84  constexpr const char* add = R"pydeepstream(
85  Add an element to the pipeline.
86 
87  :arg type_name: *str*, Type of the element.
88  :arg name: *str*, Name of the element.)pydeepstream";
89  constexpr const char* attach = R"pydeepstream(
90  Attach an object to an element in the pipeline. Object must be a probe or a signal handler.
91 
92  :arg element_name: *str*, Name of the element to which the object attaches.
93  :arg plugin_name: *str*, Name of the plugin to create the custom object from.
94  :arg object: *str*, Name of the custom object.
95  :arg tip: *str*, Extra information. Pad name for buffer probes, signal name for signal handlers.)pydeepstream";
96  constexpr const char* getitem = R"pydeepstream(Retrieve a :class:`Node` from the pipeline by name.)pydeepstream";
97  constexpr const char* start = R"pydeepstream(Start the pipeline.)pydeepstream";
98  constexpr const char* start_with_callback = R"pydeepstream(Start the pipeline with a callback to capture messages.)pydeepstream";
99  constexpr const char* prepare = R"pydeepstream(Initialize the pipeline.)pydeepstream";
100  constexpr const char* prepare_with_callback = R"pydeepstream(Initialize the pipeline with a callback to capture messages.)pydeepstream";
101  constexpr const char* activate = R"pydeepstream(Start the pipeline after it is already initialized.)pydeepstream";
102  constexpr const char* wait = R"pydeepstream(Wait for the pipeline to finish.)pydeepstream";
103  constexpr const char* stop = R"pydeepstream(Stop the pipeline.)pydeepstream";
104  constexpr const char* start_rtsp_server = R"pydeepstream(Start the RTSP server.)pydeepstream";
105  constexpr const char* seek = R"pydeepstream(Seek to a specified timestamp for processing data within the pipeline.)pydeepstream";
106  constexpr const char* start_recording = R"pydeepstream(
107  Start recording from a specified source.
108 
109  :arg source_name: *str*, Name of the source to record.
110  :arg start_time: *int*, Start time of the recording.
111  :arg duration: *int*, Duration of the recording.)pydeepstream";
112  constexpr const char* stop_recording = R"pydeepstream(
113  Stop recording from a specified source.
114 
115  :arg source_name: *str*, Name of the source to record.)pydeepstream";
116  constexpr const char* stop_recording_by_session_id = R"pydeepstream(
117  Stop recording from a specified session id.
118 
119  :arg session_id: *int*, Session id to stop recording.)pydeepstream";
120  }
121  }
122 }
pydeepstreamdoc::pipeline::PipelineDoc::prepare_with_callback
constexpr const char * prepare_with_callback
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:100
pydeepstreamdoc
Definition: service-maker/sources/python/src/bindings/docstrings/bufferdoc.h:20
pydeepstreamdoc::pipeline::PipelineDoc::stop
constexpr const char * stop
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:103
pydeepstreamdoc::pipeline::PipelineDoc::prepare
constexpr const char * prepare
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:99
pydeepstreamdoc::pipeline::PipelineDoc::seek
constexpr const char * seek
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:105
pydeepstreamdoc::pipeline::RecordingInfoDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:63
pydeepstreamdoc::pipeline::PipelineDoc::start_rtsp_server
constexpr const char * start_rtsp_server
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:104
pydeepstreamdoc::pipeline::PipelineDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:81
pydeepstreamdoc::pipeline::PipelineDoc::wait
constexpr const char * wait
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:102
pydeepstreamdoc::pipeline::PipelineDoc::start_with_callback
constexpr const char * start_with_callback
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:98
pydeepstreamdoc::pipeline::PipelineDoc::init
constexpr const char * init
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:82
pydeepstreamdoc::pipeline::EOSMessageDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:36
pydeepstreamdoc::pipeline::PipelineStateDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:26
pydeepstreamdoc::pipeline::PipelineDoc::attach
constexpr const char * attach
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:89
pydeepstreamdoc::pipeline::PipelineDoc::stop_recording
constexpr const char * stop_recording
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:112
pydeepstreamdoc::pipeline::PipelineDoc::stop_recording_by_session_id
constexpr const char * stop_recording_by_session_id
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:116
pydeepstreamdoc::pipeline::PipelineDoc::add
constexpr const char * add
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:84
pydeepstreamdoc::pipeline::PipelineDoc::start_recording
constexpr const char * start_recording
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:106
pydeepstreamdoc::pipeline::PipelineDoc::activate
constexpr const char * activate
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:101
pydeepstreamdoc::pipeline::PipelineDoc::start
constexpr const char * start
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:97
pydeepstreamdoc::pipeline::PipelineDoc::init_with_config
constexpr const char * init_with_config
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:83
pydeepstreamdoc::pipeline::StateTransitionMessageDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:41
pydeepstreamdoc::pipeline::DynamicSourceMessageDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:51
pydeepstreamdoc::pipeline::PipelineMessageDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:31
pydeepstreamdoc::pipeline::PipelineDoc::getitem
constexpr const char * getitem
Definition: service-maker/sources/python/src/bindings/docstrings/pipelinedoc.h:96