[FFmpeg-devel] [PATCH 1/2] libavformat/rtsp: Make source specific multicast work for rtsp streams
Rashad Tatum
tatum.rashad at gmail.com
Mon Feb 17 17:43:28 EET 2025
I'm not sure how this happened. I'll check my Thunderbird settings. For
now, I have attached the patches.
On Mon, Feb 17, 2025 at 3:46 AM Michael Niedermayer <michael at niedermayer.cc>
wrote:
> On Fri, Feb 14, 2025 at 12:08:24PM -0500, Rashad Tatum wrote:
> > by first changing the RTSPSource to track the destination address
> > obtained from the source filter. For each RTSPStream, only add the source
> > filter from the sdp if sdp_ip string matches source-filter's destination
> > address.
> >
> > Before issuing the setup request, change the lower_transport to
> > multicast if the sdp_ip is a multicast address.
> >
> > Change the multicast case to append sources (from the source-filter) to
> > the rtp url to make the source specific multicast join work.
> >
> > Signed-off-by: Rashad Tatum <tatum.rashad at gmail.com>
> > ---
> > libavformat/rtsp.c | 88 +++++++++++++++++++++++++++++++---------------
> > libavformat/rtsp.h | 3 +-
> > 2 files changed, 62 insertions(+), 29 deletions(-)
> >
> > diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
> > index 5ea471b40c..0c65f8d1a4 100644
> > --- a/libavformat/rtsp.c
> > +++ b/libavformat/rtsp.c
> > @@ -389,16 +389,18 @@ typedef struct SDPParseState {
> > } SDPParseState;
> > static void copy_default_source_addrs(struct RTSPSource **addrs, int
> > count,
> > - struct RTSPSource ***dest, int
> > *dest_count)
> > + struct RTSPSource ***dest, int
> > *dest_count, const char* sdp_ip_str)
>
> Applying: libavformat/rtsp: Make source specific multicast work for rtsp
> streams
> error: patch fragment without header at line 41: @@ -448,6 +450,8 @@
> static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
> error: could not build fake ancestor
> Patch failed at 0001 libavformat/rtsp: Make source specific multicast work
> for rtsp streams
>
> This patch is corrupted by line breaks
> Check your editors line/word wraping settings
> OR
> attach the patch
> OR
> use git send-email
>
> thx
>
> [...]
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Many things microsoft did are stupid, but not doing something just because
> microsoft did it is even more stupid. If everything ms did were stupid they
> would be bankrupt already.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavformat-rtsp-Make-source-specific-multicast-work.patch
Type: text/x-patch
Size: 9568 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250217/a835ed77/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavformat-rtsp-Free-memory-allocated-for-temporary.patch
Type: text/x-patch
Size: 1046 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250217/a835ed77/attachment-0001.bin>
More information about the ffmpeg-devel
mailing list