-
I am writing an application that uses GStreamer to intermittently stream video from an RTSP camera to KVS. Something I have not been able to figure out is the "correct" way of doing this. I have tried terminating and re-creating the GStreamer pipeline that ends in This has seemed to work well more or less, although I am seeing the following log which has me concerned:
I am using Something else I noticed is that the I've also found that when I try to dynamically change the Apologies if this is answered elsewhere and thank you for taking the time to read and respond! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I have now seen some additional logging when waiting longer than 10 minutes between streams.
I can see that status code 599 means SERVICE_CALL_NETWORK_CONNECTION_TIMEOUT. Eventually (after multiple retries) it seems like a new uploadHandle is created and the stream starts properly. Will changing the |
Beta Was this translation helpful? Give feedback.
-
@pwolfe1 , Intermittent producer does apply to kvssink. As far as The sink does not specifically listen on PAUSED and react right now, if say the data stops coming in or an EOS is detected, we end up stopping the pipeline and that is why you see this issue. So tearing down and starting is the way to go. About upload stream handle, it is expected to increase when the credentials are refreshed which happens or certain errors occur. So it is expected. |
Beta Was this translation helpful? Give feedback.
@pwolfe1 ,
Intermittent producer does apply to kvssink. As far as
0x5200052
error goes, we fixed it in our recent commits in the develop branch and will be included in the next release.The sink does not specifically listen on PAUSED and react right now, if say the data stops coming in or an EOS is detected, we end up stopping the pipeline and that is why you see this issue. So tearing down and starting is the way to go.
About upload stream handle, it is expected to increase when the credentials are refreshed which happens or certain errors occur. So it is expected.