如何在SIP / SDP呼叫中启动RTP流 [英] How to start RTP stream inside a SIP/SDP call

查看:362
本文介绍了如何在SIP / SDP呼叫中启动RTP流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已设法使用JAIN-SIP API for Java设置SIP呼叫。

I've managed to set up a SIP call using the JAIN-SIP API for Java.

现在我想在对话框播放后再播放一些视频成立。我已经读过SDP和RTP可以实现的,我已经找到了关于如何在SIP数据包中定义SDP / RTP主体的多个例子。

Now I would like to stream some video once a dialog has been established. I've read that this is possible with SDP and RTP, and I've found multiple examples on how to define a SDP/RTP body in a SIP packet.

但是一旦你在节点上协商了功能等,你如何实际启动RTP流?你是在Java应用程序之外或之内启动RTP流服务器吗?如果是这样,怎么样?链接是什么?

But once you have negotiated capability etc. on nodes, how do you actually start the RTP stream? Do you start an RTP streaming server outside or inside your Java application? If so, how? What is the link?

在我能够在网上找到的节点只是开始交换RTP数据包。

In what I'm able to find online, nodes just "start exchanging RTP packets".

谢谢。

推荐答案

您需要一个RTP堆栈。在您开始时,最好将所有内容保存在同一个应用程序中。 JMF (Java Media Framework),< a href =http://www.cs.odu.edu/~cs778/jmflects/lect7RTPArchitecture.html =nofollow noreferrer>(JMF-RTP架构)是一个很好的起点,不过还有其他像 JRTP 。 JMF视频细节可以在这里找到

You need an RTP stack. As you are starting out, it would be best to keep everything together in the same app. JMF(Java Media Framework),(JMF-RTP Architecture) is a good place to start, though there are others like JRTP. JMF video specifics can be found here

这篇关于如何在SIP / SDP呼叫中启动RTP流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆