본문 바로가기
RFC/RFC 3550

[RFC 3550] RTP 포트는 왜 짝수를 사용 할까?

by Jay Son 아기 냥이 해린 짱💖 2020. 11. 30.

RTP 관련 서적을 보다 "RTP 포트 번호는 항상 짝수이며 해당 RTCP 포트 번호는 그 다음 번호 홀수로 사용한다"는 내용 발견!!

RTP 포트는 왜 짝수를 사용 할까?

 

RTP Protocol의 경우 규격 문서 RFC 3550 문서로 정의되어 있어 찾아 보았습니다.

역시 RTP 포트와 RTCP 포트 짝수/홀수 사용에 대한 내용이 명확하게 정리되어 있습니다.

 

RFC 3550 문서 RTP: A Transport Protocol for Real-Time Applications 의 Section 11에 아래와 같이 정리되어 있다.

11. RTP over Network and Transport Protocols
For applications that take a single port number as a parameter and derive the RTP and RTCP port pair from that number, if an odd number is supplied then the application SHOULD replace that number with the next lower (even) number to use as the base of the port pair.

더 자세한 내용은 아래 RFC 3550 공식 문서에서 확인 가능합니다.

 

참고 : tools.ietf.org/html/rfc3550#section-11

 

반응형