> On Oct 22, 2024, at 11:44 AM, Trivedi, Rushina via live-devel > <live-de...@us.live555.com> wrote: > > We are able to successfully build live555 library with cross compilation for > our application. We are also able to run the RTSP server and stream the file > data (test.264) by taking reference of testOnDemandRTSPServer.cpp. Now we are > trying to send our encoder data buffer to LIVE555 library and we are facing > some issues. From > http://www.live555.com/liveMedia/faq.html#liveInput-unicast, I followed “But > what about the "testOnDemandRTSPServer" test program (for streaming via > unicast)? How can I modify it so that it takes input from a live source > instead of from a file?”. According to this I created subclass from > "FramedSource" and subclass for "OnDemandServerMediaSubsession". Could you > please provide similar test program like testOndemandRTSPServer for sending > encoder buffer data, its length and presentation time to live555.
We don’t have such a test program. However, you can easily do this yourself, by changing your implementation of the “createNewStreamSource()” virtual function (in your “OnDemandServerMediaSubsession” subclass) to create a “ByteStreamMemoryBufferSource” rather than a “ByteStreamFileSource”. Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel