Skip to content

gavv/MiniSAPListener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiniSAPListener

Build

MiniSAPListener is a small program that listens to SAP/SDP announcements and invokes a shell command for created, removed, or modified sessions. It can be used with MiniSAPServer.

See usage example in this article.

The implementation is based on the PulseAudio RTP module.

Build:

$ make

Install system-wide:

$ make install

Listen to announcements and print them to stdout:

$ ./saplisten -v

Invoke a shell command for every created, modified, or removed session:

$ ./saplisten -c ./test_command.sh

Use custom address and port:

$ ./saplisten -v -a 224.2.127.254 -p 9875