Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
titleDocumentation deprecated

This documentation was updated for versions 0.8.869 and above. The visit the new documentation. 


Due to limitations in the plugin interface, we had to delegate part of the data sending implementation to javascript.
This documents explains how this was done, and what the repercussion of this solutions are.

Sending a string

If you use the plugin so send a string with this call:


Then the plugin is directly sending the string "data" to the other side of the data channel.

Sending a non string data

If you send one of the following types:


Temasys considered it the best available solution and does not plan on releasing a different implementation in the close future.

Sending other types of data

Sending other types of data will lead to unexpected behaviour. You data might be sent successfully, some of it might be lost or corrupted, or the plugin could even crash.


  1. The implementation of string sending is that same as it was before.
  2. You should not override the functions _Tem_ab2str nor _Tem_str2ab.
  3. Overriding these functions might lead to unexpected behaviours

Examples of how to use the data channel

We adapted the dataChannel sample provided by Google to work with the plugin, and implemented a second test for sending non-string elements.