rtp_stream: Use the log topic of the module

Set log topic to the topic of the module linked with stream instead of
logging with "default" topic.
This commit is contained in:
Jonas Holmberg 2024-04-16 10:21:40 +02:00 committed by Wim Taymans
parent 24478b9128
commit 09088b376f
5 changed files with 7 additions and 4 deletions

View file

@ -126,7 +126,7 @@
#define NAME "rtp-session"
PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
PW_LOG_TOPIC(mod_topic, "mod." NAME);
#define PW_LOG_TOPIC_DEFAULT mod_topic
#define DEFAULT_CONTROL_IP "0.0.0.0"