Page 1 of 1

multiple streams via online plugins

PostPosted: Wed Dec 12, 2012 7:11 pm
by slyguy42o
is it possible to do multiple simultaneous streams via online plugins? or is it restricted to a single stream at a time?

Whenever one device is streaming and another tries to start something it kills the connection for the first device.

Re: multiple streams via online plugins

PostPosted: Wed Dec 12, 2012 11:44 pm
by zip
It should allow for it. Are these live streams? Post detailed log of when the stream is stopped.

Re: multiple streams via online plugins

PostPosted: Thu Dec 13, 2012 7:27 am
by slyguy42o
just tested it again and it did the same thing. It happens when streaming shows using the hulu plugin.

wife was watching glee off the xbox and I tried to start an ep of simpsons using my android device.

the xbox will stop the stream in progress, flash the name of the ep I am playing on my tablet and then go black.

Attaching the log file.

Re: multiple streams via online plugins

PostPosted: Thu Dec 13, 2012 1:32 pm
by zip
What's the IP of the xbox and phone?

It looks like the 2 files are accessed from the same IP

  Code:
Resource request accepted. Using client 'IPAddress=/192.168.42.106, Profile=Xbox 360'


If the IP is the same it'll stop transcoding (if there is no other consumer of the stream).

Re: multiple streams via online plugins

PostPosted: Fri Dec 14, 2012 7:43 pm
by slyguy42o
That's strange.

the phone is 42.57
the xbox is 42.106

Re: multiple streams via online plugins

PostPosted: Tue Dec 18, 2012 5:20 pm
by slyguy42o
any ideas on how serviio thinks these devices are using the same IP? It's virtually impossible for them to be using the same address on the network so I would have to assume serviio is having trouble distinguishing the two devices for some reason.

Re: multiple streams via online plugins

PostPosted: Tue Dec 18, 2012 5:36 pm
by miksa
slyguy42o wrote:any ideas on how serviio thinks these devices are using the same IP? It's virtually impossible for them to be using the same address on the network so I would have to assume serviio is having trouble distinguishing the two devices for some reason.
it's possible to identify a connection by IP and Port #. but i don't understand why it was decided that these devices used the same IP:
2012-12-12 23:10:38,051 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.42.106, Profile=Xbox 360',
2012-12-12 23:11:16,083 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/192.168.42.57, Profile=Generic DLNA profile'

Re: multiple streams via online plugins

PostPosted: Tue Dec 18, 2012 8:28 pm
by zip
Could you send a new log, starting a bit earlier? Basically try to:

1) Browse to the file on XBox
2) play the file
3) browse to a file on phone
4) play a file

What seems to be happening is that the phone browses for list of items and then makes the request for the fle, but from the incomming connection it looks like this:

  Code:
[WebServer] Incoming connection from /192.168.42.106:50738
[ResourceTransportRequestHandler] GET /resource/1000000000010002/MEDIA_ITEM/AVC_TS_MP_SD_AC3_ISO-0/ORIGINAL HTTP/1.1, headers = [User-Agent: Xenon,Connection: Keep-alive,Host: 192.168.42.77:8895]]


It's requesting the right remuxed file (AVC_TS_MP...) for the phone, but the connection looks like it's coming from .106 (incl. the XBox user agent). Serviio then things it's a new request from the XBox, stops the previous transcode job, tries to start a new one, but because it transcodes to WMV it fails (as the expected output is AVC_TS_MP...).

Looks like the connections are reused or something.

You could also change your Java version.

Re: multiple streams via online plugins

PostPosted: Sat Dec 22, 2012 6:51 pm
by slyguy42o
I upgraded to 1.1 and tried again, same deal.

Here is the full logs for the server.

Re: multiple streams via online plugins

PostPosted: Sat Dec 22, 2012 7:17 pm
by zip
Thanks, I will try to reproduce it next week at home.

Re: multiple streams via online plugins

PostPosted: Fri Dec 28, 2012 2:30 pm
by zip
I can't reproduce it, I'm able to play a online feed in xbox and a Sony TV at the same time, no profile switching happens. Does that happen for local files too? Try to play MKV on the Xbox and then on your phone (using a Bravia profile for example).

Re: multiple streams via online plugins

PostPosted: Tue Jan 15, 2013 11:17 pm
by slyguy42o
I have done a bunch of additional testing. I have had up to four devices puling streams simultaneously without issue.

So far I cannot reproduce it either unless I run through the described scenario above. I will try it with regular movies and report back.

Re: multiple streams via online plugins

PostPosted: Wed Jan 16, 2013 2:13 am
by slyguy42o
I resolved the issue, this whole deal is a feature on my phone and I am sorry but it appears it had nothing to do with serviio

When i play movies on my phone... I can change the output.. and one of the options is xbox 360. it uses some method where it just takes over whatever the xbox is doing and uses it to show the movie. pretty cool actually.. but I set the option by accident.

Re: multiple streams via online plugins

PostPosted: Thu Jan 17, 2013 1:26 pm
by zip
Cool. Thanks for feeding it back.