C# 클래스 OnlineVideos.MediaPortal1.Player.OnlineVideosPlayer

상속: MediaPortal.Player.VideoPlayerVMR9, OVSPLayer
파일 보기 프로젝트 열기: offbyoneBB/mp-onlinevideos2

공개 프로퍼티들

프로퍼티 타입 설명
MEDIASUBTYPE_AVC1 System.Guid

보호된 프로퍼티들

프로퍼티 타입 설명
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