Timeout error in mutePublishedTrack
ShubhamJuIT opened this issue · 3 comments
ShubhamJuIT commented
Describe the bug
I am trying to mute audio of remote participant using mutePublishedTrack but i everytime i am getting timout eror
Expected behavior
It should return success or error if anything goes wrong on livekit server
Device Info:
- Java Version: [e.g. Java 11]
- LiveKit Server SDK version: [e.g. 0.4.0]
Additional context
NA
davidzhao commented
@ShubhamJuIT please include snippet of the call you are making. are you using LiveKit Cloud?
ShubhamJuIT commented
Here is my code snipppet. Yes i am using livekit cloud.
public LivekitModels.TrackInfo mutePublishedTrack(LivekitRoom.MuteRoomTrackRequest request) {
Call<LivekitModels.TrackInfo> call = liveKitClient.mutePublishedTrack(request.getRoom(), request.getIdentity(), request.getTrackSid(), request.getMuted());
try {
Response<LivekitModels.TrackInfo> response = call.execute();
LivekitModels.TrackInfo rooms = response.body();
return rooms;
} catch (IOException e) {
log.error("Exception in muting participant", e);
return null;
}
}
davidliu commented
@ShubhamJuIT this seems like either a connectivity issue or a livekit cloud issue. Closing since it can't be reproduced locally.