webrtc/datachannel: fix support for prenegotiated channels
authorMatthew Waters <matthew@centricular.com>
Mon, 8 Oct 2018 15:38:14 +0000 (02:38 +1100)
committerMatthew Waters <matthew@centricular.com>
Mon, 8 Oct 2018 15:38:14 +0000 (02:38 +1100)
commit21bf3a35ac93b37b73e62842a32f3e6daeeeee1a
tree99a2d1fe951be5b079c70fb367864e88a5c1f895
parent7bf18ad258bfd81200197378dbedde125f813fad
webrtc/datachannel: fix support for prenegotiated channels

With prenegotiated channels, the data-channel protocol is not used and
instead the channel's negotiation is intended to be performed out of band in
some application-specific manner.

Comes with test!
ext/webrtc/webrtcdatachannel.c
tests/check/elements/webrtcbin.c