Post-processing to generate binary files out of binary data recordings. More...
#include <arpa/inet.h>
#include <endian.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include "pp-binary.h"
#include "../debug.h"
Functions | |
int | janus_pp_binary_create (char *destination, char *metadata) |
int | janus_pp_binary_process (FILE *file, janus_pp_frame_packet *list, int *working) |
void | janus_pp_binary_close (void) |
Variables | |
FILE * | binary_file = NULL |
Post-processing to generate binary files out of binary data recordings.
Implementation of the post-processing code needed to generate binary files out of binary data recordings: more precisely, the code simply extracts the data from the packets and appends it to the provided file exactly as it is, with no header/footer.
void janus_pp_binary_close | ( | void | ) |
int janus_pp_binary_create | ( | char * | destination, |
char * | metadata ) |
int janus_pp_binary_process | ( | FILE * | file, |
janus_pp_frame_packet * | list, | ||
int * | working ) |
FILE* binary_file = NULL |