使用这个命令 /usr/bin/udpxy -T -S -p 4022 -m eth0 可以看iptv了,但是看高清明显卡顿,非高清的勉强可看 请问是什么原因 我打开日志看了一下,不止是不是后面有 930多Kb/s那个,按理说不应该这么慢 2022-05-19 22:44:32.238020 CST S(11566) udpxy 1.0-23.10 (prod) standard [Linux 3.10.108 i686]: /usr/bin/udpxy -T -S -p 4022 -B 1Mb -m eth0 -R 3 -H 5 -v 2022-05-19 22:44:32.238780 CST S(11566) Server is starting up, max clients = [3] 2022-05-19 22:44:32.238926 CST S(11566) Setting up listener for [0.0.0.0:4022] 2022-05-19 22:44:32.239102 CST S(11566) Setting low watermark for server socket [14] to [10] 2022-05-19 22:44:32.239292 CST S(11566) Created server socket=[14], backlog=[16] 2022-05-19 22:44:32.239442 CST S(11566) Entering server loop [pselect(2)] 2022-05-19 22:44:32.239558 CST S(11566) Waiting for input from [2] fd's, NO timeout 2022-05-19 22:45:16.669075 CST S(11566) No children exited since last check 2022-05-19 22:45:16.669149 CST S(11566) Got 1 requests 2022-05-19 22:45:16.669193 CST S(11566) Accepting new connection 2022-05-19 22:45:16.669239 CST S(11566) Accepted socket=[15] from 192.168.10.55:49568 n=1/nmax=16 2022-05-19 22:45:16.669272 CST S(11566) Accepting new connection 2022-05-19 22:45:16.669298 CST S(11566) Nothing more to accept 2022-05-19 22:45:16.669319 CST S(11566) accept_requests: Sockets accepted: [1] 2022-05-19 22:45:16.669344 CST S(11566) Waiting for input from [3] fd's, with timeout 2022-05-19 22:45:16.670224 CST S(11566) No children exited since last check 2022-05-19 22:45:16.670259 CST S(11566) Got 1 requests pre-process sockets [1]: 15 2022-05-19 22:45:16.670291 CST S(11566) acting on accepted socket [15] (1/1) 2022-05-19 22:45:16.670341 CST S(11566) Reading command from socket [15] 2022-05-19 22:45:16.670371 CST S(11566) HTTP buffer [217 bytes] received GET /udp/239.93.0.184:5140 HTTP/1.1 Host: 192.168.10.3:4022 Accept: */* Accept-Language: en_US User-Agent: Mozilla/5.0 (Linux; Android 10; HUAWEI PCT-AL10 Build/HUAWEIPCT-AL10) IPTV Pro/6.1.11 Range: bytes=0-
2022-05-19 22:45:16.670402 CST S(11566) Request=[udp/239.93.0.184:5140], length=[21] 2022-05-19 22:45:16.670428 CST S(11566) Command [udp] with params [239.93.0.184:5140], tail [] read from socket=[15] 2022-05-19 22:45:16.670465 CST S(11566) udp_relay : new_socket=[15] param=[239.93.0.184:5140] 2022-05-19 22:45:16.670550 CST S(11566) Added client: pid=[12551], maddr=[239.93.0.184], mport=[5140], saddr=[192.168.10.55], sport=[49568] 2022-05-19 22:45:16.670587 CST S(11566) process_requests: closing accepted socket [15] 2022-05-19 22:45:16.670629 CST S(11566) Processed [1/1] accepted sockets newly-accepted sockets [1]: -1 2022-05-19 22:45:16.670665 CST S(11566) All accepted sockets processed 2022-05-19 22:45:16.670687 CST S(11566) Waiting for input from [2] fd's, NO timeout 2022-05-19 22:45:16.670833 CST S(11566) Client process=[12551] started for socket=[15] 2022-05-19 22:45:16.671094 CST c(12551) min socket buffer = [65536], max space to use = [4500], Rmsgs = [3] 2022-05-19 22:45:16.671343 CST c(12551) Setting up multicast listener 2022-05-19 22:45:16.671469 CST c(12551) current receive buffer size is [180224] bytes for socket [5] 2022-05-19 22:45:16.671836 CST c(12551) multicast-group [ADD] 2022-05-19 22:45:16.671957 CST c(12551) Mcast listener socket=[5] set up 2022-05-19 22:45:16.672095 CST c(12551) min socket buffer = [65536], max space to use = [4500], Rmsgs = [3] 2022-05-19 22:45:16.672295 CST c(12551) Data buffer will hold up to [3] messages 2022-05-19 22:45:16.672417 CST c(12551) UDP stream, RTP check enabled 2022-05-19 22:45:16.672513 CST c(12551) socket 5: RCV timeout set to 5 sec, 0 usec 2022-05-19 22:45:16.672684 CST c(12551) socket 5: SEND timeout set to 5 sec, 0 usec 2022-05-19 22:45:16.672932 CST c(12551) current send buffer size is [22120] bytes for socket [15] 2022-05-19 22:45:16.673141 CST c(12551) current receive buffer size is [180224] bytes for socket [5] 2022-05-19 22:45:16.673387 CST c(12551) send buffer size set to [180224] bytes for socket [15] 2022-05-19 22:45:16.673612 CST c(12551) Sent HTTP response code=[200], reason=[OK] to socket=[15] HTTP/1.1 200 OK Server: udpxy 1.0-23.10 (prod) standard [Linux 3.10.108 i686] Content-Type:application/octet-stream
2022-05-19 22:45:16.674010 CST c(12551) Relaying traffic from socket[5] to socket[15], buffer size=[1048576], Rmsgs=[3], pauses=[0] 2022-05-19 22:45:16.715210 CST c(12551) Established stream as [RTP-TS] 2022-05-19 22:45:16.716941 CST c(12551) received new [3984] bytes out of [1048576], last=[0] 2022-05-19 22:45:16.717474 CST c(12551) sent [3948] bytes out of [3984], last=[0] 2022-05-19 22:45:20.639477 CST S(11566) No children exited since last check 2022-05-19 22:45:20.639553 CST S(11566) Got 1 requests 2022-05-19 22:45:20.639584 CST S(11566) Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] } 2022-05-19 22:45:20.639665 CST S(11566) Updated context for pid=[12551]; [963.9] Kb/sec 2022-05-19 22:45:20.639718 CST S(11566) Waiting for input from [2] fd's, NO timeout 2022-05-19 22:45:24.569249 CST S(11566) No children exited since last check 2022-05-19 22:45:24.569307 CST S(11566) Got 1 requests 2022-05-19 22:45:24.569334 CST S(11566) Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] } 2022-05-19 22:45:24.569416 CST S(11566) Updated context for pid=[12551]; [963.9] Kb/sec 2022-05-19 22:45:24.569516 CST S(11566) Waiting for input from [2] fd's, NO timeout 2022-05-19 22:45:28.512940 CST S(11566) No children exited since last check 2022-05-19 22:45:28.512999 CST S(11566) Got 1 requests 2022-05-19 22:45:28.513046 CST S(11566) Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] } 2022-05-19 22:45:28.513094 CST S(11566) Updated context for pid=[12551]; [963.9] Kb/sec 2022-05-19 22:45:28.513125 CST S(11566) Waiting for input from [2] fd's, NO timeout 2022-05-19 22:45:32.453925 CST S(11566) No children exited since last check 2022-05-19 22:45:32.453983 CST S(11566) Got 1 requests 2022-05-19 22:45:32.454011 CST S(11566) Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] } 2022-05-19 22:45:32.454057 CST S(11566) Updated context for pid=[12551]; [963.9] Kb/sec 2022-05-19 22:45:32.454087 CST S(11566) Waiting for input from [2] fd's, NO timeout 2022-05-19 22:45:36.377451 CST S(11566) No children exited since last check 2022-05-19 22:45:36.377510 CST S(11566) Got 1 requests 2022-05-19 22:45:36.377539 CST S(11566) Received TSTAT={ sender=[12551], bytes=[3948000.000000], seconds=[4.000000] } 2022-05-19 22:45:36.377592 CST S(11566) Updated context for pid=[12551]; [963.9] Kb/sec 2022-05-19 22:45:36.377622 CST S(11566) Waiting for input from [2] fd's, NO timeout
|