Draft: net/webrtc/janusvr: add new source element
This Merge Request is not complete, but covers mostly what it's needed to make the Janus Video Room signaller support a source element too.
Example of usage:
# it may not work as I've experienced a few bugs myself
$ gst-launch-1.0 janusvrwebrtcsrc signaller::room-id=1234 signaller::display-name=banana webrtcsrc::uri=ws://127.0.0.1:8188 ! videoconvert !
autovideosink
What changed:
- New
role
property for each plugin, producer (sink
) and consumer (src
);-
handle_reply
becamehandle_reply_producer
, and the new one handles the consumer path;
-
-
janus-endpoint
property becameuri
; -
handle_id
got split in two. One for the publisher (sink
), and the other for the consumer (src
);- The
sink
uses only theproducer_handle
; - The
src
uses both, one to subscribe to SDPs in the room, the other to join the room.
- The