Steps:
- Test to see if the computer supports IPv6:
- On Windows, open a command prompt window and type the following at the command prompt (Note that "::1" is the IPv6 version of "127.0.0.1" or "localhost"):
Expected output:Code:ping ::1
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms - On Linux, test in the SSH console:
Expected output:Code:cat /proc/net/if_inet6
fe80000000000000103139fffx8320x4 02 40 20 80 eth0
00000000000000000000000000000001 01 80 10 80 lo
- On Windows, open a command prompt window and type the following at the command prompt (Note that "::1" is the IPv6 version of "127.0.0.1" or "localhost"):
- If the computersupports IPv6, install Java JDK 1.7, then update the java_home environment variable to point to the Java 1.7 JRE. For example, I have:
Start Wowza Media Server in standalone mode (/bin/startup.bat or startup.sh) and check the startup lines to see if JDK 1.7 is in use. You should see information similar to the following:Code:C:\Program Files\Java\jdk1.7.0\jre
INFO server comment - Java Version: 1.7.0-ea
INFO server comment - Java VM Version: 21.0-b12
INFO server comment - Java Spec Version: 1.7
INFO server comment - Java Home: C:\Program Files\Java\jdk1.7.0\jre - Ensure that that the following line in /bin/setenv.bat (or setenv.sh) is set to false:
Windows:
Linux:Code:set JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=false
Also, if running on Windows, open the bin/WowzaMediaServer-Service.conf file in a text editor and add (or modify) the following wrapper.java.additional value:Code:JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=false"
Where [n] is the next index in the list of wrapper.java.additional items that aren't commented-out.Code:wrapper.java.additional.[n]=-Djava.net.preferIPv4Stack=false
Now you can test. Use the [install-dir]/examples/SimpleVideoStreaming (Wowza Media Server 3.1.2) or [install-dir]/examples/VideoOnDemandStreaming/FlashRTMPPlayer (Wowza Media Server 3.5 or later) examples and enter the following information in the example player webpage:
Code:
Server: rtmp://[::1]/vod Stream: mp4:Sample.mp4
You can get the IPV6 address of your remote server with the ipconfig command in Windows, or the ifconfig command in Linux.


Article List
Categories