通訊協定及相關說明

同步教室系統有用到 RTP/RTCP; 所以架設同步系統, 需要在防火牆開通特定的 TCP/UDP port, 除了 HTTP用的 80, 443, 1935(FMS), 7443(sSIP); UDP 的部份則是 16384~32768FMS(1935) , 整理一下同步教室伺服器, 需要請網管開放對外port:
TCP ports 80, 443, 1935, and 7443
UDP ports in the range 16384 - 32768
以下對系統使用的 TCP/UDP port 說明:

Flash Media Server(1935)

Flash Media Server. 1935 Port protoco 是 RTMP, (https://helpx.adobe.com/adobe-media-server/kb/ports-firewalls-flash-media-server.html)。

SIP(7443)

非 SIP規定, 同步系統本身作為內部 Proxy 用(所以在未來有可能會變動)。

FreeSwitch/HTML5 RTP streams (UDP: 16384~32768)

主要是RTP 使用, 雖然RTP標準沒有強制規定,但為了系統相容性採用 168384/32768(以下說明)。
RTP(Realtime Transport Protocol) can carry any data with real-time characteristics, such as interactive audio and video. RTP in general is described in RFC 3550. This range is not registered.Although there are no standards assigned, RTP is generally configured to use ports 16384-32768.
RTP主要是用於Internet上針對多媒體資料流的一種傳輸層協議。RTP協議詳細說明了在網際網路上傳遞音訊和視訊的標準資料包格式。  詳細的 RTP 在 IETF RFC 3550/3551內;

RTP

RTP-實時傳輸協議(Real-time Transport Protocol), 是針對在網際網路上進行媒體數據流傳輸而提出的,它的目的是提供時間訊息和實現串流同步;RTP/RTCP是實際傳輸資料的協議 RTP傳輸音訊/視訊資料,如果是PLAY,Server傳送到Client端,如果是RECORD,可以由Client傳送到Server。
整個RTP由兩個密切相關的協議組成:RTP資料協議和 RTP控制協議(即RTCP) 

RTCP

RTCP包括Sender Report和Receiver Report,用來進行音訊/視訊的同步以及其他用途,是一種控制協議。



以下是關於 RTP 使用 UDP Port 的相關資訊:
**see Are there specific ports assigned to RTP?(http://www.cs.columbia.edu/~hgs/rtp/faq.html#ports)

RTP/RCTP

RTP can carry any data with real-time characteristics, such as interactive audio and video. 
The Real-time Transport Protocol is a network protocol used to deliver streaming audio and video media over the internet, thereby enabling the Voice Over Internet Protocol (VoIP).
Realtime Transport Protocol. RTP in general is described in RFC 3550. This range is not registered.
Although there are no standards assigned, RTP is generally configured to use ports 16384-32767.
see Are there specific ports assigned to RTP?(http://www.cs.columbia.edu/~hgs/rtp/faq.html#ports)


https://tools.ietf.org/html/rfc6295 RTP Payload Format for MIDI in Page 103
https://tools.ietf.org/html/rfc6295#appendix-D  在附錄D也有提到相同的
midi-field         = four-octet
                       ;
                       ; Large range accommodates Chapter M
                       ; RPN (0-16383), NRPN (16384-32767)
                       ; parameters, and Chapter X octet sizes.
Moodle RTP Port 16384-32767
reference from: 
https://www.slideserve.com/molimo/rtp-real-time-transport-protocol
Cisco Voice over IP (CVOICE)
http://what-when-how.com/cisco-voice-over-ip-cvoice/voip-fundamentals-introducing-voice-over-ip-networks-part-2/
https://wiki.innovaphone.com/index.php?title=Howto:What_Ports_are_used_for_Signaling_and_Voice_Traffic_in_SIP_and_H.323%3F
http://albert-oma.blogspot.com/2012/05/rtp.html
http://www.chebucto.ns.ca/~rakerman/port-table.html





Comments