Pete Kelly
2017-07-03 18:23:34 UTC
Hi
I've been using avconv on the command line to stream (RECORD) local files
to an RTSP server that I am hosting.
Part of the RTSP spec involves an SDP being sent from the client (libav) to
the RTSP server to describe the audio that will be sent.
All works well, apart from the fact that I would like to record multiple
RTP streams to the RTSP server, which it looks like libav can deal with
according to the loop in the code here inserting multiple a=control lines:
https://github.com/libav/libav/blob/master/libavformat/sdp.c#L777
Does anyone know how I can specify multiple streams on the command line?
I've tried with libav 9.2 (possibly too old) however no matter how many
input streams I specify there is only ever a single stream in the SDP
generated by avconv.
Many thanks for any advice or pointers.
Pete
I've been using avconv on the command line to stream (RECORD) local files
to an RTSP server that I am hosting.
Part of the RTSP spec involves an SDP being sent from the client (libav) to
the RTSP server to describe the audio that will be sent.
All works well, apart from the fact that I would like to record multiple
RTP streams to the RTSP server, which it looks like libav can deal with
according to the loop in the code here inserting multiple a=control lines:
https://github.com/libav/libav/blob/master/libavformat/sdp.c#L777
Does anyone know how I can specify multiple streams on the command line?
I've tried with libav 9.2 (possibly too old) however no matter how many
input streams I specify there is only ever a single stream in the SDP
generated by avconv.
Many thanks for any advice or pointers.
Pete