CSRC и SSRC в RTP

148
06 июля 2019, 08:30

Реализую протокол RTP, не могу разобраться с RTP Payload Format for H.264 Video а если точнее быть то с первыми 4 байтами в CSRC. Точного описания в гугле не найдено , может кто нибудь может хоть как то объяснить как это должно работать.

Answer 1

Я тут копнул еще рфц-3550 (https://tools.ietf.org/html/rfc3550)

SSRC: 32 bits
The SSRC field identifies the synchronization source. This
identifier SHOULD be chosen randomly, with the intent that no two
synchronization sources within the same RTP session will have the
same SSRC identifier. An example algorithm for generating a
random identifier is presented in Appendix A.6. Although the
probability of multiple sources choosing the same identifier is
low, all RTP implementations must be prepared to detect and
resolve collisions. Section 8 describes the probability of
collision along with a mechanism for resolving collisions and
detecting RTP-level forwarding loops based on the uniqueness of
the SSRC identifier. If a source changes its source transport
address, it must also choose a new SSRC identifier to avoid being
interpreted as a looped source (see Section 8.2).

CSRC list: 0 to 15 items, 32 bits each
The CSRC list identifies the contributing sources for the payload
contained in this packet. The number of identifiers is given by
the CC field. If there are more than 15 contributing sources,
only 15 can be identified. CSRC identifiers are inserted by
mixers (see Section 7.1), using the SSRC identifiers of
contributing sources. For example, for audio packets the SSRC
identifiers of all sources that were mixed together to create a
packet are listed, allowing correct talker indication at the
receiver.

Извиняйте, что ответом, в комент не влезло)

READ ALSO
Установка библиотеки BLAS в MVS

Установка библиотеки BLAS в MVS

3дравствуйте, пытаюсь установить библиотеку BLAS в MVS, делаю все по инструкции, остановился на одном моменте(скриншот приложил)

169
Не загружаются шрифты в SFML

Не загружаются шрифты в SFML

Изучая библиотеку SFML возникла проблема с подключением шрифтов

162
Что есть “Цикл для контейнера”?

Что есть “Цикл для контейнера”?

В задаче написано с помощью "Цикла для контейнера" заполнить контейнер единицамиВозник вопрос, что это такое? (Как оказалось, это не цикл for)

144
Где хранится информация о потоках?

Где хранится информация о потоках?

Когда я создаю объект потока std::thread, я получаю поток в ядре? Имеется ввиду что ядро будет знать о потоке и если например из потока сделаю вызов...

153