I am using a deep stream app which was built using test cases provided. It makes use of 4 rtsp sources and if any of the rtsp source crashes entire deep stream app won’t function. My stream stops after working for some time and it is a frequent thing all the time.
I was referring for some suggestions provided on the forums and found one which is in C. I understood it to some extent and tried to replicate the same in Python but unable to find syntax for few in python.
I wasn’t able to find few things which are as follows:
In bus_call function, in the case 4, there are two functions being used namely gst_nvmessage_is_stream_eos and gst_nvmessage_parse_stream_eos. They are used to check and read if any source in streammux sends eos message. I am unable to find the syntax for doing in python.
The Mutex lock part which we are using while changing state of any source.
Can someone let me know where I can find them?