diff --git a/clientconn.go b/clientconn.go index e3c84b00..dbcad03f 100644 --- a/clientconn.go +++ b/clientconn.go @@ -245,6 +245,11 @@ func (cc *ClientConn) Tracks() Tracks { return ret } +// RTPInfo returns the RTP-Info header sent by the server in the PLAY response. +func (cc *ClientConn) RTPInfo() *headers.RTPInfo { + return cc.rtpInfo +} + func (cc *ClientConn) run() { defer close(cc.done)