Thanks, I have seen the FAQ you provided, I have to encapsulate it, it's
very complicated for me. so would you pls give me a step by step
instructions.
 
Detail of my socket:Port(6666)
bitrates:500
 
Thanks again~

________________________________

From: live-devel-boun...@ns.live555.com
[mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson
Sent: Saturday, June 19, 2010 3:29 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] File source is socket stream in RTSPServer



               It's can work correctly, but this is via multicast, Our
customer want unicast. So I follow "testOnDemandRTSPServer.cpp",

        but this module wrapped how to get file source in method
"doEventLoop", and it seems that not support read socket as file source,
because 

        my file source isn't a local file, so I don't know how to get my
socket file source. If you know or have this experience, pls tell me,
Thanks~ 


See the following FAQ entry:
http://www.live555.com/liveMedia/faq.html#liveInput-unicast
I think this will help you with your application.

If your input device is a socket, then you should be able to encapsulate
it in a "FramedSource" subclass that uses the "DeviceSource.cpp" code as
a model, and use "TaskScheduler::turnOnBackgroundReadHandling()" to
schedule a handler that reads from the socket whenever new data arrives.
(Note the comments in "liveMedia/DeviceSource.cpp")
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


IMPORTANT NOTE: This e-mail and any attachment are confidential and may contain 
trade secrets and may also be legally privileged or otherwise protected from 
disclosure. If you have received it in error, you are herewith informed about 
its status. Please notify us immediately by reply e-mail and then delete this 
e-mail and any attachment from your system. You are prohibited from making use 
of or copying this e-mail or any attachment or disclosing the contents to any 
other person.

In case you become aware of any unethical business behavior or violation of 
laws, particularly those against the Anti-corruption laws and Anti-trust laws, 
Siemens Compliance HelpDesk "Tell us" can be reached at 
www.siemens.com.cn/compliancehelpdesk

<Disclaimer in Chinese below, characters may not be displayed correctly.>

????:???????????,???????????????????????????,????????????,?????????????????????????????????????,??????????????????????????????
?????????????????,?????????????????,????????????"Tell 
us"??,???www.siemens.com.cn/compliancehelpdesk


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

Reply via email to