上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 63 下一页
摘要: 我底层传输使用JxtaMulticastSocket,以便能在JXTA平台使用JMF的RTP支持。在RTPConnector的实现类中有/***AninnerclasstoimplementanPushSourceStreambasedonUDPsockets.*/classSockInputStreamextendsThreadimplementsPushSourceStream{JxtaMulticastSocketsock; // ... other declariationpublicSockInputStream(JxtaMulticastSocketsock){this.sock. 阅读全文
posted @ 2011-10-21 17:22 网络大豆 阅读(583) 评论(1) 推荐(0) 编辑
摘要: Screen Grabber [DataSource] To capture the contents of the screen and feed it to a JMF player or Processor for purposes such as saving screen shots to disk or transmitting live using RTP. Java 2 v.1.3 introduced a new class, Robot, that provides screen capture facilities. Since this is similar to... 阅读全文
posted @ 2011-10-20 18:23 网络大豆 阅读(683) 评论(0) 推荐(0) 编辑
摘要: http://www.cs.odu.edu/~cs778/jmfexamples/———————————————————————————————————————————————————————————————————————————————————————————————— Transmitting Audio and Video over RTP The AVTransmit2 class is similar to VideoTransmit except that it attempts to transmit each of the tracks within the give... 阅读全文
posted @ 2011-10-20 18:21 网络大豆 阅读(1668) 评论(0) 推荐(0) 编辑
摘要: 好多,不知道哪个是原版了,随便给个地址http://hi.baidu.com/qinfengling/blog/item/7125f503750265753812bb23.html/cmtid/aa3aa3ec89f82a33269791a2————————————————————————————————————————————————————————————————————花了两天的时间,终于弄清楚了RTP传输问题了。拿出来和大家分享一下,使用的测试程序是sun公司提供的AVReceive2.java和AVTransmit2.java,大家可以在网上下载,也可以在我的Blog中下载。 主.. 阅读全文
posted @ 2011-10-20 11:02 网络大豆 阅读(5641) 评论(1) 推荐(1) 编辑
摘要: 如何在不安装JMF软件包的情况下使用JMF——————————————————————————————————————————————————————————————————最近有同学问我一个问题,就是如何在不安装JMF软件包的情况下使用JMF来做多媒体应用程序的开发。我之前曾做过相关的项目开发,一点经验和大家分享。 JMF即Java Media Framework,是Sun公司针对多媒体应用开发的一个Java扩展包,目前已经开放源代码。做过Java多媒体程序开发的朋友应该知道,如果要使用 JMF的话,必须首先安装一个JMF的软件包。安装后我们需要从安装目录中提出一个jmf.jar的扩展包.. 阅读全文
posted @ 2011-10-20 09:17 网络大豆 阅读(761) 评论(0) 推荐(1) 编辑
摘要: Pictures and icons used within an application are not loaded over the installer, but over acentral ImageUtilities class in the NetBeans world. The method loadImage() should be used.An icon manager manages images and icons, preventing repeated loading of resources.Use it to load icons from all availa 阅读全文
posted @ 2011-10-18 12:38 网络大豆 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 1 在模块根目录下编辑mode文件,例如chatEditor.wsmode<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE mode PUBLIC "-//NetBeans//DTD Mode Properties 2.1//EN" "http://www.netbeans.org/dtds/mode-properties2_1.dtd"><mode version="2.1"> <name unique=& 阅读全文
posted @ 2011-10-18 12:38 网络大豆 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 否则编译时会出现错误error: cannot access XXX序列化时需要访问实现类,故实现类也必须放在共有接口\java.io.IOException: Unable to create a messenger to jxta://cbid-59616261646162614A787461503250339B80947442A966E8BEC09A04724886F203/PipeService/urn:jxta:cbid-A1B68F40F0E84E66A8A7C66DCB652BCD9989972C7C7A4D87AD35941B9EE5DDE204 at net.jxta.imp 阅读全文
posted @ 2011-10-18 12:37 网络大豆 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Plugin-specific settings, used internally as well as by the user, are managed via the Preferencesclass or the IPreferenceStore class in Eclipse RCP, which is set up via the Activator class. TheNetBeans Platform takes a slightly different approach. Managing settings is handled by the JavaPreferences 阅读全文
posted @ 2011-10-18 12:35 网络大豆 阅读(233) 评论(0) 推荐(0) 编辑
摘要: PipeStateListener和PipeEventListener先看二者的定义/*** The listener interface for receiving JxtaBiDiPipe * events.* * The following example illustrates how to implement a {@link net.jxta.util.PipeStateListener}:** PipeStateListener myListener = new PipeStateListener() {** public void pipeEvent(int event) {* 阅读全文
posted @ 2011-10-18 12:29 网络大豆 阅读(322) 评论(0) 推荐(0) 编辑
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 63 下一页