Mediarecorder 视频 RTP/RTSP 流!
我能够使用 Mediarecorder 类录制 Android 的相机。
我听说 sipdroid (videocamera.java ) 将录制的视频作为 RTP 流发送。
我尝试过并且能够做同样的事情。
但是我如何接收RTP流并在PC上播放呢?
我也听说在 Sipdroid 中,在服务器(PBXes)端,他们将这些流转换为 RTSP 流并将其传递回 videocamera.java 文件。
谁能帮我将 RTP 流转换为 RTSP 流?
I am able to Record Android's Camera Using Mediarecorder Class.
I heard that sipdroid (videocamera.java ) sends the recorded video as RTP streams.
I tried that and able to do the same.
But how do i receive the RTP streams and play it in PC?
I too heard that in Sipdroid,on the server (PBXes )side they were converting these streams into RTSP streams and passing it back to videocamera.java file.
Can anyone help me in converting RTP Streams to RTSP streams?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不存在 RTSP 流这样的东西,RTSP 是一种会话管理协议(如是 SIP),并允许您使用 RTP 设置流式传输。其中,端口号是在会话启动期间传递的。当使用RTSP时,实际媒体仍然使用RTP发送。阅读 RFC 以获取有关任一协议的更多信息。
There is no such thing as an RTSP stream, RTSP is a session management protocol (as is SIP) and lets you setup streaming using RTP. Amongst other things the port numbers are communicated during session initiation. When RTSP is used, the actual media is still sent using RTP. Read the RFCs for more info on either protocol.