|
|
@ -34,7 +34,7 @@ Decoder fire an event *decode* whenever it completes decoding. Usually it decode
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Parameter | Remark |
|
|
|
|
| Name | Parameter | Remark |
|
|
|
|
| ------------- |:-------------:| -----:|
|
|
|
|
| ------------- |:-------------:| -----:|
|
|
|
|
| feed | - | raw PCM data | Usually get from ajax or websocket
|
|
|
|
| feed | raw PCM data | Usually get from ajax or websocket
|
|
|
|
| volume | decimal value 0.1 to 1 | For controlling volume of the player |
|
|
|
|
| volume | decimal value 0.1 to 1 | For controlling volume of the player |
|
|
|
|
| destroy | - | Destroy the player instance and release the resources |
|
|
|
|
| destroy | - | Destroy the player instance and release the resources |
|
|
|
|
|
|
|
|
|
|
|
|