Revision 507372bb tests/Broadcaster/source.c

View differences:

tests/Broadcaster/source.c
59 59
			fatal("Unable to start the HTTP receiver to http://%s:%d", 
60 60
					addr, port);
61 61
	} else fatal("Unable to parse stream specification %s", stream);
62
	grapesSchedulePeriodic(NULL, 1/60.0, periodicPublishSrcLag, NULL);
62
	napaSchedulePeriodic(NULL, 1/60.0, periodicPublishSrcLag, NULL);
63 63
}
64 64

  
65 65
struct source_stream {
......
196 196
		src->buffers[src->num_buffers] = malloc(MAX_PACKET_SIZE);
197 197
	src->atts_size = 0;
198 198

  
199
	grapesSchedulePeriodic(NULL, 1.0/chunk_duration, read_stream, src);
199
	napaSchedulePeriodic(NULL, 1.0/chunk_duration, read_stream, src);
200 200
}
201 201

  
202 202

  

Also available in: Unified diff