If it is possible to transfer non-media data with rtp?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

If it is possible to transfer non-media data with rtp?

Ugly Face
I have a data source generating non-media data and want to transfer it with no delay, I don't know if I can transfer these non-media data with gstreamer? Need I custom new element?


Say, the data is point user touch on screen, I want to display one user's touch on another user's screen with no delay.

Any help will be appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: If it is possible to transfer non-media data with rtp?

saepia
Maybe for such purpose, you can send plain UDP frames, even without GStreamer? GLib/GIO has nice bindings for that, all code should fit on one screen.

Obviously you can do this via GStreamer (udpsrc/udpsink will accept anything you drop into it) or via RTP (but then you have to write payloader/depayloader).

If it's really about X/Y of the mouse cursor and you can safely assume that UDP frames will arrive to the receiver (but it's an issue to consider also with RTP) I would have used plain UDP.

m.


2016-04-21 18:53 GMT-07:00 Ugly Face <[hidden email]>:
I have a data source generating non-media data and want to transfer it with
no delay, I don't know if I can transfer these non-media data with
gstreamer? Need I custom new element?


Say, the data is point user touch on screen, I want to display one user's
touch on another user's screen with no delay.

Any help will be appreciated.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/If-it-is-possible-to-transfer-non-media-data-with-rtp-tp4677051.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: If it is possible to transfer non-media data with rtp?

Tim Müller
In reply to this post by Ugly Face
On Thu, 2016-04-21 at 18:53 -0700, Ugly Face wrote:

Hi,

> I have a data source generating non-media data and want to transfer
> it with no delay, I don't know if I can transfer these non-media data
> with gstreamer? Need I custom new element?
>
> Say, the data is point user touch on screen, I want to display one
> user's touch on another user's screen with no delay.

If you want to send this as a separate stream, you could send it as KLV
metadata, GStreamer has RTP payloaders and depayloaders for KLV.

 Cheers
  -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel