mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
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
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue