examples: webrtc: Actually create the custom ICE agent

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5568>
This commit is contained in:
Jeff Wilson 2023-10-27 22:45:53 +00:00 committed by GStreamer Marge Bot
parent 2f115847c2
commit 5c8fff0807

View file

@ -166,5 +166,5 @@ customice_agent_init (CustomICEAgent * ice)
CustomICEAgent *
customice_agent_new (const gchar * name)
{
return g_object_new (GST_TYPE_WEBRTC_NICE, "name", name, NULL);
return g_object_new (CUSTOMICE_TYPE_AGENT, "name", name, NULL);
}