Module: Mumble
- Defined in:
- lib/mumble-ruby.rb,
lib/mumble-ruby/user.rb,
lib/mumble-ruby/model.rb,
lib/mumble-ruby/client.rb,
lib/mumble-ruby/channel.rb,
lib/mumble-ruby/version.rb,
lib/mumble-ruby/messages.rb,
lib/mumble-ruby/connection.rb,
lib/mumble-ruby/img_reader.rb,
lib/mumble-ruby/audio_player.rb,
lib/mumble-ruby/cert_manager.rb,
lib/mumble-ruby/thread_tools.rb,
lib/mumble-ruby/audio_recorder.rb,
lib/mumble-ruby/packet_data_stream.rb
Defined Under Namespace
Modules: Messages, ThreadTools
Classes: AudioPlayer, AudioRecorder, CertManager, Channel, ChannelNotFound, Client, Connection, ImgReader, ImgTooLarge, Model, NoSupportedCodec, PacketDataStream, UnsupportedImgFormat, User, UserNotFound
Constant Summary
collapse
- DEFAULTS =
{
sample_rate: 48000,
bitrate: 32000,
ssl_cert_opts: {
cert_dir: File.expand_path("./"),
country_code: "US",
organization: "github.com",
organization_unit: "Engineering"
}
}
- VERSION =
"1.1.3"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
30
31
32
|
# File 'lib/mumble-ruby.rb', line 30
def self.configuration
@configuration ||= Hashie::Mash.new(DEFAULTS)
end
|
34
35
36
|
# File 'lib/mumble-ruby.rb', line 34
def self.configure
yield(configuration) if block_given?
end
|