about rtmp channel

RTMP与HTTP通道对比
本文探讨了LCDS提供的RTMP通道与基于HTTP的通道之间的区别。RTMP通道为SWF文件与服务器间建立了双向套接字连接,而HTTP通道如AMFChannel或HTTPChannel则在浏览器级别建立连接,并封装了HTTP会话。文章还讨论了这两种通道在连接到不同类型的端点时如何处理HTTP会话。
LCDS provides a RTMP channel which is a duplex socket connection between the SWF file and the server. It means the server is immediately notified when the underlying SWF file is disconnected.

In a RTMP channel, the FlexSession on the LCDS server is scoped to the underlying RTMP connection from the single SWF file. while in an HTTP-based channel, such as AMFChannel or HTTPChannel, the FlexSession on the LCDS server is scoped to the browser and wraps an HTTP session. If the HTTP-based channel connects to a servlet-based endpoint, the underlying HTTP session is a J2EE HttpSession object. If the channel connects to an NIO-based endpoint, the underlying HTTP session supports the FlexSession API, but it is disjointed from the application server HttpSession object.
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值