C# Класс OnlineVideos.MediaPortal1.Player.OnlineVideosPlayer

Наследование: MediaPortal.Player.VideoPlayerVMR9, OVSPLayer
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
MEDIASUBTYPE_AVC1 System.Guid

Защищенные свойства (Protected)

Свойство Тип Описание
skipBuffering bool

Открытые методы

Метод Описание
AddPreferredFilters ( IGraphBuilder graphBuilder, IBaseFilter sourceFilter ) : void
BufferFile ( Sites siteUtil ) : bool

This function can be called by a background thread. It finishes building the graph and waits until the buffer is filled to the configured percentage. If a filter in the graph requires the full file to be downloaded, the function will return only afterwards.

Dispose ( ) : void
GetSourceFilterName ( string videoUrl ) : string
LogOutputPinsConnectionRecursive ( IBaseFilter filter, string previous = "" ) : void
OnlineVideosPlayer ( ) : System
OnlineVideosPlayer ( g_Player type ) : System
OnlineVideosPlayer ( string url ) : System
Play ( string strFile ) : bool
PrepareGraph ( ) : bool?

If the url to be played can be buffered before starting playback, this function starts building a graph by adding the preferred video and audio render to it. This needs to be called on the MpMain Thread.

Process ( ) : void
SkipBuffering ( ) : void
Stop ( ) : void
StopBuffering ( ) : void

Защищенные методы

Метод Описание
GetInterfaces ( ) : bool

Приватные методы

Метод Описание
AdaptRefreshRateFromCacheFile ( ) : void
AdaptRefreshRateFromVideoRenderer ( ) : void
EVRGetVideoFPS ( int fpsSource ) : double
EVRUpdateDisplayFPS ( ) : void
FinishPreparedGraph ( ) : bool

Third and last step of a graph build with the file source url filter used to monitor buffer. Needs to be called on the MpMain Thread.

Описание методов

AddPreferredFilters() публичный статический Метод

public static AddPreferredFilters ( IGraphBuilder graphBuilder, IBaseFilter sourceFilter ) : void
graphBuilder IGraphBuilder
sourceFilter IBaseFilter
Результат void

BufferFile() публичный Метод

This function can be called by a background thread. It finishes building the graph and waits until the buffer is filled to the configured percentage. If a filter in the graph requires the full file to be downloaded, the function will return only afterwards.
public BufferFile ( Sites siteUtil ) : bool
siteUtil Sites
Результат bool

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetInterfaces() защищенный Метод

protected GetInterfaces ( ) : bool
Результат bool

GetSourceFilterName() публичный статический Метод

public static GetSourceFilterName ( string videoUrl ) : string
videoUrl string
Результат string

LogOutputPinsConnectionRecursive() публичный статический Метод

public static LogOutputPinsConnectionRecursive ( IBaseFilter filter, string previous = "" ) : void
filter IBaseFilter
previous string
Результат void

OnlineVideosPlayer() публичный Метод

public OnlineVideosPlayer ( ) : System
Результат System

OnlineVideosPlayer() публичный Метод

public OnlineVideosPlayer ( g_Player type ) : System
type MediaPortal.Player.g_Player
Результат System

OnlineVideosPlayer() публичный Метод

public OnlineVideosPlayer ( string url ) : System
url string
Результат System

Play() публичный Метод

public Play ( string strFile ) : bool
strFile string
Результат bool

PrepareGraph() публичный Метод

If the url to be played can be buffered before starting playback, this function starts building a graph by adding the preferred video and audio render to it. This needs to be called on the MpMain Thread.
public PrepareGraph ( ) : bool?
Результат bool?

Process() публичный Метод

public Process ( ) : void
Результат void

SkipBuffering() публичный Метод

public SkipBuffering ( ) : void
Результат void

Stop() публичный Метод

public Stop ( ) : void
Результат void

StopBuffering() публичный Метод

public StopBuffering ( ) : void
Результат void

Описание свойств

MEDIASUBTYPE_AVC1 публичное статическое свойство

public static Guid,System MEDIASUBTYPE_AVC1
Результат System.Guid

skipBuffering защищенное свойство

protected bool skipBuffering
Результат bool