Example #1
0
void MumbleClient::OnActivated()
{
	// send our own version
	MumbleProto::Version ourVersion;
	ourVersion.set_version(0x00010204);
	ourVersion.set_os("Windows");
	ourVersion.set_os_version("Cfx/Embedded");
	ourVersion.set_release("CitizenFX Client");

	this->Send(MumbleMessageType::Version, ourVersion);
}
Example #2
0
void mumlib::Transport::sendVersion() {
    MumbleProto::Version version;

    version.set_version(CLIENT_VERSION);
    version.set_os(CLIENT_OS);
    version.set_release(CLIENT_RELEASE);
    version.set_os_version(CLIENT_OS_VERSION);

    logger.info("Sending version information.");

    sendControlMessagePrivate(MessageType::VERSION, version);
}
Example #3
0
void MumbleClient::sendVersion()
{
    qDebug() << "sending version";
    MumbleProto::Version v;
    v.set_version(PROTOCOL_VERSION);
    v.set_release("QRadioLink 0.2");
    v.set_os("GNU/Linux");
    v.set_os_version("3.2");
    int size = v.ByteSize();
    quint8 data[size];
    v.SerializeToArray(data,size);
    quint16 type = 0;
    this->sendMessage(data,type,size);
    authenticate();
}