How is the Wami Recorder actually implemented?

前端 未结 1 491
有刺的猬
有刺的猬 2020-12-31 17:47

I\'m very new to the Wami Recorder, and I\'ve never worked with Flash at all, so this may actually be a dumb question.

Basically, how does one go about implementing

1条回答
  •  执笔经年
    2020-12-31 18:05

    Yeah, the documentation is not very clear. I spent all afternoon yesterday figuring it out. Here's a simple implementation that works on my local machine. The following files are stored under my Apache document root in "/temp/wami/test", so the URL is "http://localhost/temp/wami/test/":

    index.html
    recorder.js
    save_file.php
    Wami.swf

    index.html

        
        
        
            
            
            
        
    
        
            

    save_file.php

        

    That should do it. Unfortunately, there doesn't appear to be a way to pause and then resume recording. Each time you start recording it overwrites the previous audio. There also doesn't appear to be a way to retrieve information about the audio file (e.g. length, size). See the Wami recorder file (recorder.js) for a full list of recorder functions.

    0 讨论(0)
提交回复
热议问题