How-To

  • How to modify chunk id on hls stream

    You can leverage the IHTTPStreamerCupertinoLiveStreamPacketizerChunkIdHandler interface by defining your own custom handler

  • How to setup and run fail2ban for your streaming server

    Here is a quickstart guide in installing and running fail2ban on your rhel/centos server. Name: failban.sh rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum install fail2ban cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local service fail2ban restart Run this by invoking: command-line] sh ./failban.sh You can subsequently run: command-line] iptables -L This will show you all the rules currently in place.

  • Starter IPTable rules for your streaming server

    Here is a good starting place for a ruleset for your linux iptables.

  • How to Generate playlist and all ts chunks from video on demand asset

    To chunk up an entire VOD asset to its corresponding ts segments, follow this ffmpeg command.

  • How to find all streams on a Wowza instance programmatically

    This is a small snippet of code that demonstrates how to iterate through all applications in a vhost to eventually obtain each stream name within each application instance.

  • How to do Picture in Picture with FFMPEG

    This is a quick example of how you can take two videos and overlay one on the other to create a picture-in-picture scenario.

  • How-to check the speed of storage for on demand delivery – Linux

    There is always some concern when Wowza is found not to be delivering content at the capacity required. There are many factors to this however when doing on demand delivery the main area of focus should be the IO speed of the storage. This how-to will concentrate on the use of the tool hdparm however there are other tools available. A basic Linux file system layout using the command df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 938M 347M 545M 39% / tmpfs 7.8G 0 7.8G 0% /lib/init/rw udev ...

  • How-to increase UDP buffers under Windows OS

    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 you will need to use the regedit tool. Please be aware if you change the values this may cause system problems and you do so at entirely your own risk. Navigate to HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \Afd \Parameters You may be able to see DefaultReceiveWindow however if not it does have a default of 4096, 8192 or possibly another value. This ...

  • Shutting down an RTMP Publisher

    This article will describe a good way to shut down a RTMP publisher from a Wowza module.

  • How-to Change SDP data from IP Camera

    You can create a module that will allow you to filter out various RTSP message headers along with SDP data as provided by the IP camera. Here is a quick example of how to get that started: public class RTPSDPFilter extends RTPSessionDescriptionDataProviderBasic { protected String filterSessionDescriptionData(String sdpData) { // Change SDP data sdpData = sdpData.replace("sprop-parameter-sets", ""); sdpData = sdpData.replace("profile-level-id", ""); return sdpData; } protected void rtspMessageHook(RTPSessionDescriptionDataProviderBasicRTSPRequest request) { // Modify RTSP message request.addHeader(""); } } In /Application.xml under MediaCaster/Properties, add your class: <Property> <Name>rtpSessionDescriptionDataProviderClass</Name> <Value>com.wowza.wms.plugin.rtpprovideroverride.RTPSessionDescriptionDataProviderOverride </Value> </Property>