Exemple #1
0
int igmp_init()
{
	multicast_init();
	if(-1==multicast_add()){
		DEBUG("igmp join failed\n");
		return -1;
	}
	return 0;
}
Exemple #2
0
int m_process_service_init()
{
    init_timer();
    my_read_conf();
    multicast_init();
	if (tm_load_dirty("./data/tm_dirty.dat") < 0) {
		BOOT_LOG(-1, " fail to laod dirty data");
	}
    return 0;
}
Exemple #3
0
static void
multicast_ssrc_init (struct SimpleTestStream *st, guint confid, guint streamid)
{
  guint ssrc;

  multicast_init (st, confid, streamid);

  g_object_get (st->target->session, "ssrc", &ssrc, NULL);
  fs_stream_add_id (st->stream, ssrc);
  g_signal_connect (st->target->session, "notify::ssrc",
      G_CALLBACK (add_ssrc_cb), st->stream);
}
Exemple #4
0
static void
multicast_cname_init (struct SimpleTestStream *st, guint confid, guint streamid)
{
  associate_cnames_init (st, confid, streamid);
  multicast_init (st, confid, streamid);
}