How to sync multiple incoming streams for output to multistream HLS?

Hello.

I need to send rtmp streams from multiple devices (video+audio) to one local wowza and switch they on client side. I pack this streams to multistream HLS. Devices are get synchroneus video+audio and send it by rtmp stream. But there streams are not synchroneus on wowza, one video+audio stream is late of other video+audio stream.

How can I sync multiple incoming streams for output to multistream HLS?

some update: in test player of each input stream in wowza I see sync difference is < 1 sec. , but in HLS with video from stream1 and audio from stream2, synd difference is > 10 sec. why it? how can I get syncroneus streams?

Alexey

Any updates on this?