srt: add stream ID option
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 a55c95a9) Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
Showing
- modules/access/srt.c 18 additions, 0 deletionsmodules/access/srt.c
- modules/access/srt_common.c 4 additions, 0 deletionsmodules/access/srt_common.c
- modules/access/srt_common.h 2 additions, 0 deletionsmodules/access/srt_common.h
- modules/access_output/srt.c 18 additions, 0 deletionsmodules/access_output/srt.c
Please register or sign in to comment