> On Oct 6, 2025, at 16:06, baigao via ffmpeg-devel <[email protected]> 
> 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 -- [email protected]
> To unsubscribe send an email to [email protected]

LGTM
Thanks!

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to