webrtc-sdp icon indicating copy to clipboard operation
webrtc-sdp copied to clipboard

Add Support for RTSP attributes (a=contorl, a=range)

Open mateuszkj opened this issue 6 years ago • 3 comments

https://tools.ietf.org/html/rfc7826#section-22.15

mateuszkj avatar Aug 26 '19 10:08 mateuszkj

@mateuszkj thanks for the patch! Could you comment on your use case for this library to give us some context for the patch?

na-g avatar Sep 04 '19 22:09 na-g

@na-g I had to write RTSP proxy with audio permissions. User without audio permission would receive SDP without audio codec (so VLC will play only video without audio).

I parsing SDP and then formatting (with or without audio codec), but original webrtc-sdp would drop attributes a=control and a=range witch are required by RTSP.

In Summary, my patch prevents webrtc-sdp from dropping these attributes while paring/formatting and also I can access value of these attributes.

mateuszkj avatar Sep 18 '19 17:09 mateuszkj

Our library supports rtsp to fetch the stream, and then transfer it to webrtc for playback, right? Didn't see how to configure it? I use it for security/surveillance.

xuguangyuansh avatar Oct 25 '21 07:10 xuguangyuansh