|
|
@ -17,9 +17,12 @@ var (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
|
readBufSize = 4096 // server session connection读缓冲的大小
|
|
|
|
readBufSize = 4096 // server session connection读缓冲的大小
|
|
|
|
wChanSize = 1024 // server session 发送数据时,channel 的大小
|
|
|
|
wChanSize = 1024 // server session 发送数据时,channel 的大小
|
|
|
|
serverSessionReadAvTimeoutMs = 10000 // server pub session,读音视频数据超时
|
|
|
|
|
|
|
|
|
|
|
|
//serverSessionReadAvTimeoutMs = 10000 // server pub session,读音视频数据超时
|
|
|
|
|
|
|
|
serverSessionReadAvTimeoutMs = 120000 // server pub session,读音视频数据超时
|
|
|
|
|
|
|
|
|
|
|
|
serverSessionWriteAvTimeoutMs = 10000 // server sub session,写音视频数据超时
|
|
|
|
serverSessionWriteAvTimeoutMs = 10000 // server sub session,写音视频数据超时
|
|
|
|
//writeBufSize = 4096 // 注意,因为lal server在group中使用writev做merge合并发送,这个废弃不需要了
|
|
|
|
//writeBufSize = 4096 // 注意,因为lal server在group中使用writev做merge合并发送,这个废弃不需要了
|
|
|
|
|
|
|
|
|
|
|
|