Live Stream (of some channel) Play through Roku Box -



Live Stream (of some channel) Play through Roku Box -

i trying bring together igmp live streaming , play in roku box. didn't worked. can not bring together multicast streaming in roku boxes ? if possible via hls, solution ? tried reference in github @ link : https://github.com/thetrime/trimeplay/blob/master/source/trimeplay.brs please refer code using reference :

function setupjoin() ssdpaddress = "239.60.60.7:6607" ssdpport = 6607 timeout = 300 * 60 * 1000 groupaddr = createobject("rosocketaddress") groupaddr.setaddress(ssdpaddress) groupaddr.setport(ssdpport) listenaddr = createobject("rosocketaddress") listenaddr.setport(ssdpport) listenaddr.setaddress("0.0.0.0") hear = createobject("rodatagramsocket") listen.setreuseaddr(true) listen.setaddress(listenaddr) result = listen.joingroup(groupaddr) listen.setmessageport(canvas.getmessageport()) listen.notifyreadable(true) numresponses= wait_ssdp(listen, timeout) ? "result : " result ? "ssdp hear got"; numresponses; " responses" end function function wait_ssdp(socket object, timeout integer) integer numresponses = 0 elapsed = createobject("rotimespan") remaining = timeout - elapsed.totalmilliseconds() while remaining > 0 msg = wait(remaining, socket.getmessageport()) if type(msg)="rosocketevent" if socket.isreadable() results = socket.receivestr(255) print "ssdp hear gets "; socket.getreceivedfromaddress().getaddress(); ":" print results numresponses = numresponses + 1 end if else exit while 'enter code here end if remaining = timeout - elapsed.totalmilliseconds() end while homecoming numresponses end function

i'm not going trying impossible, impractical.

you have sort of this:

use rostreamsockets collect udp info , write tmp:/ h.264 video file, hls chunks, point video playback component @ via .m3u8 files write on fly. have done in brightscript. i'm not sure brightscript fast plenty this. i'm not saying impossible it, roku not natively play multicast or other udp video stream formats.

the officially supported video formats live broadcast hls , microsoft smooth.

live http-live-streaming roku brightscript

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -