How do I record video to a local disk in AIR?

前端 未结 5 1804
孤街浪徒
孤街浪徒 2021-02-04 15:27

I\'m trying to record a webcam\'s video and audio to a FLV file stored on the users local hard disk. I have a version of this code working which uses NetConnection and NetStrea

5条回答
  •  一向
    一向 (楼主)
    2021-02-04 16:20

    My solution was to embed Red5 into AIR. Sharing with you my article

    http://mydevrecords.blogspot.com/2012/01/local-recording-in-adobe-air-using-red5.html

    In general, the solution is to embed free media server Red5 into AIR like an asset. So, the server will be present in AIR application folder. Then, through the NativeProcess, you can run Red5 and have its instance in memory. As result, you can have local video recording without any network issues.

提交回复
热议问题