开发者

Flash library for webcam recording, wrapped in JS?

开发者 https://www.devze.com 2023-03-13 15:37 出处:网络
We want our users to be able to upload video streams to us, from their webcams. We\'re planning on using a service like Infuxis to handle the Flash Media Server side of things, but we need a client-si

We want our users to be able to upload video streams to us, from their webcams. We're planning on using a service like Infuxis to handle the Flash Media Server side of things, but we need a client-side SWF that'll do 开发者_如何学Cthe actual capturing.

Now, I know a little Flash, but not a lot. Ideally, I'd use an SWF that comes wrapped in a series of JS functions that'll allow me to control the process from within the browser (like this jQuery webcam plugin- but for video). Does anyone know of any?


You can check out cameratag.com. It provides a JS API for controlling a flash webcam recorder.


HDFVR is a commercial video recording product developed in Flash (so the final file is a swf file) that - among other features - has a great set of JS and server side APIs:

  • JS control API allows you to control HDFVR from JS
  • JS callback API notifies you about events in the swf (connection succeeded, upload done)
  • PHP/ASP/.NET/etc. server side API allows you to push the video info to the db

http://hdfvr.com/api


Camaratag don't provide such an option so You can download swf file from camaratag and save in local folder and change path in camaratag js

 swfobject.embedSWF("local_path/camera.swf", dom_id+"_swf_placeholder", "100%", "100%", '11.1.0', 'https://'+appServer+'/'+CameraTag.version+'/expressInstall.swf', flashvars, params, attributes, checkSWF);
0

精彩评论

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

关注公众号