gulikoza
2007-06-06, 13:31
Hi,
I only recently got an xbox and I'm starting to think how to watch (and possibly record - turning XBMC into a PVR) iptv streams I receive. I have read through most topics and I understand that xbox kernel does not support multicast.
But I have another idea - right next to my xbox is an asus 500gp router running OpenWRT (http://openwrt.org). It's already configured for bridging multicast traffic into my local lan, but the kernel also supports joining and leaving multicast groups :grin:
I have written a small app (udpRelay (http://www.si-gamer.net/gulikoza/udpRelay.tar.gz)) that joins a multicast group and relays the udp stream to xbox. The xbox happily receives and plays it if I create a udp:// strm file :grin:. Now, this idea would have to be developed further. I'm thinking udpRelay could be extended to provide a small simple http server and there would be a need for a nifty python script that would connect to the http and issue simple commands (like get /239.1.1.0) that would cause the program to start relaying data and the script to start playing it...The recording part would either have to be done on the router side (I have a harddisk mounted via nfs, but there is also a possibility of external hdd via usb) or on the xbox side.
The downside of this idea is, that you'd need a linux or windows host on the lan to relay the stream, but doing it with $80 wifi router (which most of you probably already have) sounds really exciting to me :grin:
I only recently got an xbox and I'm starting to think how to watch (and possibly record - turning XBMC into a PVR) iptv streams I receive. I have read through most topics and I understand that xbox kernel does not support multicast.
But I have another idea - right next to my xbox is an asus 500gp router running OpenWRT (http://openwrt.org). It's already configured for bridging multicast traffic into my local lan, but the kernel also supports joining and leaving multicast groups :grin:
I have written a small app (udpRelay (http://www.si-gamer.net/gulikoza/udpRelay.tar.gz)) that joins a multicast group and relays the udp stream to xbox. The xbox happily receives and plays it if I create a udp:// strm file :grin:. Now, this idea would have to be developed further. I'm thinking udpRelay could be extended to provide a small simple http server and there would be a need for a nifty python script that would connect to the http and issue simple commands (like get /239.1.1.0) that would cause the program to start relaying data and the script to start playing it...The recording part would either have to be done on the router side (I have a harddisk mounted via nfs, but there is also a possibility of external hdd via usb) or on the xbox side.
The downside of this idea is, that you'd need a linux or windows host on the lan to relay the stream, but doing it with $80 wifi router (which most of you probably already have) sounds really exciting to me :grin: