Skip to content
Snippets Groups Projects
Verified Commit b439e1fa authored by Nicolas Werner's avatar Nicolas Werner
Browse files
parent c0b2e8f9
No related branches found
No related tags found
No related merge requests found
Pipeline #2127 passed
......@@ -996,7 +996,8 @@ WebRTCSession::addVideoPipeline(int vp8PayloadType)
g_signal_emit_by_name(webrtcbin, "get-transceivers", &transceivers);
GstWebRTCRTPTransceiver *transceiver =
g_array_index(transceivers, GstWebRTCRTPTransceiver *, 1);
transceiver->direction = GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY;
g_object_set(
transceiver, "direction", GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY, nullptr);
g_array_unref(transceivers);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment