Re: RTSP
От: xentry  
Дата: 11.09.09 13:29
Оценка:
Здравствуйте, nikname1, Вы писали:

N>Как на стороне сервера задаются параметры: Session, server_port, ssrc для ответа на запрос клиента SETUP (клиент и сервер общаются по RTSP протоколу)?


rfc 2326 по этому поводу говорит следующее:

A session identifier MUST be chosen
randomly and MUST be at least eight octets long to make guessing it
more difficult. (See Section 16.)

server_port — в случае udp транспорта первая свободная пара (там их 2 — rtp и rtcp)
ssrc — это synchronization source, rfc 3550

The SSRC is a 32-bit integer, chosen randomly by participants when they join the session. Having chosen an SSRC identifier, the participant uses it in the packets it sends out. Because SSRC values are chosen locally, two participants can select the same value. Such collisions may be detected when one application receives a packet from another that contains the SSRC identifier chosen for itself.

 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.