mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 14:52:46 +08:00
client: add RTPInfo()
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user