Fork me on GitHub
Data Fields
janus_recorder Struct Reference

Structure that represents a recorder. More...

#include <record.h>

Collaboration diagram for janus_recorder:
Collaboration graph
[legend]

Data Fields

char * dir
 Absolute path to the directory where the recorder file is stored. More...
 
char * filename
 Filename of this recorder file. More...
 
FILE * file
 Recording file. More...
 
char * codec
 Codec the packets to record are encoded in ("vp8", "vp9", "h264", "opus", "pcma", "pcmu", "g722") More...
 
char * fmtp
 Codec-specific info (e.g., H.264 or VP9 profile) More...
 
gint64 created
 When the recording file has been created and started. More...
 
gint64 started
 
janus_recorder_medium type
 Media this instance is recording. More...
 
volatile int header
 Whether the info header for this recorder instance has already been written or not. More...
 
volatile int writable
 Whether this recorder instance can be used for writing or not. More...
 
janus_mutex mutex
 Mutex to lock/unlock this recorder instance. More...
 
volatile gint destroyed
 Atomic flag to check if this instance has been destroyed. More...
 
janus_refcount ref
 Reference counter for this instance. More...
 

Detailed Description

Structure that represents a recorder.

Field Documentation

char* janus_recorder::codec

Codec the packets to record are encoded in ("vp8", "vp9", "h264", "opus", "pcma", "pcmu", "g722")

gint64 janus_recorder::created

When the recording file has been created and started.

volatile gint janus_recorder::destroyed

Atomic flag to check if this instance has been destroyed.

char* janus_recorder::dir

Absolute path to the directory where the recorder file is stored.

FILE* janus_recorder::file

Recording file.

char* janus_recorder::filename

Filename of this recorder file.

char* janus_recorder::fmtp

Codec-specific info (e.g., H.264 or VP9 profile)

volatile int janus_recorder::header

Whether the info header for this recorder instance has already been written or not.

janus_mutex janus_recorder::mutex

Mutex to lock/unlock this recorder instance.

janus_refcount janus_recorder::ref

Reference counter for this instance.

gint64 janus_recorder::started
janus_recorder_medium janus_recorder::type

Media this instance is recording.

volatile int janus_recorder::writable

Whether this recorder instance can be used for writing or not.


The documentation for this struct was generated from the following file: