Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move filter fields to end of CBytePerfMon to make CBytePerfMon backwa…
…rd compatible Many srt applications use srt library dynamically. If application compiled with 1.3.4 srt.h but then maintainer released srt 1.4.0 for this application everything will work fine as api is backward compatible, SRT_SOCKOPT is backward compatible, srt_setsockopt will just fail if you give it new unknown options etc. But CBytePerfMon is not backward compatible now and this may be a problem if use want to switch from one srt version to another. All we need to do is just add new options to the end of CBytePerfMon and don't remove old ones. CBytePerfMon was the same from 1.3 till recent 1.4. Unfortunately I missed this commit before 1.4 was released but it's not late to move new "filter-related" params to the end of the structure and follow SRT_SOCKOPT-like rule for CBytePerfMon update
- Loading branch information