gstreamer/ext/webrtc
Matthew Waters 80ede09193 webrtcbin: only start gathering on local descriptions
If we are in a state where we are answering, we would start gathering
when the offer is set which is incorrect for at least two reasons.

1. Sending ICE candidates before sending an answer is a hard error in
   all of the major browsers and will fail the negotiation.
2. If libnice ever adds the username fragment to the candidate for
   ice-restart hardening, the ice username and fragment would be
   incorrect.

JSEP also hints that the right call flow is to only start gathering when
a local description is set in 4.1.9 setLocalDescription

"This API indirectly controls the candidate gathering process."

as well as hints throughout other sections.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1226>
2020-04-30 14:47:55 +00:00
..
fwd.h webrtcbin: add support for data channels based on SCTP 2018-09-21 19:45:12 +10:00
gstwebrtc.c webrtcbin: an element that handles the transport aspects of webrtc connections 2018-02-02 15:02:21 +11:00
gstwebrtcbin.c webrtcbin: only start gathering on local descriptions 2020-04-30 14:47:55 +00:00
gstwebrtcbin.h webrtcbin: Use GPtrArrays or store items inline instead of using GArrays of pointers 2020-03-09 21:38:42 +02:00
gstwebrtcice.c Don't pass default GLib marshallers for signals 2019-11-06 14:27:46 +00:00
gstwebrtcice.h webrtcbin: New add-turn-server API 2018-09-19 16:17:24 +02:00
gstwebrtcstats.c webrtc/stats: redo considering internal sources 2019-09-12 01:06:41 +00:00
gstwebrtcstats.h webrtcbin: an element that handles the transport aspects of webrtc connections 2018-02-02 15:02:21 +11:00
icestream.c webrtc: Update for g_type_class_add_private() deprecation in recent GLib 2018-06-24 00:17:26 +02:00
icestream.h webrtcbin: an element that handles the transport aspects of webrtc connections 2018-02-02 15:02:21 +11:00
meson.build docs: Build documentation with hotdoc 2019-05-13 17:00:00 -04:00
nicetransport.c webrtc: Use the dtlssrtenc rtp-sync property 2020-02-27 12:30:32 +00:00
nicetransport.h webrtcbin: an element that handles the transport aspects of webrtc connections 2018-02-02 15:02:21 +11:00
sctptransport.c Don't pass default GLib marshallers for signals 2019-11-06 14:27:46 +00:00
sctptransport.h webrtcbin: Add a blocking pad probe for the receivebin -> sctpdec connection 2020-02-11 00:49:51 +00:00
transportreceivebin.c webrtc: Remove RECEIVE_STATE_DROP from transportreceivebin 2020-03-04 10:15:19 +00:00
transportreceivebin.h webrtc: Remove RECEIVE_STATE_DROP from transportreceivebin 2020-03-04 10:15:19 +00:00
transportsendbin.c webrtc: Configure transportsendbin latency internally 2020-02-21 13:42:05 +11:00
transportsendbin.h webrtc: Clean up and fix transportsendbin 2018-07-14 23:20:13 +10:00
transportstream.c webrtc: Initial support for stream addition/removal 2019-05-30 21:33:09 +10:00
transportstream.h webrtc: Unblock transportreceivebin for send-only bundled streams 2020-03-04 10:15:19 +00:00
utils.c webrtcbin: Don't assert if an SDP media can't be converted to caps 2019-07-08 07:18:41 +00:00
utils.h webrtcbin: use the latest self-generated SDP as the basis for renegotiations 2019-07-03 23:44:15 +00:00
webrtcdatachannel.c webrtc: Unmap all non-binary buffers received via the datachannel 2020-01-07 21:15:20 +00:00
webrtcdatachannel.h webrtc: Correct symbol visibility to fix build warning on Windows 2020-04-30 10:27:47 +00:00
webrtcsdp.c documentation: fixed a heap o' typos 2019-11-05 09:11:25 -05:00
webrtcsdp.h webrtc: Initial support for stream addition/removal 2019-05-30 21:33:09 +10:00
webrtctransceiver.c rtptransceiver: Remove direction setter and vfunc and replace it by a property 2019-08-06 12:22:21 +00:00
webrtctransceiver.h webrtc: Initial support for stream addition/removal 2019-05-30 21:33:09 +10:00