[Live-devel] MP3 file stream crashes
Ross Finlayson
finlayson at live555.com
Tue Aug 29 02:29:09 PDT 2023
Are you trying to stream via multicast, or via unicast? Note that the “testMP3Streamer” application streams using IP multicast. If, instead, you want to stream via IP unicast, then you should use the “testOnDemandRTSPServer” application (which is also supplied in the “testProgs” directory) as a model.
Your sample code appears to have been based upon the “testOnDemandRTSPServer” code, but you shouldn’t use random code that you’ve grabbed off the Internet (unless it comes from www.live555.com <http://www.live555.com/> :-)
Your first step should be to test whether the (original, unmodified) “testOnDemandRTSPServer” application (or the “testMP3Streamer” application if you wish to stream via multicast) works for you. Then, and only then, should you think about modifying that code.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list