开发者

An applet to save a receiving RTP stream

开发者 https://www.devze.com 2023-02-13 22:12 出处:网络
I want to do something similar to this Save an Image to a File in a Applet? . But instead of just an image I want to save an RTP stream.

I want to do something similar to this Save an Image to a File in a Applet? .

But instead of just an image I want to save an RTP stream.

I am using the RTP Player code http://code.google.com/p/openmeetings/source/browse/trunk/webapp/src/screenviewer/RTPPlayerApplet.java?r=2353

Can this be done so that I could just 开发者_运维技巧add a command button to save stream and to stop saving the stream?


CAn this be done so that I could just add a command button to save stream and to stop saving the stream.

Yes. So long as the data is being sent back to the same server, the applet can be sand-boxed.

BTW - what is the source of the images?


I mis-read your question slightly. I thought you were trying to transmit the images back to the server. To save them to disk, why not follow the strategy I outlined in the linked thread?

To save your user the hassle of having to approve every single image sage, it would be better to compact all the images to a single file (e.g. Zip or MOV) that can hold all of them.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号