Skip to content

Commit

Permalink
MT#61263 add missing log context
Browse files Browse the repository at this point in the history
Explicitly set log context to the outgoing socket when sending packets

Change-Id: Iae17951654b09b3c48de724aeded70cdb6ce7a40
(cherry picked from commit b8468ec)
  • Loading branch information
rfuchs committed Oct 17, 2024
1 parent 8ddc11b commit 949c26d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions daemon/media_player.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ static bool __send_timer_send_1(struct rtp_header *rh, struct packet_stream *sin
}

static void __send_timer_send_common(struct send_timer *st, struct codec_packet *cp) {
log_info_stream_fd(st->sink->selected_sfd);

if (!__send_timer_send_1(cp->rtp, st->sink, cp))
goto out;

Expand All @@ -352,6 +354,7 @@ static void __send_timer_send_common(struct send_timer *st, struct codec_packet

out:
codec_packet_free(cp);
log_info_pop();
}

static void send_timer_send_lock(struct send_timer *st, struct codec_packet *cp) {
Expand Down

0 comments on commit 949c26d

Please sign in to comment.