Due to limitations in the Active/NPAPI interfaces, the plugin's DataChannel has limited support to different data types.
Sending a string
The plugin behaves exactly the same way as Chrome and Firefox when sending a string :
The following ArrayBuffer types can be sent using the plugin:
When you receive the data on the other side of the data channel, you can then use:
We suggest sending ArrayBuffers by transforming them in typed arrays first:
Examples of how to use the data channel
Please see our test samples for example of how to integrate the DataChannel in your web-application: