[Live-devel] rtsp proxy from ffmpeg
Ross Finlayson
finlayson at live555.com
Wed Sep 7 19:11:32 PDT 2022
> On Sep 7, 2022, at 6:16 PM, Специалист IT <wolverin at factorial.ru> wrote:
>
> [back-end RTSP/RTP stream] --> [LIVE555 Proxy Server]... BUT [back-end RTSP/RTP SERVER] --> [LIVE555 Proxy Server]...
OK, I’ve made that change to the web page, if that makes things clearer for you.
> Did I understand you correctly that I will need to copy the buffer to memory (test.h264) in a single thread for your server to work
I’m not sure I understand this question. Yes, your “OnDemandServerMediaSubsession” subclass’s implementation of “doGetNextFrame()” must do so by copying a H.264 NAL unit to the supplied memory address. (See “liveMedia/DeviceSource.cpp” for an example of how to do this.) And yes, this is all done in a single thread (as LIVE555-based applications are single-threaded; see the FAQ).
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list