Beispiel #1
0
class OggIcecastConfig(Config):
    """Configuration class for OggIcecast Plugin."""
    ip = options.StringOption("127.0.0.1")
    port = options.IntegerOption(8000)
    password = options.StringOption("hackme")
    mount = options.StringOption("stream.ogg")
    audio_quality = options.FloatOption(0.3)
    video_bitrate = options.IntegerOption(2400)
Beispiel #2
0
class DesktopLinuxSrcConfig(Config):
    """Configuration settings for linux desktop video plugin."""

    # ximagesrc
    desktop = options.StringOption("Full")
    screen = options.IntegerOption(0)
    window = options.StringOption("")

    # Area Select
    start_x = options.IntegerOption(0)
    start_y = options.IntegerOption(0)
    end_x = options.IntegerOption(0)
    end_y = options.IntegerOption(0)
Beispiel #3
0
class RTMPOutputConfig(Config):
    """Configuration class for RTMPOut plugin."""
    url = options.StringOption('')
    audio_quality = options.IntegerOption(3)
    video_bitrate = options.IntegerOption(2400)
    video_tune = options.ChoiceOption(TUNE_VALUES, 'none')
    audio_codec = options.ChoiceOption(AUDIO_CODEC_VALUES, 'lame')
    streaming_destination = options.ChoiceOption(STREAMING_DESTINATION_VALUES,
                                                 'custom')
    streaming_key = options.StringOption('')
    consumer_key = options.StringOption('')
    consumer_secret = options.StringOption('')
    authorization_url = options.StringOption('')
    use_justin_api = options.StringOption('no')
    justin_api_persistent = options.StringOption('')
Beispiel #4
0
class FreeseerConfig(Config):
    """General Freeseer profile settings."""

    videodir = options.FolderOption('~/Videos', auto_create=True)
    auto_hide = options.BooleanOption(False)
    enable_audio_recording = options.BooleanOption(True)
    enable_video_recording = options.BooleanOption(True)
    videomixer = options.StringOption('Video Passthrough')
    video_quality = options.IntegerOption(Quality.CUSTOM)
    audiomixer = options.StringOption('Audio Passthrough')
    audio_quality = options.IntegerOption(Quality.CUSTOM)
    record_to_file = options.BooleanOption(True)
    record_to_file_plugin = options.StringOption('Ogg Output')
    record_to_stream = options.BooleanOption(False)
    record_to_stream_plugin = options.StringOption('RTMP Streaming')
    audio_feedback = options.BooleanOption(False)
    video_preview = options.BooleanOption(True)
    default_language = options.StringOption(detect_system_language())
Beispiel #5
0
class TestConfig(Config):
    option1 = options.StringOption('hello')
    option2 = options.IntegerOption(1337)
Beispiel #6
0
class OggIcecastConfig(Config):
    """Configuration class for OggIcecast Plugin."""
    ip = options.StringOption("127.0.0.1")
    port = options.IntegerOption(8000)
    password = options.StringOption("hackme")
    mount = options.StringOption("stream.ogg")
Beispiel #7
0
class VideoPassthroughConfig(Config):
    """Configuration class for VideoPassthrough plugin."""
    input = options.StringOption("Video Test Source")
    input_type = options.StringOption("video/x-raw-rgb")
    framerate = options.IntegerOption(30)
    resolution = options.StringOption("NOSCALE")
Beispiel #8
0
class OggOutputConfig(Config):
    """Configuration class for OggOutput plugin."""
    matterhorn = options.IntegerOption(0)
    audio_quality = options.FloatOption(0.3)
    video_bitrate = options.IntegerOption(2400)
Beispiel #9
0
class TestFakeConfig(Config):
    string = options.StringOption("Bar")
    integer = options.IntegerOption(0)
    number = options.FloatOption(3.14)
    boolean = options.BooleanOption(False)
Beispiel #10
0
class VideoPassthroughConfig(Config):
    """Configuration class for VideoPassthrough plugin."""
    input = options.StringOption("Video Test Source")
    input_type = options.StringOption("video/x-raw-rgb")
    framerate = options.IntegerOption(30)
    resolution = options.ChoiceOption(widget.resmap.keys(), "No Scaling")
Beispiel #11
0
class MyConfig(Config):
    option1 = options.IntegerOption(1337)
    option2 = options.StringOption()