本文整理汇总了Java中javax.media.rtp.ReceiveStreamListener类的典型用法代码示例。如果您正苦于以下问题:Java ReceiveStreamListener类的具体用法?Java ReceiveStreamListener怎么用?Java ReceiveStreamListener使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ReceiveStreamListener类属于javax.media.rtp包,在下文中一共展示了ReceiveStreamListener类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: addReceiverListener
import javax.media.rtp.ReceiveStreamListener; //导入依赖的package包/类
/**
* Add Receive Listeners. It monitors RTCP packets and signalling.
*
* @param listener listener to add
*/
public void addReceiverListener(ReceiveStreamListener listener) {
this.receiveListeners.add(listener);
for (int i = 0; i < rtpMgrs.length; i++) {
rtpMgrs[i].addReceiveStreamListener(listener);
}
}
开发者ID:visit,项目名称:spark-svn-mirror,代码行数:12,代码来源:VideoChannel.java
示例2: removeReceiverListener
import javax.media.rtp.ReceiveStreamListener; //导入依赖的package包/类
/**
* Removes Receive Listener.
*
* @param listener listener to remove
*/
public void removeReceiverListener(ReceiveStreamListener listener) {
this.receiveListeners.remove(listener);
for (int i = 0; i < rtpMgrs.length; i++) {
rtpMgrs[i].removeReceiveStreamListener(listener);
}
}
开发者ID:visit,项目名称:spark-svn-mirror,代码行数:12,代码来源:VideoChannel.java
示例3: remevoAllReceiverListener
import javax.media.rtp.ReceiveStreamListener; //导入依赖的package包/类
/**
* Removes All Receive Listeners.
*/
private void remevoAllReceiverListener() {
for (ReceiveStreamListener listener : receiveListeners) {
for (int i = 0; i < rtpMgrs.length; i++) {
rtpMgrs[i].removeReceiveStreamListener(listener);
}
}
this.receiveListeners.clear();
}
开发者ID:visit,项目名称:spark-svn-mirror,代码行数:12,代码来源:VideoChannel.java
示例4: addReceiverListener
import javax.media.rtp.ReceiveStreamListener; //导入依赖的package包/类
/**
* Add Receive Listeners. It monitors RTCP packets and signalling.
*
* @param listener listener to add
*/
public void addReceiverListener(ReceiveStreamListener listener) {
audioChannel.addReceiverListener(listener);
}
开发者ID:visit,项目名称:spark-svn-mirror,代码行数:9,代码来源:AudioMediaSession.java
示例5: removeReceiverListener
import javax.media.rtp.ReceiveStreamListener; //导入依赖的package包/类
/**
* Removes Receive Listener.
*
* @param listener listener to remove
*/
public void removeReceiverListener(ReceiveStreamListener listener) {
audioChannel.removeReceiverListener(listener);
}
开发者ID:visit,项目名称:spark-svn-mirror,代码行数:9,代码来源:AudioMediaSession.java
示例6: addReceiverListener
import javax.media.rtp.ReceiveStreamListener; //导入依赖的package包/类
/**
* Add Receive Listeners. It monitors RTCP packets and signalling.
*
* @param listener listener to add
*/
public void addReceiverListener(ReceiveStreamListener listener) {
videoChannel.addReceiverListener(listener);
}
开发者ID:visit,项目名称:spark-svn-mirror,代码行数:9,代码来源:VideoMediaSession.java
示例7: removeReceiverListener
import javax.media.rtp.ReceiveStreamListener; //导入依赖的package包/类
/**
* Removes Receive Listener.
*
* @param listener listener to remove
*/
public void removeReceiverListener(ReceiveStreamListener listener) {
videoChannel.removeReceiverListener(listener);
}
开发者ID:visit,项目名称:spark-svn-mirror,代码行数:9,代码来源:VideoMediaSession.java
注:本文中的javax.media.rtp.ReceiveStreamListener类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论