Skip to content

Commit

Permalink
Threads-RECV: Change UDP recv max size from 6k to 1500 bytes.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Apr 26, 2021
1 parent 198dca5 commit 949c80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ SrsPps* _srs_pps_fast_addrs = new SrsPps();
SrsPps* _srs_pps_spkts = new SrsPps();

// set the max packet size.
#define SRS_UDP_MAX_PACKET_SIZE 65535
const int SRS_UDP_MAX_PACKET_SIZE = 1500;

// sleep in srs_utime_t for udp recv packet.
#define SrsUdpPacketRecvCycleInterval 0
Expand Down

0 comments on commit 949c80e

Please sign in to comment.