openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
rtspstreamserver.cpp File Reference
#include <sys/select.h>
#include <unistd.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <pwd.h>
#include <shadow.h>
#include <crypt.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <time.h>
#include <linux/dvb/frontend.h>
#include <linux/dvb/dmx.h>
#include <linux/dvb/ca.h>
#include <linux/dvb/version.h>
#include <iomanip>
#include <sstream>
#include <lib/base/modelinformation.h>
#include <lib/base/eerror.h>
#include <lib/base/init.h>
#include <lib/base/init_num.h>
#include <lib/base/wrappers.h>
#include <lib/base/nconfig.h>
#include <lib/base/cfile.h>
#include <lib/base/e2avahi.h>
#include <lib/dvb/decoder.h>
#include <lib/dvb/rtspstreamserver.h>
#include <lib/dvb/encoder.h>
#include <lib/dvb/db.h>
#include <lib/dvb_ci/dvbci.h>
#include <lib/network/uri.h>
#include "absdiff.h"

Macros

#define _ADD_PIDS   1
 
#define _DEL_PIDS   2
 
#define _PIDS   3
 
#define SYS_DVBC2   19
 
#define SYS_DVBT2   16
 

Functions

 DEFINE_REF (eRTSPStreamServer)
 

Variables

static int global_stream_id = 0
 
const char * app_name = "enigma2"
 
const char * version = "0.1"
 
std::set< eServiceReferenceDVBprocessed_sr
 
const char * fe_delsys []
 
const char * fe_pol [] = {"h", "v", "l", "r", NULL}
 
const char * event_desc [] = {"NoResources", "TuneFailed", "NoPAT", "NoPATEntry", "NoPMT", "NewProgramInfo", "Tuned", "PreStart", "SOF", "EOF", "Misconfiguration", "HBBTVInfo", "Stopped"}
 
const char * fe_inversion []
 
const char * fe_rolloff []
 
const char * fe_modulation_sat []
 
const char * fe_modulation_ter []
 
const char * fe_modulation_cab []
 
const char * fe_pilot []
 
const char * fe_fec []
 
const char * fe_bw []
 
const char * fe_tmode []
 
const char * fe_gi []
 
eAutoInitPtr< eRTSPStreamServerinit_eRTSPStreamServer (eAutoInitNumbers::service+1, "RTSP Stream server")
 

Macro Definition Documentation

◆ _ADD_PIDS

#define _ADD_PIDS   1

◆ _DEL_PIDS

#define _DEL_PIDS   2

◆ _PIDS

#define _PIDS   3

◆ SYS_DVBC2

#define SYS_DVBC2   19

◆ SYS_DVBT2

#define SYS_DVBT2   16

Function Documentation

◆ DEFINE_REF()

DEFINE_REF ( eRTSPStreamServer  )

Variable Documentation

◆ app_name

const char* app_name = "enigma2"

◆ event_desc

const char* event_desc[] = {"NoResources", "TuneFailed", "NoPAT", "NoPATEntry", "NoPMT", "NewProgramInfo", "Tuned", "PreStart", "SOF", "EOF", "Misconfiguration", "HBBTVInfo", "Stopped"}

◆ fe_bw

const char* fe_bw[]
Initial value:
=
{"8", "7", "6", " ",
#define NULL
Definition: eerror.h:101

◆ fe_delsys

const char* fe_delsys[]
Initial value:
=
{"undefined", "dvbc", "dvbcb", "dvbt", "dss", "dvbs", "dvbs2", "dvbh", "isdbt",
"isdbs", "isdbc", "atsc", "atscmh", "dmbth", "cmmb", "dab", "dvbt2",
"turbo", "dvbcc", "dvbc2",

◆ fe_fec

const char* fe_fec[]
Initial value:
=
{"", "12", "23", "34", "56", "78", "89", "35", "45", "910", "67", "25", "none",

◆ fe_gi

const char* fe_gi[]
Initial value:
=
{"132", "116", "18", "14", "",
"1128", "19128", "19256", "pn420", "pn595", "pn945",

◆ fe_inversion

const char* fe_inversion[]
Initial value:
=
{"off", "on", "",

◆ fe_modulation_cab

const char* fe_modulation_cab[]
Initial value:
=
{"", "16qam", "32qam", "64qam", "128qam", "256qam",

◆ fe_modulation_sat

const char* fe_modulation_sat[]
Initial value:
=
{"", "qpsk", "8psk", "16qam", "16apsk", "32apsk", "dqpsk",

◆ fe_modulation_ter

const char* fe_modulation_ter[]
Initial value:
=
{"qpsk", "16qam", "64qam", "", "256qam",

◆ fe_pilot

const char* fe_pilot[]
Initial value:
=
{"on", "off", "",

◆ fe_pol

const char* fe_pol[] = {"h", "v", "l", "r", NULL}

◆ fe_rolloff

const char* fe_rolloff[]
Initial value:
=
{"0.35", "0.20", "0.25", "",

◆ fe_tmode

const char* fe_tmode[]
Initial value:
=
{"2k", "8k", "",
"4k", "1k", "16k", "32k", "c1", "c3780",

◆ global_stream_id

int global_stream_id = 0
static

◆ init_eRTSPStreamServer

eAutoInitPtr<eRTSPStreamServer> init_eRTSPStreamServer(eAutoInitNumbers::service+1, "RTSP Stream server") ( eAutoInitNumbers::service 1,
"RTSP Stream server"   
)

◆ processed_sr

std::set<eServiceReferenceDVB> processed_sr

◆ version

const char* version = "0.1"