Adobe Flash to play RTSP stream?
I have a home made RTSP server that streams video to QuickTime clients. Now, I need to support Flash Player clients, because QuickTime needs some configuration to work on Windows, and also there is no implementation of it in Linux distributions. Then I opted for Flash.
BUT: does Flash support RTSP??? If not, where can I find documentation for its streaming protocol so I can b开发者_Python百科uild one?
Any details on this will be appreciated... thanx!
<< does Flash support RTSP??? NO.
FLASH is a container, flv is for video and fla for audio. Now.. everything below is Adobe's product.
Adobe's ---------------- Adobes's --------------------- Adobe's
Streaming Server RTMP Protocol Flash Player
a) Adobe's Streaming Server b) Adobe's RTMP Protocol c) Adobe's Flash Player d) F4v/Flv video format
These above software's are designed specifically for web applications to provide end user seamless, secured, uninterrupted, high quality video.
If you want some hands on then you can try Red5 (Open Source Flash Server written in Java) or rtpmd (C++ RTPM server)
Flash doesn't support RTSP. For streaming Flash uses RTMP.
RTSP spesification.
RTMP spesification.
BTW, what about VLC media player. VLC supports many formats and protocols including RTSP and exists on Win, Mac and Linux platforms.
There is now a player for this: Locomote Video Player. Disclaimer: I am the author.
Locomote supports RTSP (and RTMP[S,E,T], MP4 and FLV). It uses sockets to connect so a socket policy server is required.
If you want to do multicast streaming (you are on a LAN, you want to save bandwidth), you should search how to convert the RTSP to RTMFP, because RTMFP is the Adobe's recently "invented" proprietary protocol which supports multicasts just like the RTSP protocol does for a long time.
IMHO Adobe could just extend RTSP (it's extensible) and just define their specific payload to allow all existing RTSP players to implement it w/o much hassle, but they didn't.....
A Flash-based player can be made to support RTSP, providing that the RTSP protocol will be handled in an action script library. I don't know whether such exists.
Multicast streams are being sent over UDP and utilize multicast IP addresses like 224.0.0.221 for example. NOTE: Multicasts are not supported over the Internet, thus 're limited to a LAN where the switches support it.
精彩评论