This patch allows the use of the streamid option when using the SRT
protocol. For example, we can query the URL
srt://localhost:9710?streamid=demo if a stream server is listening on
localhost:9710 that supports multiple streams on the same server. Like
the others already implemented, this parameter can be overwritten in the
settings of the transport.
In a future patch, it may be good to support the full options. The
complete list can be found here:
https://github.com/Haivision/srt/blob/master/docs/APISocketOptions.md#list-of-options
A human-friendly version of this list can be found in the ffmpeg
documentation: https://ffmpeg.org/ffmpeg-all.html#srt
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit a55c95a9cc)
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
The deprecated macro `SRTO_TSBPDDELAY` has been deleted from SRT.
This prevents the compilation with SRT versions >= v1.4.2.
See the corresponding SRT commit 0e2201aff6b379979cec43fee5e8f162717f6346.
```
- SRTO_TSBPDDELAY = 23, // DEPRECATED. ALIAS: SRTO_LATENCY
```
The (unrecommended) `SRTO_LATENCY` should be used instead, which was
already available back then. See notice next to SRTO_LATENCY in the SRT
library source code for details on why it's not recommended.
Signed-off-by: Alexandre Janniaux <ajanni@videolabs.io>
(edited message)
(cherry picked from commit 6e8d774311)
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Recent commits use defines like SRT_LIVE_DEF_PLSIZE, which are
only available starting with that srt version.
(cherry picked from commit 80b149ddf9) (edited)
edited:
* 3.0 was restricting to < 1.3.0
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
for latency, maximum bandwidth, etc.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit f98585725a) (edited)
edited:
* 4.0 used N_() on removed strings
* 3.0 needs advanced flag for add_password()
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
1. code can be shared between access/srt.c and access_output/srt.c
2. created a URL parser for SRT parameters stored in URL
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit 15dea8ecb8) (edited)
edited:
* access out was missing dummy.cpp on 3.0
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
libsrt input is asynchonously buffered internally and it makes sense to empty
those receive buffers as much as possible on every signaled receive event from
epoll. Doing so reduces context switching/re-scheduling and improves
performance.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit ca7b0fcc33) (rebased)
rebased:
* master has direct stream_sys_t typedef
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
It is possible to get an empty read from libsrt and it should not be treated as
EOF.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit 34048bef8e)
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
VLC doesn't use pkg-config --static but hacks the .pc files, so do
the same here. Also fix srt to produce valid pc files.
Signed-off-by: Konstantin Pavlov <thresh@videolan.org>
(cherry picked from commit dd597699c3)
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Almost the same as the previous one but squashing two patches which should have been and improving the inet_ntop() removing patch.
Skipping 1.3.0 as it was a bad version. Also removed all
custom patches are they don't seem to be required anymore, but
added new ones to make it build with MingW.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit e4e95613cc) (edited)
edited:
- don't force pthreadGC2 but pthread
- removed non-gnu detection
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
OpenJDK builds now exist for arm macOS, and both compilation and execution
of java blurays seem to work fine.
Closes#26023
(cherry picked from commit 25556bcb4e)
Fixes the "build" of meson that could randomly fail when no target
created the folder already.
(cherry picked from commit 1649e12158)
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
* The deleted patch was added in mingw-w64 v7.0.0
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
(cherry picked from commit d4948bc28e)
(cherry picked from commit 1d156f093d) (edited)
edited:
* pthreadGC2 had extra pacthes in 3.0 and different URL
* aom had different android patches and HOSTVARS placed differently
* mysofa is building with CMAKEBUILD
* DBUILD_SHARED_LIBS doesn't have set in 3.0
* upnp uses LIBUPNP_ECFLAGS on 3.0
* vpc uses VPX_HOSTVARS on 3.0
* zvbi has removed the macos hack already
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
(cherry picked from commit 6f20847b5d) (edited)
edited:
* aom has different android patches
* srt has extra fix-partial-availability patch
* upnp is using LIBUPNP_ECFLAGS on 3.0
* vpx is using VPX_HOSTVARS on 3.0
* zvbi has the pthreads dependency for all targets, already has ZVBI_CFLAGS and removed macos hack already
* srt doesn't have some gcc/pthread patches and had CMakeLists.txt-let-cmake-find-pthread patch
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>