开发者

Using the Real Time Messaging Protocol (RTMP) in Flash

Flash can use the RTMP protocol to exchange data between a server and a client.

  1. How do you typically access this functionality in AS2 or AS3/Flex? For example to use sockets you开发者_如何学编程 use the XMLSocket (AS2) or Socket (AS3) classes.

  2. Does the server-side RTMP software use Sockets under the covers? or is it HTTP with tunneling?

The Real-Time Messaging Protocol (RTMP) was designed for high-performance transmission of audio, video, and data between Adobe Flash and a server. RTMP is now available as an open specification to create products and technology that enable delivery of video, audio, and data in the open AMF, SWF, FLV, and F4V formats compatible with Adobe Flash Player.


In Flash you use NetConnection. In Flex you typically use RemoteObject, but you can also use NetConnection.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜