expose number of lost packets without passing through an error (#735)

This commit is contained in:
Alessandro Ros
2025-03-24 16:39:55 +01:00
committed by GitHub
parent 1b127d70bb
commit c0c275e6a6
13 changed files with 68 additions and 28 deletions

View File

@@ -239,6 +239,8 @@ func (e ErrServerUnexpectedResponse) Error() string {
type ErrServerWriteQueueFull = ErrClientWriteQueueFull
// ErrServerRTPPacketsLost is an error that can be returned by a server.
//
// Deprecated: will be removed in next version.
type ErrServerRTPPacketsLost = ErrClientRTPPacketsLost
// ErrServerRTPPacketUnknownPayloadType is an error that can be returned by a server.