PhonoSDK Java Applet
Phono Version 0.3 now supports Java Applets in addition to Flash! Our Java Applet has even lower latency on VoIP calls which is perfect for enterprise call centers or controlled environments that want HD audio / Wideband call performance with very low latency measured in milliseconds.
Note: For most consumer-facing sites, we still recommend using Flash due to its more pervasive deployment base.
If you would prefer to use our Java Applet on the desktop, we have provided a new audio property on Phono and a Java Applet availability detector. It sets the desired audio client to engage on the web browser or mobile device. Valid options include: auto, flash, java, and none. This property is optional and is defaulted to auto which means:
- if on desktop, flash
- if on android, android
- if on ios, ios
We have provided a handy Java detection utility that can used like so. Note: If Java is not detected, Phono will fallback to Flash.
$(document).ready(function(){ var audioType = 'auto'; if (navigator.javaEnabled()) { audioType = 'java'; }Once you have determined if Java is installed on the your client, you can now set the audio property when initializing Phono in your jQuery script like so:
var phono = $.phono({ apiKey: "YOUR_KEY_GOES_HERE", audio: {type:audioType}, onReady: function(event) { // stuff } });Note: If you are running MacOS Lion, you may need to follow these instructions for getting Java applets to automatically load in your web browser.
©2011 The Phono Blog. All Rights Reserved.
.
Originally from All Voxeo Blogs Feed
Leave a Reply