diff options
author | bbergeron <[email protected]> | 2024-04-03 17:32:01 -0400 |
---|---|---|
committer | bbergeron <[email protected]> | 2024-04-03 17:32:01 -0400 |
commit | c1cb78d574c0429aa5e3ff3a2b3886e4bc153212 (patch) | |
tree | bf68806bcbddcafafc015b28c25550ea457eeecc /HACKING |
Reset Git repo and use a pseudonym to sign commits
I used to sign my commits with my real name and my personal email
address, which I wanted scrubbed off the "B." pseudosphere. Re-creating
a new git repository was safer than simpler than re-writing the
history (although the latter could've also worked but, oh well).
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -0,0 +1,33 @@ +Hacking manual +============== +cybd is intended to be used and embedded into a greater software stack as part +of a more complete HLS distribution system. + +The easiest way to use cybd is through the provided daemon/client command-line. +Altough cybd is not a library per-say, it's nonetheless quite easy to import the +client, the daemon, or even the internal streamer object into another program +thanks to it's clean-cut architecture. + +The cybd layer (main.c, common.h) +--------------------------------- +cybd's main entry file, responsible of parsing commands arguments and dispatching +calls to the daemon layer. + +The daemon layer (daemon.c, daemon.h) +------------------------------------- +Code related to client/daemon communication via a unix domain socket, and code for +the daemon itself which handles IPC calls by forwarding them to the streamer +layer. + +The streamer layer (streamer.c/h, playlist.c/h, transmuxer.c/h) +--------------------------------------------------------------- +streamer.c/h - The 'brain' of the software, manage the song/media queue and stock +the FFMPEG muxer with new songs. + +playlist.c/h - Used by streamer.c. Implements a thread-safe, indexed circular +buffer. + +transmuxer.c/h - Used by streamer.c. Interface FFMPEG to implement muxing and +demuxing. + +Happy hacking! |