summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-09-10 14:29:25 -0400
committertrilene <trilene@runbox.com>2020-09-10 14:29:25 -0400
commit7d2844b2b0d3776e3c9e153122fc30861b9ea694 (patch)
tree02a812355d8e9cbf8ef8481d3cee54e48f19cd17 /src
parentLink GStreamer elements before syncing state (diff)
downloadnheko-7d2844b2b0d3776e3c9e153122fc30861b9ea694.tar.xz
Fix earlier commit when GStreamer < v1.17
Diffstat (limited to 'src')
-rw-r--r--src/WebRTCSession.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/WebRTCSession.cpp b/src/WebRTCSession.cpp

index f5dc49d8..96fd8f07 100644 --- a/src/WebRTCSession.cpp +++ b/src/WebRTCSession.cpp
@@ -233,6 +233,8 @@ addLocalICECandidate(GstElement *webrtc G_GNUC_UNUSED, return; } + localcandidates_.push_back({"audio", (uint16_t)mlineIndex, candidate}); + // GStreamer v1.16: webrtcbin's notify::ice-gathering-state triggers // GST_WEBRTC_ICE_GATHERING_STATE_COMPLETE too early. Fixed in v1.17. // Use a 100ms timeout in the meantime