How-To

  • How-to change the IP Wowza Streaming Engine Manager binds to

    A small issue we have run into time and time again is to configure the Wowza Streaming Engine Manager to bind to only one or specific IP address if a server is multi homed. To change the configuration of the Manager you need to edit the startmgr script which is found in the /manager/bin/ location. The line to change will look something like this "%_EXECJAVA%" %JAVA_OPTS% -jar "%WMSMGR_HOME%\lib\wms-winstone-1.0.5-boot.jar" --prefix="/enginemanager" --defaultWebApp="/enginemanager" --tempDirectory="%WMSMGR_HOME%\temp" --webroot="%WMSMGR_HOME%\temp" --warfile="%WMSMGR_HOME%\lib\WMSManager.war" --httpPort=8088 --ajp13Port=-1 --directoryListings=false You would change it by adding –httpListenAddress after the –httpPort option so it would look like "%_EXECJAVA%" %JAVA_OPTS% -jar "%WMSMGR_HOME%\lib\wms-winstone-1.0.5-boot.jar" --prefix="/enginemanager" --defaultWebApp="/enginemanager" --tempDirectory="%WMSMGR_HOME%\temp" --webroot="%WMSMGR_HOME%\temp" --warfile="%WMSMGR_HOME%\lib\WMSManager.war" --httpPort=8088 --httpListenAddress=192.168.1.10 --ajp13Port=-1 --directoryListings=false This would force the Manager to only listen on IP 192.168.1.10 It is recommended you back up the file before editing and the line is slightly different for Windows/Mac/Linux however the additional option is the same.

  • How-to increase UDP buffers under linux

    A common issue for people using Wowza when taking in MPEG-TS streams are that the default OS buffer sizes are too small. To check your buffer sizes do the following more /proc/sys/net/core/rmem_max This normally shows a value of 131071 more /proc/sys/net/core/rmem_default This normally shows a value of 229376 For high bitrate inbound streams these values are too low and so will cause problems for Wowza to ingest it correctly, as it will not be receiving the data correctly. To increase these values , as root, simply do echo 24000000 > /proc/sys/net/core/rmem_default echo 24000000 > /proc/sys/net/core/rmem_max You can add these values to your /etc/sysctl.conf file so they are preserved at reboot if needed.

  • How-to ensure your Mac waits for internet connection before booting

    One common issue among Macs is that the Wowza service tries to fire up prior to network availability. To avoid this, you might write your own startup script that includes this very check.

  • How-to remove audio or video programmatically from RTMP stream

    This small article will demonstrate an easy way to remove audio (or video) from an rtmp playback stream.

  • How to Deny by IP in HTTP Origin Mode

    When you are in HTTP Origin Mode it presents a few problems using the conventional code/modules.

  • How to using NGINX caching proxy with S3

    Below is a guide on a module to compile with NGINX that will allow access to private/public s3 objects while cacheing locally based on demand.

  • How to add a file to S3 via curl

    One simple way to upload files to s3 bucket is to use a small bash script to do so.

  • Detecting Adaptive Bitrate switches in Wowza

    You can leverage some 4.1.x + API functions to detect bitrate switches on the Wowza side.

  • Programmatically create a new log4j appender within Wowza

    You can specify a specific log file per application dynamically by creating the relevant appender as-needed.

  • Curl commands to start, stop, and reset mediacaster streams

    Here are some useful curl commands you can leverage to start, stop, and reset mediacaster streams.