...
- a directory containing dump files on server
- a port to listen RTSP incoming connections
- a source port for the stream dumped
- a condition to handle dropped packets
Launch example:
Code Block | ||||
---|---|---|---|---|
| ||||
java -Dcom.flashphoner.fms.AppHome=/usr/local/FlashphonerWebCallServer -cp /usr/local/FlashphonerWebCallServer/lib/tbs-flashphoner.jar:/usr/local/FlashphonerWebCallServer/lib/* com.flashphoner.tools.rtsp.RtspPcapServer /usr/local/FlashphonerWebCallServer/pcaps 3554 5542554 true |
Where
/usr/local/FlashphonerWebCallServer/pcaps - directory on server
554 - port number (RTSP standard)
3554
- port on which IP camera will be emulated2554
- source port for dump file (real IP camera)true
- ignore packets dropped while collecting dump file.
If WCS is launched on this server, the utility second parameter port number should be out of ranges used by WCS. The stream that will be available on this port, will be named as the stream in the dump file.
The utility prints all information to stdout. Foe example, if there is one file log.pcap in /usr/local/FlashphonerWebCallServer/pcaps directory, the following will be prited to console:
...