Провайдет вещает IPTV.
Запустил udpxy на своем HDP-R3, командная срока по умолчанию:
/usr/local/etc/mos/udpxy/udpxy -p 8080 -l /tmp/udpxy.log
Попробовал просмотреть TV канал через Windows Media Player с компа, указав URL типа:
http://192.168.0.101:8080/udp/239.0.0.2:1234
где
192.168.0.1 - адрес плеера в домашней сети (WiFi, роутер DLink DIR-825 rev. B1 c родной прошивой 2.05 NA)
239.0.0.2:1234 - адрес канала TV
Работает !!! Обрадовался, прописал в TV Stations в плейере все каналы в виде:
http://127.0.0.1:8080/udp/239.0.0.59:1234
При попытке открытия любого канала на плеере (Online Media->Internet TV->Favoriotes) плеер перегружается
udpxy.log:
2014-03-12 17:40:24.085790 UTC 278 udpxy 1.0-Chipmunk (build 19) standard: /usr/local/etc/mos/udpxy/udpxy -p 8080 -l /tmp/udpxy.log
2014-03-12 17:40:24.086354 UTC 278 Starting server [278]; capacity=[3] clients
2014-03-12 17:40:24.087029 UTC 278 Setting up listener for [0.0.0.0:8080]
2014-03-12 17:40:24.087638 UTC 278 Server socket=[4] is set up
2014-03-12 17:40:24.087928 UTC 278 Entering server loop
2014-03-12 17:40:24.088112 UTC 278 Server is waiting for input: socket=[4], pipe=[1]
2011-02-20 09:08:25.498252 UTC 278 Accepted socket=[5]
2011-02-20 09:08:25.498669 UTC 278 Reading command from socket [5]
2011-02-20 09:08:25.498942 UTC 278 HTTP buffer [314 bytes] received
2011-02-20 09:08:25.499195 UTC 278 Request=[udp/239.0.0.59:1234], length=[19]
2011-02-20 09:08:25.499439 UTC 278 Command [udp] with params [239.0.0.59:1234] read from socket=[5]
2011-02-20 09:08:25.499693 UTC 278 udp_relay : new_socket=[5] param=[239.0.0.59:1234]
2011-02-20 09:08:25.500855 UTC 278 Client process=[4812] started for socket=[5]
2011-02-20 09:08:25.502762 UTC 278 Added client: pid=[4812], maddr=[239.0.0.59], mport=[1234], saddr=[127.0.0.1], sport=[3574]
2011-02-20 09:08:25.503843 UTC 278 Closed accepted socket [5]
2011-02-20 09:08:25.504111 UTC 278 Server is waiting for input: socket=[4], pipe=[1]
2011-02-20 09:08:25.504463 UTC 4812 min socket buffer = [65536], max space to use = [1500], Rmsgs = [1]
2011-02-20 09:08:25.504785 UTC 4812 Setting up multicast listener
2011-02-20 09:08:25.506184 UTC 4812 current receive buffer size is [104448] bytes for socket [1]
2011-02-20 09:08:25.507207 UTC 4812 multicast-group [ADD]
2011-02-20 09:08:25.507528 UTC 4812 Mcast listener socket=[1] set up
2011-02-20 09:08:25.507764 UTC 4812 min socket buffer = [65536], max space to use = [1500], Rmsgs = [1]
2011-02-20 09:08:25.508018 UTC 4812 Data buffer will hold up to [1] messages
2011-02-20 09:08:25.508233 UTC 4812 UDP stream, RTP check enabled
2011-02-20 09:08:25.508516 UTC 4812 current send buffer size is [50172] bytes for socket [5]
2011-02-20 09:08:25.508836 UTC 4812 current receive buffer size is [104448] bytes for socket [1]
2011-02-20 09:08:25.509116 UTC 4812 send buffer size set to [104448] bytes for socket [5]
2011-02-20 09:08:25.509674 UTC 4812 Sent HTTP response code=[200], reason=[OK] to socket=[5]
2011-02-20 09:08:25.510034 UTC 4812 Relaying traffic from socket[1] to socket[5], buffer size=[2048], Rmsgs=[1], pauses=[0]
2011-02-20 09:08:25.596970 UTC 4812 Established stream as [MPEG-TS]
2011-02-20 09:08:25.597355 UTC 4812 received new [1316] bytes out of [2048], last=[0]
2011-02-20 09:08:25.598046 UTC 4812 sent [1316] bytes out of [1316], last=[0]
2011-02-20 09:08:25.673847 UTC 4812 write_buf: write: Connection reset by peer
2011-02-20 09:08:25.674155 UTC 4812 Exited relay loop: received=[1316], sent=[-1], quit=[0]
2011-02-20 09:08:25.675843 UTC 4812 multicast-group [DROP]
2011-02-20 09:08:25.676284 UTC 4812 Mcast listener socket=[1] closed
2011-02-20 09:08:25.677318 UTC 4812 Child process=[4812] exits with rc=[0]
2011-02-20 09:08:25.678264 UTC 278 *** Caught SIGCHLD in process=[278] ***
2011-02-20 09:08:25.678779 UTC 278 Client [4812] has exited.
2011-02-20 09:08:25.679604 UTC 278 Deleted client: pid=[4812]
2011-02-20 09:08:25.679884 UTC 278 Server is waiting for input: socket=[4], pipe=[1]
~