转自:安防论坛
http://bbs.csenn.com:88/thread-29-1-1.html
http://bbs.csenn.com:88/forum.php?gid=1
LIVE555 Streaming Media 库使用常见问题
一:基础问题
2. live555库在特殊场合怎么用(嵌入式系统 GUI toolkit)?
3. 线程“安全性”,能否被多个线程同时使用?
4. RTSP SERVER 能处理多少个并发连接?
5. 当我用live555流媒体接收rtp/udp数据的时候明显看到丢包现象,怎么改善?
6. 官方提供那些live555介绍使用文档?
二:代码问题
1. 哪里可以下到最新的代码?当前使用的是什么版本?
2. live555版本问题?
3. live555代码修改和扩展功能最好的办法?
4. 老版本的库还支持不?
5. live555为什么不把以前的版本保留下来?
三:测试例程问题(test programs)
1. 我已经成功地使用了“testRTSPClient”demo应用程序接收RTSP / RTP流。如果以这个为模型,我如何解码收到的视频(和/或音频)数据?
2. 当我用openRTSP接收视频流的时候,rtsp交互正常的,为什么文件是空的?
3. 我用"test*Streamer" 测试程序是从文件中获取视频,需要怎样修改代码才能从编码器实时获取来看到实时视频流呢?
4. "testOnDemandRTSPServer“demo (单播发送的流媒体服务器)是从文件中获取的码流, 怎样修改它才能实现实时预览?
5. 可以实现 RTSP SERVER和机顶盒之间的通信么?
6. RTSP程序支持快进,倒退操作么 ?
7. "test*Streamer" and "test*Receiver"都是组播通信,怎么改成单播的?
8. 大部分"test*Streamer" 内置rtsp server都是可定制的,为什么"testH264VideoStreamer" and "testWAVAudioStreamer",
9. "testAMRudioStreamer", "testMPEG4VideoStreamer"测试程序内置的rtsp server写死的?
10. 到哪去找"testMPEG4VideoStreamer" , "testOnDemandRTSPServer" ,"live555MediaServer" 测试用的 MPEG-4 视频流文件("test.m4e")?
11. 哪里有h264文件下载?
12. 哪里有测试用的AAC(ADTS format)文件下载?
13. 怎么发送JPEG视频通过RTP?
14. 运行”testMPEG1or2VideoStreamer”,出错“saw unexpected code 0x000001e0” 原因 ?
15. 发送MP3文件(使用“testMP3Streamer”或“testOnDemandRTSPServer”), 发现,QuickTime播放器播放不了?
16. 在测试demo中调用"doEventLoop()"没有返回?怎样才能返回(比如 点击 stop)?
17. live555代码中的消息循环代码(i.e., "BasicTaskScheduler")可以处理 file/socket I/O 事件和延时,怎样处理除此之外的事件呢(比如一个线程信号)?
18. 运行测试代码发送文件的时候不工作?
19. 运行测试代码OK,修改后不正常怎么办?
四:RTP/RTSP/SIP
1.使用"rtsp://" URL(使用testRTSPClient,openRTSP,VLC,和MPlayer)和"sip:"URL(playSIP)播放视频时,为什么出错”RTP payload format unknown or not supported"?
2.音频和视频用独立的RTP sessions,数据怎么同步的?
3.在视频刚开始的时候图像会出现突然的抖动直到第一个RTCP"SR"包收到后才正常为什么?
4.如果 RTP/RTCP, RTSP, or SIP 有问题到哪里去获得一些帮助?
四:RTP/RTSP/SIP
1.使用"rtsp://" URL(使用testRTSPClient,openRTSP,VLC,和MPlayer)和"sip:"URL(playSIP)播放视频时,为什么出错”RTP payload format unknown or not supported"?
2.音频和视频用独立的RTP sessions,数据怎么同步的?
3.在视频刚开始的时候图像会出现突然的抖动直到第一个RTCP"SR"包收到后才正常为什么?
4.如果 RTP/RTCP, RTSP, or SIP 有问题到哪里去获得一些帮助?
Live555 官网 常见问题解答:
http://www.live555.com/liveMedia/faq.html#threads
General questions
- What is the typical control flow within an application that uses these libraries, and what is the role of the various "Source" and "Sink" classes in the "liveMedia" library?
- How can I use this code within a specialized environment (such as an embedded system, or a GUI toolkit)?
- Is this code 'thread safe'? I.e., can it be accessed by more than one thread at the same time?
- How many concurrent connections/streams can a RTSP server (built using our code) support?
- When I use a receiver application (that uses the "LIVE555 Streaming Media" code) to receive an incoming RTP/UDP (or raw-UDP) stream, I see significant network packet loss. Can anything be done to improve this?