首页 | 本学科首页   官方微博 | 高级检索  
     

基于JMF的网上语音答疑讨论系统的设计与实现
引用本文:赵新慧,李文超. 基于JMF的网上语音答疑讨论系统的设计与实现[J]. 辽宁石油化工大学学报, 2005, 25(4): 71-74
作者姓名:赵新慧  李文超
作者单位:辽宁石油化工大学信息工程学院,辽宁,抚顺,113001;辽宁石油化工大学信息工程学院,辽宁,抚顺,113001
摘    要:介绍了Java媒体框架应用编程接口JMF的结构特点,阐述了利用JMF实现声音的实时捕捉和组播, 给出了网上实时语音答疑讨论系统的设计及实现过程。所开发的网上实时语音答疑讨论系统,实现了教师与学生以及学生与学生之间在网上的实时交流。系统把组播组的成员分为Server和Client两种。系统中的数据流分为两类,一类是音频数据流,采用JMF提供的RTP协议进行组播传输和接收;另一类是发言申请和响应的文本数据流, 采用java.net包中的MulticastSocket类来实现组播和接收。分别由两个线程来处理两类数据流。系统经过在校园网上运行测试,结果比较令人满意。

关 键 词:组播  Java媒体框架  实时传输协议  语音
文章编号:1672-6952(2005)04-0071-04
收稿时间:2005-07-06
修稿时间:2005-09-16

Design and Implementation of Voice Question Answering and Discussing System Based on JMF
ZHAO Xin-hui,LI Wen-chao. Design and Implementation of Voice Question Answering and Discussing System Based on JMF[J]. Journal of Liaoning University of Petroleum & Chemical Technology, 2005, 25(4): 71-74
Authors:ZHAO Xin-hui  LI Wen-chao
Abstract:The characteristics of Java media framework (JMF) API were introduced. The implementation of real - time capture and transportation of sound based on JMF was presented in detail. The process of design and implementation of a real - time question answering and discussing system was offered. The system realizes real - time communication between teachers and students or among students. There are two kinds of members in multicast group: Server and Client. Data streams are divided to two parts in the system. One is audio - frequency data stream that is transmitted and received through RTP provided by JMF. The other is text data stream that is managed with MulticastSocket class in Java, net packet. Each data stream is handled with a thread. Having been run in campus net, the system has a good performance.
Keywords:Multicast   Java media framework   Real time transport protocol   Voice
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号