Closed keepingitneil closed 1 year ago
not safe to merge atm, need to ensure synchronisations are still OK
sorry @keepingitneil for stealing your PR with my changes lol
sorry @keepingitneil for stealing your PR with my changes lol
haha teamwork!
Previously, AudioStreams and VideoStreams would emit frames as an event. Here we make them async iterators. This makes working with streams a bit more ergonomic. State specific to a stream can live with the logic of frame handling. For example: