mirror of https://bitbucket.org/ausocean/av.git
bc6a0ae55e
Now adopting an RTCP client so that the RTP stream from the RTSP server can be maintained past 1 minute. This change involved some refactor. The rtcp.NewClient signature has been simplified. There is now a default send interval and name for use in the source description in the receiver reports. These can be customised if required with the new SetSendInterval and SetName funcs. The rtcp.NewClient signature now takes an rtp.Client, so that it can get information from the RTP stream, like most recent sequence number. As a result of this requirement the rtp package parse file has been extended with some functions for parsing out the sequence number and ssrc from RTP packets and the RTP client provides getters for these things. |
||
---|---|---|
.. | ||
client.go | ||
client_test.go | ||
parse.go | ||
parse_test.go | ||
rtcp.go | ||
rtcp_test.go |