Hi!

I have a OpenGL application that I need to monitor from another
computer on the network. I tried using different VNC software but the
performance was very bad. Then I came up with the idea to use libav to
stream the output of the program (using glReadPixels) and use VLC to
connect to this stream.

I spent last day trying to get it to work without any success. I
couldn't find any code examples on how to set up RTP/UDP/or any kind
of streaming.

This is my code (Sorry, it's a bit ugly at the moment):

http://pastebin.com/7YkbGbDn (VideoEncoder.h)
http://pastebin.com/v60Q5cY4  (VideoEncoder.cc)

What happens right now when I connect to "rtp://127.0.0.1:5004" with
VLC is that I get the following error message:

"""
SDP required:
A description in SDP format is required to receive the RTP stream.
Note that rtp:// URIs cannot work with dynamic RTP payload format
(65).
"""

I would appreciate any kind of help or directions, thank you!

---
Daniel Henell
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to