mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
sendrecv: Rename function for greater clarity
This commit is contained in:
parent
96e4f39fd8
commit
569aff43f9
1 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@ send_sdp_offer (GstWebRTCSessionDescription * offer)
|
||||||
|
|
||||||
/* Offer created by our pipeline, to be sent to the peer */
|
/* Offer created by our pipeline, to be sent to the peer */
|
||||||
static void
|
static void
|
||||||
on_offer_received (GstPromise * promise, gpointer user_data)
|
on_offer_created (GstPromise * promise, gpointer user_data)
|
||||||
{
|
{
|
||||||
GstWebRTCSessionDescription *offer = NULL;
|
GstWebRTCSessionDescription *offer = NULL;
|
||||||
gchar *desc;
|
gchar *desc;
|
||||||
|
@ -245,7 +245,7 @@ on_negotiation_needed (GstElement * element, gpointer user_data)
|
||||||
|
|
||||||
app_state = PEER_CALL_NEGOTIATING;
|
app_state = PEER_CALL_NEGOTIATING;
|
||||||
g_signal_emit_by_name (webrtc1, "create-offer", NULL, promise);
|
g_signal_emit_by_name (webrtc1, "create-offer", NULL, promise);
|
||||||
gst_promise_set_change_callback (promise, on_offer_received, user_data,
|
gst_promise_set_change_callback (promise, on_offer_created, user_data,
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue