Skip to content

Unable to Subscribe to and Play Remote Audio in Janus Video #5

@MiguelASTavares

Description

@MiguelASTavares

Description
I'm working on a streaming project using the JanusVideoRoomPlugin and have successfully joined a room, published two camera streams, and an audio stream from a microphone. However, I'm encountering difficulties subscribing to the audio stream from another participant in the room and playing it back on a Raspberry Pi.

I've been experimenting with the subscribe_and_start() function but haven't had any success. Despite multiple attempts, the remote audio does not play.

Setup Details
Janus Plugin: JanusVideoRoomPlugin

Transport: Secure WebSockets (wss://)

Device: Raspberry Pi

Streaming:

✅ Successfully publishing two camera streams

✅ Successfully publishing an audio stream

❌ Unable to subscribe to and play back remote audio

Steps Taken
Successfully connected to the Janus server and joined the room.

Published video and audio streams without issues.

Attempted to subscribe to the remote audio stream using subscribe_and_start().

Verified that the other participant’s audio stream is active.

Any guidance would be greatly appreciated!

Thank you for your time and 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