From: Jack Lau via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Jack Lau <jacklau1222gm@gmail.com>
Subject: [FFmpeg-devel] Re: [PATCH] avformat/whip: Drop invalid group:BUNDLE from SDP in single-stream cases
Date: Mon, 6 Oct 2025 19:33:16 +0800
Message-ID: <4EBADFE0-04EF-4DA8-8DB5-C5A48F443CE7@gmail.com> (raw)
In-Reply-To: <tencent_3DFA674C93DF4AFD8E07DFAF062C71F3E009@qq.com>
> On Oct 6, 2025, at 16:06, baigao via ffmpeg-devel <ffmpeg-devel@ffmpeg.org> wrote:
>
> ---
> libavformat/whip.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/libavformat/whip.c b/libavformat/whip.c
> index 472c6dbf16..6ace9240f9 100644
> --- a/libavformat/whip.c
> +++ b/libavformat/whip.c
> @@ -617,12 +617,14 @@ static int generate_sdp_offer(AVFormatContext *s)
> "o=FFmpeg %s 2 IN IP4 %s\r\n"
> "s=FFmpegPublishSession\r\n"
> "t=0 0\r\n"
> - "a=group:BUNDLE 0 1\r\n"
> "a=extmap-allow-mixed\r\n"
> "a=msid-semantic: WMS\r\n",
> WHIP_SDP_SESSION_ID,
> WHIP_SDP_CREATOR_IP);
>
> + if (whip->audio_par && whip->video_par)
> + av_bprintf(&bp, "a=group:BUNDLE 0 1\r\n");
> +
> if (whip->audio_par) {
> if (whip->audio_par->codec_id == AV_CODEC_ID_OPUS)
> acodec_name = "opus";
> --
> 2.51.0
>
> _______________________________________________
> ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
> To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
LGTM
Thanks!
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
next prev parent reply other threads:[~2025-10-06 11:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-06 8:06 [FFmpeg-devel] " baigao via ffmpeg-devel
2025-10-06 11:33 ` Jack Lau via ffmpeg-devel [this message]
2025-10-08 1:16 ` [FFmpeg-devel] " Jack Lau via ffmpeg-devel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EBADFE0-04EF-4DA8-8DB5-C5A48F443CE7@gmail.com \
--to=ffmpeg-devel@ffmpeg.org \
--cc=jacklau1222gm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ http://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git