Commit f65436a1 authored by Olivier Crête's avatar Olivier Crête
Browse files

Print SDP answer

parent 2bb0f72e
......@@ -140,8 +140,11 @@ mss_http_server_handle_message (MssHttpServer *server,
msg_type = json_object_get_string_member (msg, "msg");
if (g_str_equal(msg_type, "answer")) {
const gchar *answer_sdp = json_object_get_string_member (msg, "sdp");
g_debug ("Received answer:\n %s", answer_sdp);
g_signal_emit (server, signals[SIGNAL_SDP_ANSWER], 0, connection,
json_object_get_string_member (msg, "sdp"));
} else if (g_str_equal(msg_type, "candidate")) {
JsonObject *candidate;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment