-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling asynchronous sources #42
Comments
I just noticed that I have a standalone C++ application/ROS node that runs a customized GStreamer pipeline which is essentially the sender pipeline mentioned above. Now with |
The default build for gst-bridge is release with debug info Exposing ROS nodes from within the pipeline was one of the main design goals of gst-bridge, that way I can shim ROS compatibility into any program that supports a gstreamer pipeline. It think the problem you're having is probably more about encoder and decoder state; Running resilient compressed video piplines is really tricky. I use a pipeline like this one on a raspi zero that recovers from basically everything:
The It could also be an input latency problem, gstreamer tries very hard to run a pipeline with properly synchronised streams; this means that if a packet arrives with a timestamp from the recent past, gstreamer will drop it, you can sometimes use I'd check the encoder state using I'm interested to hear your findings. |
Hi @BrettRD
I believe this issue may be related to #33 but I'm still creating a new Issue as the scenario is slightly different:
I'm trying to stream ROS topics over the network with a sender pipeline like so:
rosimagesrc --> videoencode --> rtp --> udpsink
. My receiver is the reverse:udpsrc --> rtp --> videodecode --> appsink
. Now, the issue that I face is that sometimes when the input to the sender side stops and is restarted, the sender pipeline does not push the traffic to the UDP port.I'm looking to build a debug version of ros-gst-bridge so I can put breakpoints and trace the execution path. Its tricky because of the GStreamer MainLoop as well as ROS threads interacting with each other...any suggestions would be much appreciated!
The text was updated successfully, but these errors were encountered: