Skip to content

Broadcasting voice/audio to all users #7

@hugoponthieu

Description

@hugoponthieu

Implementing audio/video transport

You should first complete #19 and #27.
We need to implement the service to broadcast audio and video. We are using web sockets to stream those data. You can see here what are the flow we want to implement.

The method should be implemented in the gateway. The "audio" message is emitted with a StreamPayload that should look likes this:

interface StreamPayload {
	channel_id: string
	audio: Blob
}

When "audio" message is received by the server the server re-emit in all sockets of the same room the StreamPayload

You can see an implementation here
You can see more specification of that flow here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions