[vlc-commits] [Git][videolan/vlc][3.0.x] access: live555: Adapt to 2020.12.11+ API changes

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Wed Jul 20 13:17:05 UTC 2022



Hugo Beauzée-Luyssen pushed to branch 3.0.x at VideoLAN / VLC


Commits:
05445b74 by Johannes Kauffmann at 2022-07-20T13:00:33+00:00
access: live555: Adapt to 2020.12.11+ API changes

Since live555 2020.12.11, the API has changed. This should fix builds
with the latest version while still allowing contribs to pass.

Ref !1897.
Fixes #25473.

Co-authored-by: Dominic Mayers <dominic.mayers at meditationstudies.org>
Co-authored-by: Pei Jia <jiapei at longervision.com>
(cherry picked from commit 70fedf2523a3ae5b3c41234f0bf37cd6e57e01a6)

- - - - -


1 changed file:

- modules/access/live555.cpp


Changes:

=====================================
modules/access/live555.cpp
=====================================
@@ -853,7 +853,13 @@ static int SessionsSetup( demux_t *p_demux )
             if( !p_sys->b_multicast )
             {
                 /* We need different rollover behaviour for multicast */
-                p_sys->b_multicast = IsMulticastAddress( sub->connectionEndpointAddress() );
+#if LIVEMEDIA_LIBRARY_VERSION_INT <= 1607558400 // 2020.12.10
+                netAddressBits addr = sub->connectionEndpointAddress();
+#else
+                struct sockaddr_storage addr;
+                sub->getConnectionEndpointAddress(addr);
+#endif
+                p_sys->b_multicast = IsMulticastAddress( addr );
             }
 
             tk = (live_track_t*)malloc( sizeof( live_track_t ) );



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/05445b74a38d045cb28f71f96ccbe882445a031e

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/05445b74a38d045cb28f71f96ccbe882445a031e
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list