public class MediaThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected static MediaThreadGroup |
mediaThreadGroup |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MediaThread() |
MediaThread(Runnable r) |
MediaThread(Runnable r,
String name) |
MediaThread(String name) |
| Modifier and Type | Method and Description |
|---|---|
static MediaThreadGroup |
getMediaThreadGroup() |
void |
useAudioPriority()
This should be used for threads handling the audio medium.
|
void |
useControlPriority()
This should be used for Manager, events threads etc.
|
void |
useNetworkPriority()
This should be used for threads handling network packets.
|
void |
useVideoPriority()
This should be used for threads handling the video medium.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected static MediaThreadGroup mediaThreadGroup
public MediaThread()
public MediaThread(String name)
public MediaThread(Runnable r)
public static MediaThreadGroup getMediaThreadGroup()
public void useControlPriority()
public void useAudioPriority()
public void useVideoPriority()
public void useNetworkPriority()
Copyright © 2012 code4tv.com. All Rights Reserved.