Commit graph

5 commits

Author SHA1 Message Date
Daniel Vilar
d3ba5efff8 Port to new glib subclassing API #13 2018-12-11 17:47:03 +01:00
Daniel Vilar
678c5876de Improved timestamps calculation
Due to the possibility to connect to two or more streams simultaneously with different clocks synchronization It's necessary to improve the timestamps calculation to detect this.

Prior to this commit, we saved the first timestamp that arrive and use it to calculate the running time of the stream for the rest of frames (pts field in gstreamer buffer) in all of the streams. This lead to problems when connecting to multiple streams in multiple computers and the clocks were not correctly synchronized.

To fix this, now we save a different initial timestamp for each stream.
2018-12-10 13:27:23 +01:00
rubenrua
cb1ea2195f Fix rust fmt 2018-09-25 16:04:00 +02:00
Sebastian Dröge
a8c9d78bff Compare element factory names to distinguish video source from audio source
We could also go via the glib::Type but that requires more steps unless
we also add a getter from the registered type to the audio/video source
modules.
2018-09-25 13:37:59 +03:00
Daniel Vilar
440a353f93 Publish code in Github 2018-09-18 13:39:34 +02:00
Renamed from gst-plugin-ndi/src/lib.rs (Browse further)