Sha256: fa41deb303f60da8b86424add98f9ef870621f1df4268633a761906ba8237981

Contents?: true

Size: 931 Bytes

Versions: 4

Compression:

Stored size: 931 Bytes

Contents

require 'opus-ruby'
require 'active_support/inflector'
require 'mumble-ruby/version'
require 'mumble-ruby/thread_tools'
require 'mumble-ruby/messages'
require 'mumble-ruby/connection'
require 'mumble-ruby/model'
require 'mumble-ruby/user'
require 'mumble-ruby/channel'
require 'mumble-ruby/client'
require 'mumble-ruby/audio_player'
require 'mumble-ruby/packet_data_stream'
require 'mumble-ruby/img_reader'
require 'mumble-ruby/cert_manager'
require 'mumble-ruby/audio_recorder'
require 'hashie'

module Mumble
  DEFAULTS = {
    sample_rate: 48000,
    bitrate: 32000,
    ssl_cert_opts: {
      cert_dir: File.expand_path("./"),
      country_code: "US",
      organization: "github.com",
      organization_unit: "Engineering"
    }
  }

  def self.configuration
    @configuration ||= Hashie::Mash.new(DEFAULTS)
  end

  def self.configure
    yield(configuration) if block_given?
  end

  Thread.abort_on_exception = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mumble-ruby-1.1.3 lib/mumble-ruby.rb
mumble-ruby-1.1.2 lib/mumble-ruby.rb
mumble-ruby-1.1.1 lib/mumble-ruby.rb
mumble-ruby-1.1.0 lib/mumble-ruby.rb