added interleave directive
fixed frame interleaving
merged with master
fixed codec header csid in interleaved mode
refactored
implemented wait_key
optimizations for atc case
fixed stat & live module
a new semi-atc live streamer
improved timestamps
implemented segmented live streaming; moved specific code from cmd module to live/play modules
implemented publish_notify & play_restart directives
added activity flag to xml; updated xsl to display it; improved live sync handler to have default value and to receive off
removed old constants
fixed sync directive parser
fixed string allocation in relay module
implemented RTMP control handler chains
added stream begin/eof handlers for segmented streaming through relay
added featured to TODO from github issues
removed codec header versions