Beispiel #1
0
class AudioSettingsExtension(AudioSettings):
    directory = Setting(type=UserDataPath, default=UserDataPath('history'))
    alert_device = Setting(type=str, default='system_default', nillable=True)
    input_device = Setting(type=str, default='system_default', nillable=True)
    output_device = Setting(type=str, default='system_default', nillable=True)
    sample_rate = Setting(type=SampleRate, default=32000)
    echo_canceller = EchoCancellerSettingsExtension
    enable_aec = RuntimeSetting(type=bool, default=True)
    sound_card_delay = RuntimeSetting(type=NonNegativeInteger, default=2)
    automatic_device_switch = Setting(type=bool, default=True)
    pause_music = Setting(type=bool, default=True)
    per_device_aec = Setting(type=str, default=None, nillable=True)
class VideoSettings(SettingsGroup):
    device = Setting(type=str, default='system_default', nillable=True)
    resolution = Setting(type=VideoResolution, default=VideoResolution('1280x720'))
    framerate = Setting(type=int, default=25)
    max_bitrate = Setting(type=float, default=None, nillable=True)
    muted = RuntimeSetting(type=bool, default=False)
    h264 = H264Settings
Beispiel #3
0
class AudioSettings(SettingsGroup):
    alert_device = Setting(type=str, default='system_default', nillable=True)
    input_device = Setting(type=str, default='system_default', nillable=True)
    output_device = Setting(type=str, default='system_default', nillable=True)
    sample_rate = Setting(type=SampleRate, default=44100)
    muted = RuntimeSetting(type=bool, default=False)
    silent = Setting(type=bool, default=False)
    echo_canceller = EchoCancellerSettings
Beispiel #4
0
class PresenceSettingsExtension(PresenceSettings):
    state = RuntimeSetting(type=str, nillable=True, default=None)
    note = RuntimeSetting(type=str, nillable=True, default=None)
Beispiel #5
0
class XCAPSettingsExtension(XCAPSettings):
    enabled = Setting(type=bool, default=True)
    icon = RuntimeSetting(type=UserIcon, nillable=True, default=None)