Skip to content

Commit

Permalink
Reworked the RTSP server parser to enable better compatibility with F…
Browse files Browse the repository at this point in the history
…Fmpeg and Live555
  • Loading branch information
wberube committed Oct 24, 2024
1 parent bb9227d commit 8acb908
Show file tree
Hide file tree
Showing 5 changed files with 136 additions and 230 deletions.
2 changes: 1 addition & 1 deletion src/lib/tinysvcmdns.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void warn(const char * format, ...)
va_end(vargs);
}

#ifdef DEBUG
#ifdef DEBUG_MDNS
#define DEBUG_PRINTF(...) debug(3, __VA_ARGS__)
#else
#define DEBUG_PRINTF(...) ((void)0)
Expand Down
2 changes: 1 addition & 1 deletion src/media.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void *aenc_thread(void) {
int save_audio_stream(hal_audframe *frame) {
int ret = EXIT_SUCCESS;

#ifdef DEBUG
#ifdef DEBUG_AUDIO
printf("[audio] data:%p - %02x %02x %02x %02x %02x %02x %02x %02x\n",
frame->data, frame->data[0][0], frame->data[0][1], frame->data[0][2], frame->data[0][3],
frame->data[0][4], frame->data[0][5], frame->data[0][6], frame->data[0][7]);
Expand Down
Loading

0 comments on commit 8acb908

Please sign in to comment.