mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
client: add RTPInfo()
This commit is contained in:
@@ -245,6 +245,11 @@ func (cc *ClientConn) Tracks() Tracks {
|
|||||||
return ret
|
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() {
|
func (cc *ClientConn) run() {
|
||||||
defer close(cc.done)
|
defer close(cc.done)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user