ITworld.com
  Search  
ITworld Home Page ITworld Webcasts ITworld White Papers ITworld Newsletters ITworld News ITworld Topics Careers ITworld Voices ITwhirled Changing the way you view IT
Media Access for All The media packages make JTAPI more useful
JAVA IN THE ENTERPRISE --- 09/24/2002

David Wall

Last time, we looked at the call control packages that make up part of the Java Telephony API (JTAPI). Call control, we saw, is concerned with initiating, modifying, and destroying the state of connections among two or more parties on a telephone call.

Once parties on a call have a connection, they will most likely want to do something with it. That is to say, they'll want to make noises that the other party or parties on the call can hear. The noises, encoded as an electronic signal, make up a media stream. The JTAPI media packages interact with that media stream.

The media classes can be used for everything from generating dialtone and other "user interface" sounds to coding Interactive Voice Response (IVR) units in Java (IVRs are those "press one, press two" menu things that everyone likes so much). In short, if a program needs to make a noise on a telephone connection, or listen to and react to such a sound, the JTAPI media classes need to be put into play.

The MediaTerminalConnection class defines a point at which a media stream can be monitored or modified. MediaTerminalConnection acts as the intermediary between the user's hardware and the relatively abstracted media stream.

 

David Wall works as a freelance writer, programmer, lecturer, and consultant. Based near Washington, D.C., David has written and co- written several books, including Graphics Programming with JFC. David can be reached at David.Wall@itworld.com.



 Home   Newsletters  JAVA IN THE ENTERPRISE
www.itworld.com    open.itworld.com     security.itworld.com     smallbusiness.itworld.com
storage.itworld.com     utilitycomputing.itworld.com     wireless.itworld.com

 
Contact Us   About Us   Privacy Policy    Terms of Service   Reprints  

CIO   Computerworld   CSO   GamePro   Games.net   Industry Standard   Infoworld   ITworld  
JavaWorld   LinuxWorld  MacUser   Macworld   Network World   PC World   Playlist  

DEMO   IDG Connect   IDG Knowledge Hub   IDG TechNetwork   IDG World Expo  

Copyright © Computerworld, Inc. All rights reserved

Reproduction in whole or in part in any form or medium without express written permission of Computerworld Inc. is prohibited. Computerworld and Computerworld.com and the respective logos are trademarks of International Data Group Inc.