Add pkt_size option fort RTSP server

This commit is contained in:
Alexey Khit
2023-04-24 06:40:11 +03:00
parent 813c8b3b3d
commit a20de73ab2
6 changed files with 29 additions and 3 deletions
+1
View File
@@ -9,6 +9,7 @@ import (
)
// ReceiveMTU = Ethernet MTU (1500) - IP Header (20) - UDP Header (8)
// https://ffmpeg.org/ffmpeg-all.html#Muxer
const ReceiveMTU = 1472
func NewAPI(address string) (*webrtc.API, error) {