RTP 视频流:是否必须存在 SDP 文件? [英] RTP video stream: is presence of SDP file mandatory?

查看:80
本文介绍了RTP 视频流:是否必须存在 SDP 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经实现了一个原始的 rtp 流.我想使用 VLC 或 Mplayer 播放它.但似乎视频播放器无法播放此流.

I have implemented a raw rtp stream. I want to play it using VLC or Mplayer. But it seems that video players cannot play this stream.

例如 MPlayer 说:

For example MPlayer says:

Stream not seekable!
Stray packet (seq[6]=1013 seq=987, newseq=-26 found at 12)

我不知道我必须做什么才能让视频播放器可以阅读视频.我应该添加 SDP 吗?或者这些播放器可以播放原始的 rtp 流?

I dont get any idea what I have to do, to make video readable by this videoplayers. Should I add SDP ? Or theese players can play raw rtp stream ?

谢谢

推荐答案

只要接收器知道流的格式,就不需要 SDP.流不可搜索意味着数据包没有按预期顺序到达接收器.尝试增加玩家的缓冲时间.

SDP is not required as long as receiver is aware of format of the streams. Stream not seekable means packets are not arriving at receiver sequentially as expected. Try with increase buffering time of players.

这篇关于RTP 视频流:是否必须存在 SDP 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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