Page 1 of 1

When playing,how to record the stream?

Posted: 26 Sep 2008 13:51
by Koalar
Hello,everyone.
Now my problem is,when the RTSP stream is playing,the client click the record button and want to save the stream.In this case,what should I do?There are two problems here:
1.It is not a good way to stop the playing stream and change the command line parameters to display and record at the same time,and then connect to the server and play the stream again.Because this will stop the playing every time the client record the stream.
2.It is also not a good way to start another thread to connect the server and record the stream,because it will receive a double amount of data from the server but it is a waste.
How to solve this problem?Thank you for your help! :)

Re: When playing,how to record the stream?

Posted: 11 Oct 2008 10:40
by Koalar
Haha,problem solved.I can send the stream to local and then receive it and record it.Thanks. :)