quambo
11/18/2022, 11:05 AMRachel
11/18/2022, 9:41 PMdiff --git src/whip-client.c src/whip-client.c
index 8369726..743a48e 100644
--- src/whip-client.c
+++ src/whip-client.c
@@ -403,6 +403,17 @@ static gboolean whip_initialize(void) {
i++;
}
}
+
+ GstWebRTCRTPTransceiver *trans;
+ GArray *transceivers;
+ g_signal_emit_by_name(pc, "get-transceivers", &transceivers);
+ g_assert(transceivers != NULL && transceivers->len > 0);
+ trans = g_array_index(transceivers, GstWebRTCRTPTransceiver *, 0);
+ g_object_set(trans, "direction", GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY, NULL);
+ trans = g_array_index(transceivers, GstWebRTCRTPTransceiver *, 1);
+ g_object_set(trans, "direction", GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY, NULL);
+ g_array_unref(transceivers);
+
/* Let's configure the function to be invoked when an SDP offer can be prepared */
g_signal_connect(pc, "on-negotiation-needed", G_CALLBACK(whip_negotiation_needed), NULL);
/* We need a different callback to be notified about candidates to trickle to Janus */
altryne
11/18/2022, 11:07 PMaltryne
11/18/2022, 11:10 PMaltryne
11/19/2022, 1:15 AMhuytran125
11/20/2022, 4:51 PMDemosJarco
11/21/2022, 12:12 AMRachel
11/21/2022, 12:32 AMhuytran125
11/21/2022, 3:17 AMRachel
11/21/2022, 3:39 AMRachel
11/21/2022, 3:43 AMhuytran125
11/21/2022, 3:47 AMhuytran125
11/21/2022, 3:49 AMRachel
11/21/2022, 4:44 PMGiggiux
11/22/2022, 7:36 PMDio
11/24/2022, 5:57 AMIsaac McFadyen | YYZ01
11/24/2022, 11:21 AMIsaac McFadyen | YYZ01
11/24/2022, 11:22 AM3v
11/24/2022, 4:25 PMtt2468
11/25/2022, 12:46 AMRemi_Gaillard
11/25/2022, 8:29 AMdaniel_klungo
11/25/2022, 8:30 AMdaniel_klungo
11/25/2022, 8:31 AMdaniel_klungo
11/25/2022, 8:38 AMmclovin
11/28/2022, 4:45 PMKyle_Cloudflare
11/28/2022, 10:03 PMdaniel_klungo
11/29/2022, 7:46 AMdaniel_klungo
11/29/2022, 7:46 AMdaniel_klungo
11/29/2022, 11:03 AMdaniel_klungo
11/29/2022, 11:05 AM