webrtcsink: bring in signalling code from whipsink as a signaller
Compare changes
Files
8- Mathieu Duponchelle authored
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
Took a crack at implementing a whip signaller for webrtcsink, using largely unmodified code from whipsink. This can't deprecate whipsink altogether yet because webrtcsink doesn't support encoded input streams yet (though I heard @thiblahute was working on that :)), but can still be useful regardless.
I tested against https://github.com/meetecho/simple-whip-server/, seems to work as expected :)
Example usage:
gst-launch-1.0 -e uridecodebin uri=file:///home/meh/Videos/spring-blender.mkv ! videoconvert ! whipwebrtcsink name=ws signaller::whip-endpoint="http://127.0.0.1:7080/whip/endpoint/room1234"
assuming an endpoint is available at this address ofc.
cc @tkanakamalla @arun :)