mirror of
https://github.com/aler9/gortsplib
synced 2025-10-04 14:52:46 +08:00
add option MaxPacketSize to Client and Server
This commit is contained in:
@@ -520,7 +520,7 @@ func TestServerRecord(t *testing.T) {
|
||||
}, nil, nil
|
||||
},
|
||||
onRecord: func(ctx *ServerHandlerOnRecordCtx) (*base.Response, error) {
|
||||
// send RTCP packets directly to the session.
|
||||
// queue sending of RTCP packets.
|
||||
// these are sent after the response, only if onRecord returns StatusOK.
|
||||
err := ctx.Session.WritePacketRTCP(ctx.Session.AnnouncedMedias()[0], &testRTCPPacket)
|
||||
require.NoError(t, err)
|
||||
|
Reference in New Issue
Block a user