Property | Type | Description | |
---|---|---|---|
_channelInfo | |||
_currentAudioStream | TvLibrary.Implementations.DVB.DVBAudioStream | ||
_eventPMT | |||
_graphBuilder | IFilterGraph2 | ||
_mdplugs | TvLibrary.Implementations.DVB.MDPlugs | ||
_pmtData | byte[] | ||
_pmtLength | int | ||
_pmtPid | int | ||
_pmtRequested | bool | ||
_pmtVersion | int | ||
_subChannelIndex | int | ||
_tsFilterInterface | ITsFilter |
Method | Description | |
---|---|---|
CancelTune ( ) : void |
cancels the tune
|
|
GetStreamQualityCounters ( int &totalBytes, int &discontinuityCounter ) : void |
Fetches the stream quality information
|
|
OnAfterTune ( ) : void |
Should be called when the graph is tuned to the new channel resets the state
|
|
OnBeforeTune ( ) : void |
Should be called before tuning to a new channel resets the state
|
|
OnCaReceived ( ) : int |
Called when tswriter.ax has received a new ca section
|
|
OnGraphStart ( ) : void |
Should be called when the graph is about to start Resets the state If graph is already running, starts the pmt grabber to grab the pmt for the new channel
|
|
OnGraphStarted ( ) : void |
Should be called when the graph has been started. Sets up the PMT grabber to grab the PMT of the channel when the graph hasn't been running previously
|
|
OnGraphStop ( ) : void |
Should be called when graph is about to stop. stops any timeshifting/recording on this channel
|
|
OnGraphStopped ( ) : void |
should be called when graph has been stopped Resets the graph state
|
|
OnPMTReceived ( int pmtPid ) : int |
Called when tswriter.ax has received a new pmt
|
|
TvDvbChannel ( ) : System |
Initializes a new instance of the TvDvbChannel class.
|
|
TvDvbChannel ( IFilterGraph2 graphBuilder, TvLibrary.Implementations.DVB.ConditionalAccess ca, TvLibrary.Implementations.DVB.MDPlugs mdplugs, IBaseFilter tif, IBaseFilter tsWriter, int subChannelId, IChannel channel ) : System |
Initializes a new instance of the TvDvbChannel class.
|
Method | Description | |
---|---|---|
GraphRunning ( ) : bool |
Checks if the graph is running
|
|
OnDecompose ( ) : void |
disposes this channel
|
|
OnGetTimeShiftFilePosition ( System.Int64 &position, long &bufferId ) : void |
Returns the position in the current timeshift file and the id of the current timeshift file
|
|
OnGrabTeletext ( ) : void |
A derrived class should activate or deactivate the teletext grabbing on the tv card.
|
|
OnStartRecording ( string fileName ) : void |
Starts recording
|
|
OnStartTimeShifting ( string fileName ) : bool |
sets the filename used for timeshifting
|
|
OnStopRecording ( ) : void |
Stop recording
|
|
OnStopTimeShifting ( ) : void |
Stop recording
|
|
SendPmtToCam ( bool &updatePids, int &waitInterval ) : bool |
Decodes the PMT and sends the PMT to cam.
|
|
SetMpegPidMapping ( |
maps the correct pids to the TsFileSink filter and teletext pins
|
|
SetRecorderPids ( ) : void |
Sets the pids for the recorder
|
|
SetTimeShiftPids ( ) : void |
Sets the pids for the timeshifter
|
|
SetupPmtGrabber ( int pmtPid, int serviceId ) : bool |
Instructs the ts analyzer filter to start grabbing the PMT
|
|
WaitForPMT ( ) : bool |
Wait for PMT to be found in the transport stream.
|
Method | Description | |
---|---|---|
PersistPMTtoDataBase ( int pmtPid ) : void | ||
ThrowExceptionIfTuneCancelled ( ) : void |
public GetStreamQualityCounters ( int &totalBytes, int &discontinuityCounter ) : void | ||
totalBytes | int | Amount of packets processed |
discontinuityCounter | int | Number of stream discontinuities |
return | void |
protected OnGetTimeShiftFilePosition ( System.Int64 &position, long &bufferId ) : void | ||
position | System.Int64 | The position in the current timeshift buffer file |
bufferId | long | The id of the current timeshift buffer file |
return | void |
protected OnStartRecording ( string fileName ) : void | ||
fileName | string | filename to which to recording should be saved |
return | void |
protected OnStartTimeShifting ( string fileName ) : bool | ||
fileName | string | timeshifting filename |
return | bool |
protected SendPmtToCam ( bool &updatePids, int &waitInterval ) : bool | ||
updatePids | bool | |
waitInterval | int | |
return | bool |
protected SetMpegPidMapping ( |
||
info | ||
return | void |
protected SetupPmtGrabber ( int pmtPid, int serviceId ) : bool | ||
pmtPid | int | pid of the PMT |
serviceId | int | The service id. |
return | bool |
public TvDvbChannel ( IFilterGraph2 graphBuilder, TvLibrary.Implementations.DVB.ConditionalAccess ca, TvLibrary.Implementations.DVB.MDPlugs mdplugs, IBaseFilter tif, IBaseFilter tsWriter, int subChannelId, IChannel channel ) : System | ||
graphBuilder | IFilterGraph2 | The graph builder. |
ca | TvLibrary.Implementations.DVB.ConditionalAccess | The ca. |
mdplugs | TvLibrary.Implementations.DVB.MDPlugs | The mdplugs class. |
tif | IBaseFilter | The tif filter. |
tsWriter | IBaseFilter | The ts writer filter. |
subChannelId | int | The subchannel id |
channel | IChannel | The corresponding channel |
return | System |
protected ChannelInfo,TvLibrary.Implementations.DVB.Structures _channelInfo | ||
return |
protected DVBAudioStream,TvLibrary.Implementations.DVB _currentAudioStream | ||
return | TvLibrary.Implementations.DVB.DVBAudioStream |
protected ManualResetEvent,System.Threading _eventPMT | ||
return |
protected MDPlugs,TvLibrary.Implementations.DVB _mdplugs | ||
return | TvLibrary.Implementations.DVB.MDPlugs |