From 949c26d5b4d792829b62cf6e50d2f81703be37d3 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 14 Oct 2024 10:10:37 -0400 Subject: [PATCH] MT#61263 add missing log context Explicitly set log context to the outgoing socket when sending packets Change-Id: Iae17951654b09b3c48de724aeded70cdb6ce7a40 (cherry picked from commit b8468ec0428d06c301b806f2939a909df069460d) --- daemon/media_player.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/media_player.c b/daemon/media_player.c index a6b745dc43..f176c93195 100644 --- a/daemon/media_player.c +++ b/daemon/media_player.c @@ -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; @@ -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) {