alta / swift-rtp

RTP in Swift
MIT License
26 stars 8 forks source link

Making Packet Sendable #4

Closed msdrigg closed 5 months ago

msdrigg commented 5 months ago

So this makes packet (and a few sub-structs) sendable.

This, however is not sufficient for this package to be built with swift 6 mode. That would probably require making Connection an actor or doing some other trickery to ensure that callbacks to contentProcessed are threadsafe, and I don't have time to do that right now.

If you would like to see that, I can come back through this later with another PR. Just let me know what you think.

msdrigg commented 5 months ago

Oh this resolves #3

ydnar commented 5 months ago

Rebase?

msdrigg commented 5 months ago

Done!