Skip to content
Snippets Groups Projects
Commit fd4931f2 authored by Pedro Beschorner Marin's avatar Pedro Beschorner Marin
Browse files

Refactored common-messages in bbb-video redis publisher

parent 397c3731
No related branches found
No related tags found
No related merge requests found
package org.bigbluebutton.red5.pubsub;
import org.bigbluebutton.common.messages.*;
import org.bigbluebutton.common.messages.MessagingConstants;
import org.bigbluebutton.common.messages.Constants;
import org.bigbluebutton.common.messages.UserSharedWebcamMessage;
import org.bigbluebutton.common.messages.UserUnshareWebcamRequestMessage;
import org.bigbluebutton.common.messages.StartTranscoderRequestMessage;
import org.bigbluebutton.common.messages.StopTranscoderRequestMessage;
import java.util.HashMap;
import java.util.Map;
......@@ -70,6 +75,7 @@ public class MessagePublisher {
}
public void stopTranscoderRequest(String meetingId, String userId) {
// TODO: transcoderId is getting userId, this may have to change
StopTranscoderRequestMessage msg = new StopTranscoderRequestMessage(meetingId, userId);
sender.send(MessagingConstants.TO_BBB_TRANSCODE_SYSTEM_CHAN, msg.toJson());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment