View Single Post
  #43  
Old 07-01-2012, 05:46 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


github.com/svnpenn/etc/commit/a712

Quote:
Auto detect when RtmpSrv has found parameters

Until now the script has invoked RtmpSrv, then waited for the user to notify the
script when RtmpSrv has captured the parameters.

Using a coprocess the script will now automatically monitor the RtmpSrv process
once its been started. Once the command has been detected it will automatically
exit RtmpSrv and invoke RtmpDump.

Also now that process substitution is not being used we can utilize the slightly
faster #!/bin/sh over #!/bin/bash

Tested with
concertgebouw.nl/live?event=25417
showtvnet.com/player/index.asp?ptype=1
teamcoco.com/video/full-episode-thurs-6/21-seth-meyers-jordana-brewster-and-musical-guests-the-avett-brothers
Reply With Quote