handler.startShareRequest(meetingId, userId, session);
}
public void requestShareToken(Map<String, Object> msg) {
Boolean record = (Boolean) msg.get("record");
String meetingId = Red5.getConnectionLocal().getScope().getName();
<BUG>String userId = (String) Red5.getConnectionLocal().getAttribute("USERID");
if (log.isDebugEnabled()) {</BUG>
log.debug("Received startShareRequest for meetingId=" + meetingId + " from user=" + userId);
}
<BUG>handler.requestShareToken(meetingId, userId, record);
</BUG>
}

handler.startShareRequest(meetingId, userId, session);
}
public void requestShareToken(Map<String, Object> msg) {
Boolean record = (Boolean) msg.get("record");
String meetingId = Red5.getConnectionLocal().getScope().getName();
String userId = (String) Red5.getConnectionLocal().getAttribute("USERID");
Boolean tunnel = (Boolean) msg.get("tunnel");
if (log.isDebugEnabled()) {
log.debug("Received startShareRequest for meetingId=" + meetingId + " from user=" + userId);
}
handler.requestShareToken(meetingId, userId, record, tunnel);
}
