Changeset 425a85df64f1c1671ea9536f0140a611a1e0d7a5
- Timestamp:
- 06/29/08 19:42:09
(2 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1214761329 +0300
- git-parent:
[4e72534d7da8bb2cda63791ffe4d611e7dcf0929]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1214761293 +0300
- Message:
RTP: avoid loosing the first received packet
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r3e3e405 |
r425a85d |
|
| 269 | 269 | } |
|---|
| 270 | 270 | |
|---|
| | 271 | /* Be optimistic for the first packet. Certain codec, such as Vorbis |
|---|
| | 272 | * do not like loosing the first packet(s), so we cannot just wait |
|---|
| | 273 | * for proper sequence synchronization. And we don't want to assume that |
|---|
| | 274 | * the sender starts at seq=0 either. */ |
|---|
| | 275 | if (src->blocks == NULL) |
|---|
| | 276 | src->max_seq = seq - p_sys->max_dropout; |
|---|
| | 277 | |
|---|
| 271 | 278 | /* Check sequence number */ |
|---|
| 272 | 279 | /* NOTE: the sequence number is per-source, |
|---|