VideoSource

Created by svennaehler on 16.12.16.

open class VideoSource : MediaSource

Types

Companion
Link copied to clipboard
object Companion

Functions

createSampleBuffer
Link copied to clipboard
open override fun createSampleBuffer(): ByteBuffer
describeContents
Link copied to clipboard
open fun describeContents(): Int
drainOutput
Link copied to clipboard
inline fun drainOutput(firstFrameAfterMicroseconds: Long, lastFrameBeforeMicroseconds: Long, decoder: <ERROR CLASS>, onFrameReached: (<ERROR CLASS>) -> Unit): Boolean
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getDecoder
Link copied to clipboard
fun getDecoder(surface: <ERROR CLASS>?, excludedCodecs: List<String>?): <ERROR CLASS>
getFormat
Link copied to clipboard
open override fun getFormat(): <ERROR CLASS>
getThumbnail
Link copied to clipboard
fun getThumbnail(atTimeInMicroseconds: Long, thumbnailSize: Int): <ERROR CLASS>?
hashCode
Link copied to clipboard
open override fun hashCode(): Int
hasResourceId
Link copied to clipboard
fun hasResourceId(): Boolean
initDecoder
Link copied to clipboard
fun initDecoder(surface: <ERROR CLASS>?): <ERROR CLASS>
pause
Link copied to clipboard
fun pause()
play
Link copied to clipboard
fun play()
pullNextFrame
Link copied to clipboard
inline fun pullNextFrame(firstFrameAfterMicroseconds: Long, lastFrameBeforeMicroseconds: Long, crossinline onFrameReached: (<ERROR CLASS>) -> Unit): Boolean
pullNextRawData
Link copied to clipboard
abstract override fun pullNextRawData(onFrameReached: (<ERROR CLASS>, ByteArray) -> Unit): Boolean
open fun pullNextRawData(onFrameReached: (<ERROR CLASS>, ByteArray) -> Unit): Boolean
pullNextSampleData
Link copied to clipboard
open override fun pullNextSampleData(buffer: ByteBuffer, info: <ERROR CLASS>)
queueInput
Link copied to clipboard
fun queueInput(decoder: <ERROR CLASS>): Int
release
Link copied to clipboard
fun release()
seekTo
Link copied to clipboard
fun seekTo(timeUs: Long, mode: Int)
selectVideoTrack
Link copied to clipboard
fun selectVideoTrack()
swapBrokenDecoder
Link copied to clipboard
fun swapBrokenDecoder()
toString
Link copied to clipboard
open override fun toString(): String
writeToParcel
Link copied to clipboard
open fun writeToParcel(parcel: <ERROR CLASS>, flags: Int)

Properties

_extractorReference
Link copied to clipboard
var _extractorReference: <ERROR CLASS>
aspect
Link copied to clipboard
val aspect: <ERROR CLASS>
bitRate
Link copied to clipboard
var bitRate: Int
bufferInfo
Link copied to clipboard
var bufferInfo: <ERROR CLASS>
bufferSize
Link copied to clipboard
var bufferSize: Int
currentDecoder
Link copied to clipboard
var currentDecoder: <ERROR CLASS>?
durationInMicroseconds
Link copied to clipboard
var durationInMicroseconds: Long
frameRate
Link copied to clipboard
var frameRate: Int
height
Link copied to clipboard
val height: <ERROR CLASS>
inputAvailable
Link copied to clipboard
var inputAvailable: Boolean
isDecoderRunning
Link copied to clipboard
val isDecoderRunning: Boolean
isSupportedVideoContainer
Link copied to clipboard
val isSupportedVideoContainer: <ERROR CLASS>
keyFrameIntervalInMicroseconds
Link copied to clipboard
var keyFrameIntervalInMicroseconds: Int
lastFramePresentationTimeInMicroseconds
Link copied to clipboard
var lastFramePresentationTimeInMicroseconds: Long
outputAvailable
Link copied to clipboard
var outputAvailable: Boolean
rotation
Link copied to clipboard
var rotation: Int
sampleTimeInMicroseconds
Link copied to clipboard
val sampleTimeInMicroseconds: Long
size
Link copied to clipboard
val size: <ERROR CLASS>
surface
Link copied to clipboard
var surface: <ERROR CLASS>?
videoTrackIndex
Link copied to clipboard
var videoTrackIndex: Int
width
Link copied to clipboard
val width: <ERROR CLASS>