rtp: Change RtpBasePay2::ssrc_collision from AtomicU64 to Option<u32>
Rust targets without support for AtomicU64
is still
somewhat common. Running
git grep -i 'max_atomic_width: Some(32)' | wc -l
in the Rust compiler repo currently counts to 34 targets.
Change the RtpBasePay2::ssrc_collision
from AtomicU64
to
Option<u32>
and move it to State
which is protected by a
AtomicRefCell
. This way we keep support for these targets.