Structure that represents a recorder. More...
#include <record.h>
Data Fields | |
char * | dir |
Absolute path to the directory where the recorder file is stored. | |
char * | filename |
Filename of this recorder file. | |
FILE * | file |
Recording file. | |
char * | codec |
Codec the packets to record are encoded in ("vp8", "vp9", "h264", "opus", "pcma", "pcmu", "g722") | |
char * | fmtp |
Codec-specific info (e.g., H.264 or VP9 profile) | |
GHashTable * | extensions |
List of RTP extensions (as a hashtable, indexed by ID) in this recording. | |
gint64 | created |
When the recording file has been created and started. | |
gint64 | started |
janus_recorder_medium | type |
Media this instance is recording. | |
int | opusred_pt |
In case RED is used for Opus, its payload types. | |
gboolean | encrypted |
Whether the recording contains end-to-end encrypted media or not. | |
volatile int | header |
Whether the info header for this recorder instance has already been written or not. | |
volatile int | writable |
Whether this recorder instance can be used for writing or not. | |
volatile int | paused |
Whether writing s/RTP packets/data is paused. | |
janus_rtp_switching_context | context |
RTP switching context for rewriting RTP headers. | |
janus_mutex | mutex |
Mutex to lock/unlock this recorder instance. | |
volatile gint | destroyed |
Atomic flag to check if this instance has been destroyed. | |
janus_refcount | ref |
Reference counter for this instance. | |
Structure that represents a recorder.
char* janus_recorder::codec |
Codec the packets to record are encoded in ("vp8", "vp9", "h264", "opus", "pcma", "pcmu", "g722")
janus_rtp_switching_context janus_recorder::context |
RTP switching context for rewriting RTP headers.
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.
gboolean janus_recorder::encrypted |
Whether the recording contains end-to-end encrypted media or not.
GHashTable* janus_recorder::extensions |
List of RTP extensions (as a hashtable, indexed by ID) in this recording.
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.
int janus_recorder::opusred_pt |
In case RED is used for Opus, its payload types.
volatile int janus_recorder::paused |
Whether writing s/RTP packets/data is paused.
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.