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"
Post-processing to generate .opus files.
- Author
- Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om
- Copyright
- GNU General Public License v3
Implementation of the post-processing code (based on libogg) needed to generate .opus files out of Opus RTP frames.
Recordings post-processing utility
void janus_pp_opus_close |
( |
void |
| ) |
|
int janus_pp_opus_create |
( |
char * |
destination, |
|
|
char * |
metadata |
|
) |
| |
void le16 |
( |
unsigned char * |
p, |
|
|
int |
v |
|
) |
| |
void le32 |
( |
unsigned char * |
p, |
|
|
int |
v |
|
) |
| |
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 | ) |
|
ogg_stream_state* stream = NULL |