gortsplib
gortsplib copied to clipboard
ServerSession: need access to SSRC for RTCP feedbacks
I'd like to use RTCP feedbacks such as PLI or NACK defined in rfc4585. Although we can send arbitrary RTCP packets via ServerSession.WriteFrame() to the client, currently there's no way to set up correct SSRC for custom RTCP packets, since SSRC used by RR is hidden.
So I want either of the following:
- Provide a way to pass user-genrated SSRC to the ServerSession/RTCPReceiver on ANNOUNCE.
- Make SSRC generated by RTCPReceiver visible to the user.
This can of course be implemented, but i'm waiting to evaluate the performance of switching to pion's interceptor (#22) - if the switch is done, NACK implementation will be provided directly by pion.