sendrecv: Add a switch for remote-offerer
authorJan Schmidt <jan@centricular.com>
Wed, 4 Mar 2020 16:03:17 +0000 (03:03 +1100)
committerJan Schmidt <jan@centricular.com>
Wed, 4 Mar 2020 16:03:17 +0000 (03:03 +1100)
commit5bf67feae8f4755862e571674ce0c8cf78d9b45b
tree43b8dd9b61334e1e77a02989fb85f6a528374cc5
parentc8e79c9671a627e12a299adcf2beb19d28c71344
sendrecv: Add a switch for remote-offerer

Add a switch to the command line utility that makes it request
the initial offer from the peer instead of generating it.

Modify the webrtc.js example to support a new REQUEST_OFFER
message, and generate the offer when receiving it.
webrtc/sendrecv/gst/webrtc-sendrecv.c
webrtc/sendrecv/js/webrtc.js