From 4067b3a985e4048738f360e7da013e940257ffed Mon Sep 17 00:00:00 2001 From: Christian Glombek Date: Thu, 27 Jun 2024 05:55:25 +0200 Subject: [PATCH] module-rtp/stream: Fix setting marker_on_first prop for RAOP --- src/modules/module-rtp/stream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/module-rtp/stream.c b/src/modules/module-rtp/stream.c index 30664b830..e4b094b54 100644 --- a/src/modules/module-rtp/stream.c +++ b/src/modules/module-rtp/stream.c @@ -344,7 +344,6 @@ struct rtp_stream *rtp_stream_new(struct pw_core *core, impl->info.media_type = SPA_MEDIA_TYPE_audio; impl->info.media_subtype = SPA_MEDIA_SUBTYPE_raw; impl->payload = 0x60; - impl->marker_on_first = 1; } else if (spa_streq(str, "midi")) { impl->info.media_type = SPA_MEDIA_TYPE_application; @@ -424,6 +423,8 @@ struct rtp_stream *rtp_stream_new(struct pw_core *core, pw_properties_set(props, PW_KEY_NODE_NETWORK, "true"); impl->marker_on_first = pw_properties_get_bool(props, "sess.marker-on-first", false); + if (spa_streq(str, "raop")) + impl->marker_on_first = 1; impl->ignore_ssrc = pw_properties_get_bool(props, "sess.ignore-ssrc", false); impl->direct_timestamp = pw_properties_get_bool(props, "sess.ts-direct", false);