big-application-86058
12/10/2025, 5:10 PMTwirpError(code=failed_precondition, message=remote unmute not enabled, status=412tall-airline-16756
12/10/2025, 5:10 PMtall-airline-16756
12/10/2025, 5:10 PMfailed_precondition (HTTP 412) because remote unmute is not enabled. Remote unmute is disabled by default for privacy/security.
How to enable remote unmute
• LiveKit Cloud: turn on "Admins can remotely unmute tracks" in your project settings (Project settings).
• Self‑hosted: set room.enable_remote_unmute: true in your server config YAML.
Once enabled, use the MutePublishedTrack API with muted: false to remotely unmute the track.
Would you like steps for where to find that setting in the Cloud UI or the exact YAML snippet for self‑hosted configs?
Sources: Managing participants | LiveKit docsbig-application-86058
12/10/2025, 5:13 PMtall-airline-16756
12/10/2025, 5:13 PMroom.enable_remote_unmute: true in your server YAML.
If you want, I can show the exact YAML snippet or point to the Cloud UI setting location.big-application-86058
12/10/2025, 5:14 PMtall-airline-16756
12/10/2025, 5:14 PMroom.enable_remote_unmute setting in your server config YAML:
room:
enable_remote_unmute: true
After enabling, use the MutePublishedTrack API with muted: false to remotely unmute a participant.
Would you like the exact place to click in the Cloud UI (I can describe it step‑by‑step) or an example API request for MutePublishedTrack?big-application-86058
12/10/2025, 5:16 PMtall-airline-16756
12/10/2025, 5:17 PMroom.enable_remote_unmute: true) allows admins to remotely unmute any participant.
• Participants can always mute/unmute their own tracks locally regardless of admin settings.
Would you like the exact YAML snippet again or an example MutePublishedTrack request?
Sources: Managing participants | LiveKit docs | Camera & microphone | LiveKit docsbig-application-86058
12/10/2025, 7:21 PMasync with LiveKitAPI() as lkapi:
await lkapi.room.mute_published_track(
MuteRoomTrackRequest(
room=self.room_name,
identity=participant.identity,
track_sid=publication.sid,
muted=False,
)
)tall-airline-16756
12/10/2025, 7:21 PMroom.enable_remote_unmute: true for self‑hosted).
Next steps I can help with
• Show how to create a RoomAdmin token (or confirm the token your agent is using has the RoomAdmin grant).
• Verify the project/room remote unmute setting.
Which would you like me to show?big-application-86058
12/10/2025, 7:22 PMtall-airline-16756
12/10/2025, 7:22 PMMutePublishedTrack to unmute others (and remote unmute must be enabled in settings).
How to create a RoomAdmin token (concept)
1. Create a server-signed grant that includes roomAdmin: true for the target room or for all rooms.
2. Return that token to the agent/service that will call the LiveKit server API.
Example (Python) — issuing a RoomAdmin token using the server SDK (pseudo/code sketch; adapt to your key storage and environment):
from livekit_server_sdk import Keypair, AccessToken, Grants
api_key = "YOUR_API_KEY" # server API key
api_secret = "YOUR_API_SECRET" # server API secret
# create grants with roomAdmin
grants = Grants(room_admin=True, room="room_name") # or room=None for all rooms
token = AccessToken(api_key, api_secret, identity="admin-agent", grants=grants).to_jwt()
print(token)
Use that token when calling the server API (your existing code)
• Ensure the LiveKitAPI client is authenticated with the RoomAdmin token (for the server-side Twirp/gRPC client).
• Your snippet is correct for calling the API; just confirm the client is using the RoomAdmin token:
async with LiveKitAPI(token=room_admin_token) as lkapi:
await lkapi.room.mute_published_track(
MuteRoomTrackRequest(
room=self.room_name,
identity=participant.identity,
track_sid=publication.sid,
muted=False,
)
)
Remember to enable remote unmute
• LiveKit Cloud: enable "Admins can remotely unmute tracks" in Project Settings.
• Self-hosted: set room.enable_remote_unmute: true in your server YAML.
If you want, I can:
• Show the exact parameter names for your language SDK (confirm which SDK/version you're using), or
• Verify whether your current token has RoomAdmin by inspecting it (paste a redacted token or tell me your SDK language). Which would you prefer?