#include "webrtc.h"
#include "webrtc_private.h"
-//LCOV_EXCL_START
static void __data_channel_on_open_cb(GObject *data_channel, gpointer user_data)
{
webrtc_data_channel_s *channel = (webrtc_data_channel_s *)user_data;
}
}
+//LCOV_EXCL_START
static void __data_channel_on_error_cb(GObject *data_channel, GError *error, gpointer user_data)
{
webrtc_data_channel_s *channel = (webrtc_data_channel_s *)user_data;
LOG_DEBUG("<<< end of the callback");
}
}
+//LCOV_EXCL_STOP
static void __invoke_data_channel_cb(webrtc_s *webrtc, webrtc_data_channel_s *channel)
{
}
}
+//LCOV_EXCL_START
static void __data_channel_on_buffered_amount_low_cb(GObject *data_channel, gpointer user_data)
{
webrtc_data_channel_s *channel = (webrtc_data_channel_s *)user_data;
LOG_DEBUG("<<< end of the callback");
}
}
+//LCOV_EXCL_STOP
void _webrtcbin_on_data_channel_cb(GstElement *webrtcbin, GObject *data_channel, gpointer user_data)
{
__invoke_data_channel_cb(webrtc, channel);
}
-//LCOV_EXCL_STOP
int _create_data_channel(webrtc_s *webrtc, const char *label, bundle *options, webrtc_data_channel_s **channel)
{