无法获取SDP说明:LIVE555中找不到404流testRTSPClient [英] Failed to Get SDP Description : 404 Stream not found testRTSPClient in LIVE555

查看:843
本文介绍了无法获取SDP说明:LIVE555中找不到404流testRTSPClient的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Live555的新手,最近开始学习一些有关它的知识.文档指出,一个很好的测试是尝试使用源代码中testProgs文件夹中提供的示例.因此,我开始测试live555源代码中现成的一些程序.

I am new to Live555 and have recently started to learn a few things about it. The docs state that a good test would be to try out the samples given in testProgs folder that is in the source code. So, I have started to test a few programs which are readily available in the live555 source.

在mediaServer文件夹中,我正在按照docs运行服务器,我应将电影文件(mp4)与exe放在同一位置.我做到了当我尝试打开客户端(testRTSPClient.exe)时, 如屏幕截图所示,我不断收到有关SDP描述的错误.

From the mediaServer folder I am running the server as per docs I should place the movie file (mp4) in the same place as the exe. Which I did. When I try to open the client (testRTSPClient.exe), I keep getting the error for SDP description as shown in the screen shot.

我做错了什么?这是否意味着我在客户端提供了SDP文件?目前在他们的文档中还看不到这样的陈述.

What am I doing wrong? Does it mean I provide a SDP files at the client end? Could not find such a statement in their docs which are pretty obscure at the moment.

提前谢谢!

推荐答案

到目前为止,live555MediaServer不支持mp4文件.

By now live555MediaServer doesnot support mp4 file.

启动时,它会打印出类似的内容:

When you start it, it prints something like :

LIVE555 Media Server
    version 0.84 (LIVE555 Streaming Media library version 2014.09.11).
Play streams from this server using the URL
    rtsp://192.168.0.16:8554/<filename>
where <filename> is a file present in the current directory.
Each file's type is inferred from its name suffix:
    ".264" => a H.264 Video Elementary Stream file
    ".265" => a H.265 Video Elementary Stream file
    ".aac" => an AAC Audio (ADTS format) file
    ".ac3" => an AC-3 Audio file
    ".amr" => an AMR Audio file
    ".dv" => a DV Video file
    ".m4e" => a MPEG-4 Video Elementary Stream file
    ".mkv" => a Matroska audio+video+(optional)subtitles file
    ".mp3" => a MPEG-1 or 2 Audio file
    ".mpg" => a MPEG-1 or 2 Program Stream (audio+video) file
    ".ogg" or ".ogv" or ".opus" => an Ogg audio and/or video file
    ".ts" => a MPEG Transport Stream file
        (a ".tsx" index file - if present - provides server 'trick play' support)
    ".vob" => a VOB (MPEG-2 video with AC-3 audio) file
    ".wav" => a WAV Audio file
    ".webm" => a WebM audio(Vorbis)+video(VP8) file
See http://www.live555.com/mediaServer/ for additional documentation.
(We use port 8000 for optional RTSP-over-HTTP tunneling, or for HTTP live streaming (for indexed Transport Stream files only).)

您应该使用一种受支持的格式,例如mkv.

You should use one of the supported format, for instance mkv.

这篇关于无法获取SDP说明:LIVE555中找不到404流testRTSPClient的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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