Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The “test*Streamer” and “test*Receiver” test programs use multicast. Can I modify them to use unicast instead?

0
10 Posted

The “test*Streamer” and “test*Receiver” test programs use multicast. Can I modify them to use unicast instead?

0

Yes, you can do this, but you should first convince yourself that this is something that you really want to do. If you’re streaming over a LAN, then you should continue to use multicast – it’s simpler, and allows more than one receiver to access the stream, without data duplication. The only time you should consider using unicast is if you are streaming over a wider-area network that does not support multicast routing. (Note also that the RTSP server that’s built in to the “test*Streamer” programs does not work with unicast streams. To play unicast streams from a RTSP server, you should instead use the existing “testOnDemandRTSPServer” test program as a model. This is usually better than trying to modify one of the “test*Streamer” applications.) If you still wish to change the “test*Streamer” programs to stream using unicast, then do the following: • In “test*Streamer.cpp”, change “destinationAddressStr” to the (unicast) IP address of the intended destination. • In the corresponding “t

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123