Skip to content

Combining multiple streams #10

Open
@LadaBr

Description

@LadaBr

Hello, I really like your player. I am trying to create VOIP in JS using Web Audio Worklet and socket.io. I managed to make it work smoothly in one-to-many (input-outputs) scenario but when there are multiple PCM streams broadcasted simultaneously into one pcm-player feed then it slowly becomes broken. After a while there is like 1 minute delay and audio is disorted. I send them in default size (Float32Array 128) from worklet to socket and then broadcast it to all connected pcm-player feeds. (Approximately 125 messages per second for each stream)

How would you play multiple raw PCM microphone streams in your pcm-player? Should they be merged together? If so then how? Or you can just feed them into the player all at the same time?

Thanks a lot for help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions