cberner / raptorq

Rust implementation of RaptorQ (RFC6330)
Apache License 2.0
264 stars 47 forks source link

Fix symbol IDs assigned to encoding packets #165

Closed mlegner closed 5 months ago

mlegner commented 6 months ago

Previously, we incorrectly assigned internal symbol IDs (ISIs) to the PayloadId of EncodingPackets. According to RFC 6330, it should be the encoding symbol IDs (ESIs). This commit fixes this inconsistency.

BREAKING CHANGE: As the assignment of symbol IDs changes, encoding packets generated before this change cannot be decoded by the new version and vice-versa.

Closes #164