Page 1 of 1

streaming through VPN

Posted: 16 Feb 2006 00:29
by khal
I am trying to stream through vpn and I am not managing to get a reasonable quality stream, i.e no stuttering or sound loss. Can someone, who may have already done this tell me what are the best settings to achieve this, or if it is possible at all. I am trying to do this between home and office and obviously have to go through the internet and as such VPN gives me a safer option. Would it be better to user port forwarding and if so what ports should I use for VPn to get through me router.

Posted: 16 Feb 2006 01:13
by DJ
In your case it all seems to boil down to the up speed of your connection, the type of file, resolution and container you are trying to stream.

VPN does have its own overhead when used over a standard Internet connection. As such may not be the best choice.

As for as your router, the best bet, to get all the configurations correct and get you familiar with VLC, would be setting the router for the DMZ for what ever machine you are using for the server. After you get it to work you will need to figure out the particular settings for port forwarding as the DMZ offers no security. It is also suggested that you get used to local streaming before you try Internet streaming.

I wrote this a few moments ago and have now used it 4 times for related questions.

---------
While I believe that any format should be compatible with any container and all containers should be capable of streaming, that's not how it is in the real world. This is why the Wizard was created.

The key issue is:

1. know your compatible formats and containers.

2. Separate transcoding from streaming when you have problems.

3. Know your source file types and the containers so you can make intelligent decisions for quality with relatively low overhead when transcoding files for streaming.

I can not in this space tell you what is ideal in every situation, that is why there are options. At the same time I can not tell you which ones don't work together as some of these were never finished (they do work but perhaps not as expected), so that all the accepted variations for all the various formats and containers would work together.

Hint: mp3 audio is not accepted with any video format in any container, however mpga is accepted for most mpeg formats including mp4v and DivX. MP4a (AAC) audio is accepted with MP4v in a MP4 or MOV container as this is a standard QuickTime format. But for streaming MOV is the container of choice.

:lol:

Re: streaming through VPN

Posted: 16 Feb 2006 04:06
by tonsofpcs
If your VPN is working properly, you should be able to run a stream that takes about 1/3 to 1/2 of your bandwidth without any problems. You cannot use more over VPN due to the security and encapsulation overhead. TCP (http) is *usually* the best bet with VPNs

Posted: 16 Feb 2006 23:35
by Guest
I think VPN's overhead may be the problem, as I have 200k upload limit but the stream stutters and stops after a short while. All my other apps work fine with the VPN and I have no problems streaming locally. I will put my server on a DMZ and try it out to see if it is any better...