Fork me on GitHub
Functions | Variables

Post-processing to generate .opus files. More...

#include <arpa/inet.h>
#include <endian.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include <ogg/ogg.h>
#include "pp-opus.h"
#include "pp-opus-silence.h"
#include "../debug.h"
#include "../version.h"
Include dependency graph for pp-opus.c:


void le32 (unsigned char *p, int v)
void le16 (unsigned char *p, int v)
ogg_packet * op_opushead (void)
ogg_packet * op_opustags (char *metadata)
ogg_packet * op_from_pkt (const unsigned char *pkt, int len)
void op_free (ogg_packet *op)
int ogg_write (void)
int ogg_flush (void)
int janus_pp_opus_create (char *destination, char *metadata)
int janus_pp_opus_process (FILE *file, janus_pp_frame_packet *list, int *working)
void janus_pp_opus_close (void)


FILE * ogg_file = NULL
ogg_stream_state * stream = NULL

Detailed Description

Post-processing to generate .opus files.

Lorenzo Miniero

Implementation of the post-processing code (based on libogg) needed to generate .opus files out of Opus RTP frames.

Recordings post-processing utility

Function Documentation

void janus_pp_opus_close ( void  )
int janus_pp_opus_create ( char *  destination,
char *  metadata 
int janus_pp_opus_process ( FILE *  file,
janus_pp_frame_packet list,
int *  working 
void le16 ( unsigned char *  p,
int  v 
void le32 ( unsigned char *  p,
int  v 
int ogg_flush ( void  )
int ogg_write ( void  )
void op_free ( ogg_packet *  op)
ogg_packet* op_from_pkt ( const unsigned char *  pkt,
int  len 
ogg_packet* op_opushead ( void  )
ogg_packet * op_opustags ( char *  metadata)

Variable Documentation

FILE* ogg_file = NULL
ogg_stream_state* stream = NULL