No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

proxy_common.h 630B

123456789101112131415161718192021
  1. /* tsiproxy stream proxy */
  2. #ifndef PROXY_COMMON_H
  3. # define PROXY_COMMON_H
  4. #include "data.h"
  5. void process_client(int clientsock, CLIENT *client);
  6. void proxy_begin_reconnect(RESTREAMER *r);
  7. void proxy_close(RESTREAMER *r, int error_code);
  8. int connect_source(RESTREAMER *r, int retries, int readbuflen, int *http_code);
  9. void process_new_clients(RESTREAMER *r, int bufsz, uint32_t start_pts, unsigned int pos);
  10. int shout(RESTREAMER *r, char *buf, const size_t bufsz, const size_t framelen, unsigned int pos, const char *content_type, char *header, unsigned int header_len);
  11. int check_restreamer_state(RESTREAMER *r);
  12. #endif