Posts: 43
Joined: Jul 2008
Reputation:
0
Darre
Junior Member
Posts: 43
Going to format my computer now and see if that solves anything, its about time anyways =)
Posts: 19
Joined: Dec 2013
Reputation:
1
Please let me know if it does, or if you find a solution!
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
Could you all try if using a reverse proxy helps? There are instructions on the wiki. What it means is you will be requesting traffic from Apache (the web server that runs this application) which will then forward the request to XBMC.
Posts: 43
Joined: Jul 2008
Reputation:
0
Darre
Junior Member
Posts: 43
Actually, it _seems_ to be working now.. I was on a f'ed up old version of windows8 that couldnt be upgraded for some reason, but I formated and installed 8.1. Atm I'm streaming a 720p episode over wi-fi, and my gf is streaming a 1080p movie to her place. Neither of those things used to work for more then 7 seconds, tho it sometimes held for up to one hour. So I guess I just have to run a lot of tests to be sure.
It seems to be fixed tho, I hope so =)
Never got the proxy thing to work, the instructions werent very windows-userfriendly.. but if this works now I probably wont bother to make it work anyways.
Posts: 43
Joined: Jul 2008
Reputation:
0
Darre
Junior Member
Posts: 43
2014-03-26, 00:19
(This post was last modified: 2014-03-26, 00:20 by Darre.)
Allright I'll look into it later tonight =)
The problem came back here, cuts off randomly after a short play. Ive discovered tho that having Skype active seems to break it, at least the problem started again when I launched skype on my laptop (the stream even stopped from my server to my gaming PC after a while). Tried rebooting everything including router and switch - the problem persisted, but after I exited skype on the laptop and then started streaming to my laptop and to my gaming PC, both streams have been working fine. As soon as I launched skype there was a lot of artifacts in the movies, so it was at least having some kind of impact..
I suspect that the fact that I use port 80 for apache might have something to do with this.. Guess I will try both changing apache ports, and try to enable the reverse proxy. Any suggestion for good apache/xbmc ports(ranges) are welcome. I think I saw a post here earlier, Ill have a closer look later.
And thanks for beein so helpful, I really appreciate it.. Of course Ill report any solution I find =)
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
2014-03-26, 00:48
(This post was last modified: 2014-03-26, 00:49 by negge.)
That could very well be related, Skype likes to use port 80 for God knows what. You can easily change the pirt XBMC and/or Apache listens on to see if the problwm goes away.
And oh yeah, there's no such thing as "good port ranges", you use whatever is free and easily rememberable.
Posts: 43
Joined: Jul 2008
Reputation:
0
Darre
Junior Member
Posts: 43
2014-03-26, 03:04
(This post was last modified: 2014-03-26, 04:06 by Darre.)
It seems Skype was the culprit here actually.. Changed the port of Apache to something else and Skype doesn't seem to affect video-quality anymore, tho I have not tested with a conversation active. Earlier just launching skype created artifacts in the video, and just to be clear I'm on a 25/25, and skype uses like .2, so its not a bandwidth issue. Skype used to distort, and sometimes kill the videostream, and if I tried to resume it with skype running on the computer it would 95% of the time just get killed after 3-7 seconds. It seems having skype running on my laptop actually was able to mess up the stream from my backend to my gaming PC..? Guess changing ports was a good idea at least =)
Dont know where to run this command from tho:
"After saving the file also have to run sudo a2enmod headers proxy_http && sudo service apache2 restart." ?
Remember that sudo from playing with linux on my RasPi, guess its some other command in windows?
Tried just pasting it in the shell from apache dir, but that did nothing.. So for now I can't use the proxy thingy, it seems like ive done things correctly, but it tries to play the files through the port I specified for Apache, instead of the port used by XBMC, and the file wont play. Once I remove the proxy from backend settings it reverts to the xbmc port, and things work again.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
2014-03-26, 11:56
(This post was last modified: 2014-03-26, 19:27 by negge.)
I'll have to update the instructions for Windows, the commands for Linux obviously don't apply here. I think I'll also remove some of the explanation regarding what it's about from the README, I'll add a link to this thread instead.
@Darre: what those commands to is tell Apache to load two modules (headers and proxy_http). You can achieve the same effect by finding a configuration file with a bunch of LoadModule lines (you'll have to search, I don't know the path on Windows). If you see a hashtag (#) before the line that says something about headers or proxy_http, remove the hashtags and then restart Apache. That way the modules should be loaded and the reverse proxy thing should work.