enigma2
2.6
|
Public Member Functions | |
def | __init__ (self) |
def | setupConfig (self) |
def | loadConfig (self) |
def | start (self) |
def | setEncoderService (self, service) |
def | getEncoderService (self) |
def | isAnyEnabled (self) |
def | stopEncoderService (self) |
def | enableRTSP (self, enabled, path, port, user, password) |
def | enableHLS (self, enabled, path, port, user, password) |
def | isEnabled (self) |
def | getInputMode (self) |
def | setInputMode (self, mode) |
def | getAudioBitrate (self) |
def | setAudioBitrate (self, bitrate) |
def | getVideoBitrate (self) |
def | setVideoBitrate (self, bitrate) |
def | getAutoBitrate (self) |
def | setAutoBitrate (self, auto) |
def | getGopLength (self) |
def | setGopLength (self, length) |
def | getGopOnSceneChange (self) |
def | setGopOnSceneChange (self, enabled) |
def | getOpenGop (self) |
def | setOpenGop (self, enabled) |
def | getBFrames (self) |
def | setBFrames (self, bFrames) |
def | getPFrames (self) |
def | setPFrames (self, pFrames) |
def | getSlices (self) |
def | setSlices (self, slices) |
def | getLevel (self) |
def | setLevel (self, level) |
def | getProfile (self) |
def | setProfile (self, profile) |
def | getFramerate (self) |
def | setFramerate (self, rate) |
def | getResolution (self) |
def | setResolution (self, res) |
def | setUpstream (self, state, host, port, token) |
def | getUpstreamState (self) |
def | getSourceState (self) |
def | getRtspClientcount (self) |
def | zapNext (self) |
def | zapPrev (self) |
Public Attributes | |
onAvailabilityChanged | |
onSourceStateChanged | |
onUpstreamStateChanged | |
onUpstreamBitrateChanged | |
onRtspClientCountChanged | |
onUriParametersChanged | |
config | |
Static Public Attributes | |
FEATURE_SCENE_DETECTION = HardwareInfo().get_device_name() in ["dm900", "dm920"] | |
FEATURE_SLICES = HardwareInfo().get_device_name() in ["dm900", "dm920"] | |
string | FRAME_RATE_25 = "25" |
string | FRAME_RATE_30 = "30" |
string | FRAME_RATE_50 = "50" |
string | FRAME_RATE_60 = "60" |
string | FRAME_RATE_23_976 = "23.976" |
string | FRAME_RATE_24 = "24" |
string | FRAME_RATE_29_97 = "29.97" |
string | FRAME_RATE_59_94 = "59.94" |
list | FRAME_RATES |
dictionary | FRAME_RATE_LUT |
dictionary | FRAME_RATE_LUT_REVERSE = {v: k for k, v in six.iteritems(FRAME_RATE_LUT)} |
list | LEVELS |
list | PROFILES |
tuple | RES_1080 = (1920, 1080) |
tuple | RES_720 = (1280, 720) |
tuple | RES_PAL = (720, 576) |
string | RES_KEY_1080P = "1080p" |
string | RES_KEY_720P = "720p" |
string | RES_KEY_PAL = "576p" |
dictionary | RESOLUTIONS |
dictionary | RESOLUTION_KEY |
list | AUDIO_BITRATE_LIMITS = [32, 448] |
list | VIDEO_BITRATE_LIMITS = [256, 20000] |
list | PORT_LIMITS = [1, 65535] |
dictionary | INPUT_MODES |
int | ENCODER_TARGET = 2 |
int | RTSP_STATE_DISABLED = 0 |
int | RTSP_STATE_IDLE = 1 |
int | RTSP_STATE_RUNNING = 2 |
UPSTREAM_STATE_DISABLED = eStreamServer.UPSTREAM_STATE_DISABLED | |
UPSTREAM_STATE_CONNECTING = eStreamServer.UPSTREAM_STATE_CONNECTING | |
UPSTREAM_STATE_WAITING = eStreamServer.UPSTREAM_STATE_WAITING | |
UPSTREAM_STATE_TRANSMITTING = eStreamServer.UPSTREAM_STATE_TRANSMITTING | |
UPSTREAM_STATE_OVERLOAD = eStreamServer.UPSTREAM_STATE_OVERLOAD | |
UPSTREAM_STATE_ADJUSTING = eStreamServer.UPSTREAM_STATE_ADJUSTING | |
dictionary | READABLE_UPSTREAM_STATE |
string | URI_PARAM_REF = "ref" |
string | URI_PARAM_VIDEO_BITRATE = "video_bitrate" |
string | URI_PARAM_AUDIO_BITRATE = "audio_bitrate" |
int | ENCODER_SERVICE_SET = 0 |
int | ENCODER_SERVICE_ALREADY_ACTIVE = 1 |
int | ENCODER_SERVICE_INVALID_MODE = -1 |
int | ENCODER_SERVICE_INVALID = -2 |
int | ENCODER_SERVICE_INSUFFICIENT_RESOURCES = -3 |
Properties | |
encoderService = property(getEncoderService, setEncoderService) | |
enabled = property(isEnabled) | |
inputMode = property(getInputMode, setInputMode) | |
audioBitrate = property(getAudioBitrate, setAudioBitrate) | |
videoBitrate = property(getVideoBitrate, setVideoBitrate) | |
autoBitrate = property(getAutoBitrate, setAutoBitrate) | |
gopLength = property(getGopLength, setGopLength) | |
gopOnSceneChange = property(getGopOnSceneChange, setGopOnSceneChange) | |
openGop = property(getOpenGop, setOpenGop) | |
bFrames = property(getBFrames, setBFrames) | |
pFrames = property(getPFrames, setPFrames) | |
slices = property(getSlices, setSlices) | |
level = property(getLevel, setLevel) | |
profile = property(getProfile, setProfile) | |
framerate = property(getFramerate, setFramerate) | |
resolution = property(getResolution, setResolution) | |
upstreamState = property(getUpstreamState) | |
sourceState = property(getSourceState) | |
rtspClientCount = property(getRtspClientcount) | |
def Components.StreamServerControl.StreamServerControl.__init__ | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.enableHLS | ( | self, | |
enabled, | |||
path, | |||
port, | |||
user, | |||
password | |||
) |
def Components.StreamServerControl.StreamServerControl.enableRTSP | ( | self, | |
enabled, | |||
path, | |||
port, | |||
user, | |||
password | |||
) |
def Components.StreamServerControl.StreamServerControl.getAudioBitrate | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getAutoBitrate | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getBFrames | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getEncoderService | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getFramerate | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getGopLength | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getGopOnSceneChange | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getInputMode | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getLevel | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getOpenGop | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getPFrames | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getProfile | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getResolution | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getRtspClientcount | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getSlices | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getSourceState | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getUpstreamState | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.getVideoBitrate | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.isAnyEnabled | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.isEnabled | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.loadConfig | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.setAudioBitrate | ( | self, | |
bitrate | |||
) |
def Components.StreamServerControl.StreamServerControl.setAutoBitrate | ( | self, | |
auto | |||
) |
def Components.StreamServerControl.StreamServerControl.setBFrames | ( | self, | |
bFrames | |||
) |
def Components.StreamServerControl.StreamServerControl.setEncoderService | ( | self, | |
service | |||
) |
def Components.StreamServerControl.StreamServerControl.setFramerate | ( | self, | |
rate | |||
) |
def Components.StreamServerControl.StreamServerControl.setGopLength | ( | self, | |
length | |||
) |
def Components.StreamServerControl.StreamServerControl.setGopOnSceneChange | ( | self, | |
enabled | |||
) |
def Components.StreamServerControl.StreamServerControl.setInputMode | ( | self, | |
mode | |||
) |
def Components.StreamServerControl.StreamServerControl.setLevel | ( | self, | |
level | |||
) |
def Components.StreamServerControl.StreamServerControl.setOpenGop | ( | self, | |
enabled | |||
) |
def Components.StreamServerControl.StreamServerControl.setPFrames | ( | self, | |
pFrames | |||
) |
def Components.StreamServerControl.StreamServerControl.setProfile | ( | self, | |
profile | |||
) |
def Components.StreamServerControl.StreamServerControl.setResolution | ( | self, | |
res | |||
) |
def Components.StreamServerControl.StreamServerControl.setSlices | ( | self, | |
slices | |||
) |
def Components.StreamServerControl.StreamServerControl.setupConfig | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.setUpstream | ( | self, | |
state, | |||
host, | |||
port, | |||
token | |||
) |
def Components.StreamServerControl.StreamServerControl.setVideoBitrate | ( | self, | |
bitrate | |||
) |
def Components.StreamServerControl.StreamServerControl.start | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.stopEncoderService | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.zapNext | ( | self | ) |
def Components.StreamServerControl.StreamServerControl.zapPrev | ( | self | ) |
|
static |
Components.StreamServerControl.StreamServerControl.config |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Components.StreamServerControl.StreamServerControl.onAvailabilityChanged |
Components.StreamServerControl.StreamServerControl.onRtspClientCountChanged |
Components.StreamServerControl.StreamServerControl.onSourceStateChanged |
Components.StreamServerControl.StreamServerControl.onUpstreamBitrateChanged |
Components.StreamServerControl.StreamServerControl.onUpstreamStateChanged |
Components.StreamServerControl.StreamServerControl.onUriParametersChanged |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |