c - How can I get a gstreamer pipeline by name? -


if pipeline created gstelement *pipeline = gst_pipeline_new (session_id); on server whenever user visits http://myurl.com/new?session_id=123&file_path=/vids/vid.mp4 (mp4 videos streamed rtmp server), how can use name of pipeline "123" set pipeline state not playing when user visits http://myurl.com/to_not_playin?session_id=123? each visit http://myurl.com/new launches gstreamer in new thread (because webserver asynchronous , want multiple users use platform) different elements/pads created , linked.

there no way pipeline name generically in gstreamer, should store name -> pipeline map if need it.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -