[Live-devel] Encoded data to live555 library for live streaming
Ross Finlayson
finlayson at live555.com
Mon Oct 21 23:09:49 PDT 2024
> On Oct 22, 2024, at 11:44 AM, Trivedi, Rushina via live-devel <live-devel at 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/
More information about the live-devel
mailing list