I want to expose a live G711 stream (specifically, PCMU) through an on-demand RTSP server; my application receives a pre-encoded stream (single channel, 8000 samples/sec, etc.).  I reviewed a bunch of the samples that come with Live555 (and wis-streamer) and they were good references, but I want to make sure my approach to solving this problem isn&#39;t wild and crazy.<br>
<br>testOnDemandRTSPServer uses WAVAudioFileServerMediaSubsession, which has an option to convert to ulaw--this class is sort of like what I want (?), although it reads from a file instead of a live source (hence the &quot;seek&quot; and &quot;scale&quot; methods that are irrelevant to a live source) and my ulaw source is already encoded, so clearly there are some differences.  Would a good approach be to create my own class that inherits from OnDemandServerMediaSubsession, and then overriding the appropriate methods?  And if yes, what methods would you recommend overriding?<br clear="all">
<br>Any suggestions are welcome; in the mean time, I&#39;m going to give it a try and see what happens.  Thanks!<br>