sendrecv/gst: Don't need to allocate to send OFFER_REQUEST
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/31>
This commit is contained in:
parent
767f46b1a0
commit
a508bc243d
@ -288,9 +288,7 @@ on_negotiation_needed (GstElement * element, gpointer user_data)
|
|||||||
app_state = PEER_CALL_NEGOTIATING;
|
app_state = PEER_CALL_NEGOTIATING;
|
||||||
|
|
||||||
if (remote_is_offerer || our_id) {
|
if (remote_is_offerer || our_id) {
|
||||||
gchar *msg = g_strdup_printf ("OFFER_REQUEST");
|
soup_websocket_connection_send_text (ws_conn, "OFFER_REQUEST");
|
||||||
soup_websocket_connection_send_text (ws_conn, msg);
|
|
||||||
g_free (msg);
|
|
||||||
} else {
|
} else {
|
||||||
GstPromise *promise;
|
GstPromise *promise;
|
||||||
promise =
|
promise =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user