[RTSP][2012-06-16] RTSP SETUP

Methods: SETUP

direction: Client to Server 
requirement: required 
目的: SETUP method 可以讓 Client 告知 Server 端, 它可以用何種 mechanism 接受資料, 即使是一個已經存在的 stream, Client 也可以用 SETUP method 告知 Server 轉換成另一種 mechanism ( 若 Server 不 允 許, 則 傳 回 error message:"45x Method not valid in this state" ).

Example:

C -> S : 
        SETUP rtsp://example.com/foo/bar/baz.rm RTSP/1.0 
        CSeq: 302 
        Transport: RTP/AVP;unicast;client_port=4588

S -> C : 
        RTSP/1.0 200 OK 
        CSeq: 302 
        Date: 23 Jan 1997 15:35:06 GMT 
        Transport: RTP/AVP;unicast;client_port=4588;server_port=6255

 

 

说明:

1. unicast: 单播

2. multicast:组播

3. broadcast:广播

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值