badName.setDetails(name);
badName.setLevel("error");
// FIXME: there should be a direct way to send the status
Channel channel = ((RTMPConnection) streamConn).getChannel((byte) (4 + ((streamId-1) * 5)));
channel.sendStatus(badName);
return;
}
IClientStream stream = streamConn.getStreamById(streamId);
if (stream != null && !(stream instanceof IClientBroadcastStream)) {