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
◆ janus_pp_opus_close()
void janus_pp_opus_close |
( |
void |
| ) |
|
◆ janus_pp_opus_create()
int janus_pp_opus_create |
( |
char * |
destination, |
|
|
char * |
metadata |
|
) |
| |
◆ janus_pp_opus_process()
◆ le16()
void le16 |
( |
unsigned char * |
p, |
|
|
int |
v |
|
) |
| |
◆ le32()
void le32 |
( |
unsigned char * |
p, |
|
|
int |
v |
|
) |
| |
◆ ogg_flush()
◆ ogg_write()
◆ op_free()
void op_free |
( |
ogg_packet * |
op | ) |
|
◆ op_from_pkt()
ogg_packet* op_from_pkt |
( |
const unsigned char * |
pkt, |
|
|
int |
len |
|
) |
| |
◆ op_opushead()
ogg_packet* op_opushead |
( |
void |
| ) |
|
◆ op_opustags()
ogg_packet * op_opustags |
( |
char * |
metadata | ) |
|
◆ ogg_file
◆ stream
ogg_stream_state* stream = NULL |