Revision c81c126e src/pstreamer.h

View differences:

src/pstreamer.h
24 24
#include<stdint.h>
25 25
#include<name_lengths.h>
26 26
#include<task_manager.h>
27
#include<janus_instance.h>
28
#include<streamer_creation_callback.h>
27 29

  
28 30
struct pstreamer;
29 31
struct pstreamer_manager;
32
struct janus_instance;
33
struct streamer_creation_callback;
30 34

  
31
struct pstreamer_manager * pstreamer_manager_new(uint16_t starting_port);
35
struct pstreamer_manager * pstreamer_manager_new(uint16_t starting_port, const struct janus_instance *janus);
32 36

  
33 37
void pstreamer_manager_destroy(struct pstreamer_manager ** psm);
34 38

  
35
const struct pstreamer * pstreamer_manager_create_streamer(struct pstreamer_manager * psm, const char * source_ip, const char * source_port, const char * id, const char * rtp_dst_ip);
39
const struct pstreamer * pstreamer_manager_create_streamer(struct pstreamer_manager * psm, const char * source_ip, const char * source_port, const char * id, const char * rtp_dst_ip, struct streamer_creation_callback * scc);
36 40

  
37 41
char * pstreamer_to_json(const struct pstreamer * ps);
38 42

  

Also available in: Unified diff