--- Begin Message ---
Hi Ross,

 In case of file play, We have file name and file so we can pass that when 
adding subsession as below.

sms->addSubsession( H264VideoFileServerMediaSubsession ::createNew(*env, 
inputFileName, reuseFirstSource));

But when creating subsession for live streaming , I don't have encoded data 
buffer and its length. So I just pass env and reuseFirstSource as below.

sms->addSubsession(H264LiveServerMediaSubsession::createNew(env,true));

So, how to pass my encoded data, its length and presentation time with session 
handle to ByteStreamMemoryBufferSource whenever I get data from one of our 
thread during runtime? And also we want to pass it for different session for 
three different stream like live/0, live/1 and /live/2.

For any further help, do you provide any paid service? Please let us know about 
it.

Thanks & Regards,
Rushina
-----Original Message-----
From: live-devel <live-devel-boun...@us.live555.com> On Behalf Of Ross Finlayson
Sent: Tuesday, October 22, 2024 11:40 AM
To: LIVE555 Streaming Media - development & use <live-de...@us.live555.com>
Subject: [External] Re: [Live-devel] Encoded data to live555 library for live 
streaming

WARNING: This message has originated from an External Source. This may be a 
phishing email that can result in unauthorized access to Honeywell systems. 
Please use proper judgment and caution when opening attachments, clicking 
links, scanning QR codes, or responding.

> 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


--- End Message ---
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to