Skip navigation links
A B C D E F G H I K L M N O P R S T U V 

A

AACADTSPacketizer - Class in net.majorkernelpanic.streaming.rtp
RFC 3640.
AACADTSPacketizer() - Constructor for class net.majorkernelpanic.streaming.rtp.AACADTSPacketizer
 
AACLATMPacketizer - Class in net.majorkernelpanic.streaming.rtp
RFC 3640.
AACLATMPacketizer() - Constructor for class net.majorkernelpanic.streaming.rtp.AACLATMPacketizer
 
AACStream - Class in net.majorkernelpanic.streaming.audio
A class for streaming AAC from the camera of an android device using RTP.
AACStream() - Constructor for class net.majorkernelpanic.streaming.audio.AACStream
 
AbstractPacketizer - Class in net.majorkernelpanic.streaming.rtp
Each packetizer inherits from this one and therefore uses RTP and UDP.
AbstractPacketizer() - Constructor for class net.majorkernelpanic.streaming.rtp.AbstractPacketizer
 
addCallbackListener(RtspServer.CallbackListener) - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
See RtspServer.CallbackListener to check out what events will be fired once you set up a listener.
addMediaCodecSurface(Surface) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
AMRNBPacketizer - Class in net.majorkernelpanic.streaming.rtp
RFC 3267.
AMRNBPacketizer() - Constructor for class net.majorkernelpanic.streaming.rtp.AMRNBPacketizer
 
AMRNBStream - Class in net.majorkernelpanic.streaming.audio
A class for streaming AAC from the camera of an android device using RTP.
AMRNBStream() - Constructor for class net.majorkernelpanic.streaming.audio.AMRNBStream
 
ASPECT_RATIO_PREVIEW - Static variable in class net.majorkernelpanic.streaming.gl.SurfaceView
The aspect ratio of the surface view will be equal to the aspect ration of the camera preview.
ASPECT_RATIO_STRETCH - Static variable in class net.majorkernelpanic.streaming.gl.SurfaceView
The surface view will fill completely fill its parent.
asyncDebug(Context, int, int) - Static method in class net.majorkernelpanic.streaming.hw.EncoderDebugger
 
AUDIO_AAC - Static variable in class net.majorkernelpanic.streaming.SessionBuilder
AUDIO_AMRNB - Static variable in class net.majorkernelpanic.streaming.SessionBuilder
AUDIO_NONE - Static variable in class net.majorkernelpanic.streaming.SessionBuilder
AUDIO_SAMPLING_RATES - Static variable in class net.majorkernelpanic.streaming.audio.AACStream
There are 13 supported frequencies by ADTS.
AudioQuality - Class in net.majorkernelpanic.streaming.audio
A class that represents the quality of an audio stream.
AudioQuality() - Constructor for class net.majorkernelpanic.streaming.audio.AudioQuality
Represents a quality for a video stream.
AudioQuality(int, int) - Constructor for class net.majorkernelpanic.streaming.audio.AudioQuality
Represents a quality for an audio stream.
AudioStream - Class in net.majorkernelpanic.streaming.audio
Don't use this class directly.
AudioStream() - Constructor for class net.majorkernelpanic.streaming.audio.AudioStream
 
available() - Method in class net.majorkernelpanic.streaming.rtp.MediaCodecInputStream
 

B

bitRate - Variable in class net.majorkernelpanic.streaming.audio.AudioQuality
 
bitrate - Variable in class net.majorkernelpanic.streaming.video.VideoQuality
 
build() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Creates a new Session.

C

CameraInUseException - Exception in net.majorkernelpanic.streaming.exceptions
 
CameraInUseException(String) - Constructor for exception net.majorkernelpanic.streaming.exceptions.CameraInUseException
 
changeFragmentShader(String) - Method in class net.majorkernelpanic.streaming.gl.TextureManager
Replaces the fragment shader.
checkGlError(String) - Method in class net.majorkernelpanic.streaming.gl.TextureManager
 
clone() - Method in class net.majorkernelpanic.streaming.audio.AudioQuality
 
clone() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns a new SessionBuilder with the same configuration.
clone() - Method in class net.majorkernelpanic.streaming.video.VideoQuality
 
close() - Method in class net.majorkernelpanic.streaming.mp4.MP4Parser
 
close() - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
 
close() - Method in class net.majorkernelpanic.streaming.rtp.MediaCodecInputStream
 
close() - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Closes the underlying socket.
CodecManager - Class in net.majorkernelpanic.streaming.hw
 
CodecManager() - Constructor for class net.majorkernelpanic.streaming.hw.CodecManager
 
CodecManager - Class in net.majorkernelpanic.streaming.video
 
CodecManager() - Constructor for class net.majorkernelpanic.streaming.video.CodecManager
 
commitBuffer() - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Puts the buffer back into the FIFO without sending the packet.
commitBuffer(int) - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Sends the RTP packet over the network.
configure() - Method in class net.majorkernelpanic.streaming.audio.AACStream
 
configure() - Method in class net.majorkernelpanic.streaming.audio.AMRNBStream
 
configure() - Method in class net.majorkernelpanic.streaming.MediaStream
configure() - Method in class net.majorkernelpanic.streaming.Session
Configures all streams of the session.
configure() - Method in interface net.majorkernelpanic.streaming.Stream
Configures the stream.
configure() - Method in class net.majorkernelpanic.streaming.video.H263Stream
 
configure() - Method in class net.majorkernelpanic.streaming.video.H264Stream
Configures the stream.
configure() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Configures the stream.
ConfNotSupportedException - Exception in net.majorkernelpanic.streaming.exceptions
 
ConfNotSupportedException(String) - Constructor for exception net.majorkernelpanic.streaming.exceptions.ConfNotSupportedException
 
convert(byte[], ByteBuffer) - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
convert(byte[]) - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
createTexture() - Method in class net.majorkernelpanic.streaming.gl.TextureManager
Initializes GL state.

D

debug(Context, int, int) - Static method in class net.majorkernelpanic.streaming.hw.EncoderDebugger
 
debug(SharedPreferences, int, int) - Static method in class net.majorkernelpanic.streaming.hw.EncoderDebugger
 
DEFAULT_AUDIO_QUALITY - Static variable in class net.majorkernelpanic.streaming.audio.AudioQuality
Default audio stream quality.
DEFAULT_RTSP_PORT - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspServer
Port used by default.
DEFAULT_VIDEO_QUALITY - Static variable in class net.majorkernelpanic.streaming.video.VideoQuality
Default video stream quality.
determineClosestSupportedResolution(Camera.Parameters, VideoQuality) - Static method in class net.majorkernelpanic.streaming.video.VideoQuality
Checks if the requested resolution is supported by the camera.
determineMaximumSupportedFramerate(Camera.Parameters) - Static method in class net.majorkernelpanic.streaming.video.VideoQuality
 
drawFrame() - Method in class net.majorkernelpanic.streaming.gl.TextureManager
 

E

EncoderDebugger - Class in net.majorkernelpanic.streaming.hw
The purpose of this class is to detect and by-pass some bugs (or underspecified configuration) that encoders available through the MediaCodec API may have.
equals(AudioQuality) - Method in class net.majorkernelpanic.streaming.audio.AudioQuality
 
equals(VideoQuality) - Method in class net.majorkernelpanic.streaming.video.VideoQuality
 
ERROR_BIND_FAILED - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspServer
Port already in use.
ERROR_CAMERA_ALREADY_IN_USE - Static variable in class net.majorkernelpanic.streaming.Session
Some app is already using a camera (Camera.open() has failed).
ERROR_CAMERA_HAS_NO_FLASH - Static variable in class net.majorkernelpanic.streaming.Session
The phone has no flash.
ERROR_CONFIGURATION_NOT_SUPPORTED - Static variable in class net.majorkernelpanic.streaming.Session
The phone may not support some streaming parameters that you are trying to use (bit rate, frame rate, resolution...).
ERROR_CONNECTION_FAILED - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspClient
Message sent when the connection to the RTSP server failed.
ERROR_CONNECTION_LOST - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspClient
Message sent when the connection with the RTSP server has been lost for some reason (for example, the user is going under a bridge).
ERROR_INVALID_SURFACE - Static variable in class net.majorkernelpanic.streaming.Session
The supplied SurfaceView is not a valid surface, or has not been created yet.
ERROR_OTHER - Static variable in class net.majorkernelpanic.streaming.Session
Some other error occurred !
ERROR_START_FAILED - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspServer
A stream could not be started.
ERROR_STORAGE_NOT_READY - Static variable in class net.majorkernelpanic.streaming.Session
The internal storage of the phone is not ready.
ERROR_UNKNOWN_HOST - Static variable in class net.majorkernelpanic.streaming.Session
The destination set with Session.setDestination(String) could not be resolved.
ERROR_WRONG_CREDENTIALS - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspClient
Message sent when the credentials are wrong.

F

findDecodersForMimeType(String) - Static method in class net.majorkernelpanic.streaming.hw.CodecManager
Lists all decoders that claim to support a color format that we know how to use.
findEncodersForMimeType(String) - Static method in class net.majorkernelpanic.streaming.hw.CodecManager
Lists all encoders that claim to support a color format that we know how to use.
framerate - Variable in class net.majorkernelpanic.streaming.video.VideoQuality
 

G

getAspectRatio() - Method in class net.majorkernelpanic.streaming.gl.SurfaceView.ViewAspectRatioMeasurer
 
getAudioEncoder() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the audio encoder set with SessionBuilder.setAudioEncoder(int).
getAudioQuality() - Method in class net.majorkernelpanic.streaming.audio.AudioStream
Returns the quality of the stream.
getAudioQuality() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the AudioQuality set with SessionBuilder.setAudioQuality(AudioQuality).
getAudioTrack() - Method in class net.majorkernelpanic.streaming.Session
Returns the underlying AudioStream used by the Session.
getB64PPS() - Method in class net.majorkernelpanic.streaming.hw.EncoderDebugger
 
getB64PPS() - Method in class net.majorkernelpanic.streaming.mp4.MP4Config
 
getB64SPS() - Method in class net.majorkernelpanic.streaming.hw.EncoderDebugger
 
getB64SPS() - Method in class net.majorkernelpanic.streaming.mp4.MP4Config
 
getBitrate() - Method in class net.majorkernelpanic.streaming.MediaStream
Returns an approximation of the bit rate consumed by the stream in bit per seconde.
getBitrate() - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Returns an approximation of the bitrate of the RTP stream in bits per second.
getBitrate() - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
Returns the bandwidth consumed by the RTSP server in bits per second.
getBitrate() - Method in class net.majorkernelpanic.streaming.Session
Returns an approximation of the bandwidth consumed by the session in bit per second.
getBitrate() - Method in interface net.majorkernelpanic.streaming.Stream
Returns an approximation of the bit rate consumed by the stream in bit per seconde.
getBoxPos(String) - Method in class net.majorkernelpanic.streaming.mp4.MP4Parser
 
getBufferSize() - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
getCallback() - Method in class net.majorkernelpanic.streaming.Session
Returns the Session.Callback interface that was set with Session.setCallback(Callback) or null if none was set.
getCamera() - Method in class net.majorkernelpanic.streaming.Session
Returns the id of the camera currently selected.
getCamera() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the id of the android.hardware.Camera set with SessionBuilder.setCamera(int).
getCamera() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Returns the id of the camera currently selected.
getContext() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the context set with SessionBuilder.setContext(Context)
getDestination() - Method in class net.majorkernelpanic.streaming.Session
Returns the destination set with Session.setDestination(String).
getDestination() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the destination ip address set with SessionBuilder.setDestination(String).
getDestinationPorts() - Method in class net.majorkernelpanic.streaming.MediaStream
Returns a pair of destination ports, the first one is the one used for RTP and the second one is used for RTCP.
getDestinationPorts() - Method in interface net.majorkernelpanic.streaming.Stream
Returns a pair of destination ports, the first one is the one used for RTP and the second one is used for RTCP.
getEncoderColorFormat() - Method in class net.majorkernelpanic.streaming.hw.EncoderDebugger
 
getEncoderName() - Method in class net.majorkernelpanic.streaming.hw.EncoderDebugger
 
getErrorLog() - Method in class net.majorkernelpanic.streaming.hw.EncoderDebugger
A log of all the errors that occurred during the test.
getFlashState() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the flash state set with SessionBuilder.setFlashEnabled(boolean).
getFlashState() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Indicates whether or not the flash of the phone is on.
getInstance() - Static method in class net.majorkernelpanic.streaming.SessionBuilder
Returns a reference to the SessionBuilder.
getLastBufferInfo() - Method in class net.majorkernelpanic.streaming.rtp.MediaCodecInputStream
 
getLocalPort() - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
 
getLocalPorts() - Method in class net.majorkernelpanic.streaming.MediaStream
Returns a pair of source ports, the first one is the one used for RTP and the second one is used for RTCP.
getLocalPorts() - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
 
getLocalPorts() - Method in interface net.majorkernelpanic.streaming.Stream
Returns a pair of source ports, the first one is the one used for RTP and the second one is used for RTCP.
getMeasuredHeight() - Method in class net.majorkernelpanic.streaming.gl.SurfaceView.ViewAspectRatioMeasurer
Get the height measured in the latest call to measure().
getMeasuredWidth() - Method in class net.majorkernelpanic.streaming.gl.SurfaceView.ViewAspectRatioMeasurer
Get the width measured in the latest call to measure().
getNV21Convertor() - Method in class net.majorkernelpanic.streaming.hw.EncoderDebugger
This NV21Convertor will do the necessary work to feed properly the encoder.
getOrigin() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the origin ip address set with SessionBuilder.setOrigin(String).
getPacketizer() - Method in class net.majorkernelpanic.streaming.MediaStream
Returns the packetizer associated with the MediaStream.
getPlanar() - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
getPort() - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
 
getPort() - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
 
getPort() - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
Returns the port used by the RTSP server.
getProfileLevel() - Method in class net.majorkernelpanic.streaming.mp4.MP4Config
 
getRtpSocket() - Method in class net.majorkernelpanic.streaming.rtp.AbstractPacketizer
 
getService() - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer.LocalBinder
 
getSession() - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
 
getSessionDescription() - Method in class net.majorkernelpanic.streaming.audio.AACStream
Returns a description of the stream using SDP.
getSessionDescription() - Method in class net.majorkernelpanic.streaming.audio.AMRNBStream
Returns a description of the stream using SDP.
getSessionDescription() - Method in class net.majorkernelpanic.streaming.MediaStream
Returns a description of the stream using SDP.
getSessionDescription() - Method in class net.majorkernelpanic.streaming.Session
Returns a Session Description that can be stored in a file or sent to a client with RTSP.
getSessionDescription() - Method in interface net.majorkernelpanic.streaming.Stream
Returns a description of the stream using SDP.
getSessionDescription() - Method in class net.majorkernelpanic.streaming.video.H263Stream
Returns a description of the stream using SDP.
getSessionDescription() - Method in class net.majorkernelpanic.streaming.video.H264Stream
Returns a description of the stream using SDP.
getSessionDescription() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Returns a description of the stream using SDP.
getSliceHeigth() - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
getSSRC() - Method in class net.majorkernelpanic.streaming.MediaStream
Returns the SSRC of the underlying RtpSocket.
getSSRC() - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
 
getSSRC() - Method in class net.majorkernelpanic.streaming.rtp.AbstractPacketizer
 
getSSRC() - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Returns the SSRC of the stream.
getSSRC() - Method in interface net.majorkernelpanic.streaming.Stream
Returns the SSRC of the underlying RtpSocket.
getStreamingMethod() - Method in class net.majorkernelpanic.streaming.MediaStream
Returns the streaming method in use, call this after MediaStream.configure() to get an accurate response.
getStride() - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
getStsdBox() - Method in class net.majorkernelpanic.streaming.mp4.MP4Parser
 
getSurfaceTexture() - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
getSurfaceTexture() - Method in class net.majorkernelpanic.streaming.gl.TextureManager
 
getSurfaceView() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the SurfaceView set with SessionBuilder.setSurfaceView(SurfaceView).
getTextureId() - Method in class net.majorkernelpanic.streaming.gl.TextureManager
 
getTimeToLive() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the time to live set with SessionBuilder.setTimeToLive(int).
getTrack(int) - Method in class net.majorkernelpanic.streaming.Session
 
getUVPanesReversed() - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
getVideoEncoder() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the video encoder set with SessionBuilder.setVideoEncoder(int).
getVideoQuality() - Method in class net.majorkernelpanic.streaming.SessionBuilder
Returns the VideoQuality set with SessionBuilder.setVideoQuality(VideoQuality).
getVideoQuality() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Returns the quality of the stream.
getVideoTrack() - Method in class net.majorkernelpanic.streaming.Session
Returns the underlying VideoStream used by the Session.
getYPadding() - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 

H

H263Packetizer - Class in net.majorkernelpanic.streaming.rtp
RFC 4629.
H263Packetizer() - Constructor for class net.majorkernelpanic.streaming.rtp.H263Packetizer
 
H263Stream - Class in net.majorkernelpanic.streaming.video
A class for streaming H.263 from the camera of an android device using RTP.
H263Stream() - Constructor for class net.majorkernelpanic.streaming.video.H263Stream
Constructs the H.263 stream.
H263Stream(int) - Constructor for class net.majorkernelpanic.streaming.video.H263Stream
Constructs the H.263 stream.
H264Packetizer - Class in net.majorkernelpanic.streaming.rtp
RFC 3984.
H264Packetizer() - Constructor for class net.majorkernelpanic.streaming.rtp.H264Packetizer
 
H264Stream - Class in net.majorkernelpanic.streaming.video
A class for streaming H.264 from the camera of an android device using RTP.
H264Stream() - Constructor for class net.majorkernelpanic.streaming.video.H264Stream
Constructs the H.264 stream.
H264Stream(int) - Constructor for class net.majorkernelpanic.streaming.video.H264Stream
Constructs the H.264 stream.

I

InvalidSurfaceException - Exception in net.majorkernelpanic.streaming.exceptions
 
InvalidSurfaceException(String) - Constructor for exception net.majorkernelpanic.streaming.exceptions.InvalidSurfaceException
 
isEnabled() - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
 
isStreaming() - Method in class net.majorkernelpanic.streaming.MediaStream
Indicates if the MediaStream is streaming.
isStreaming() - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
 
isStreaming() - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
Returns whether or not the RTSP server is streaming to some client(s).
isStreaming() - Method in class net.majorkernelpanic.streaming.Session
Indicates if a track is currently running.
isStreaming() - Method in interface net.majorkernelpanic.streaming.Stream
 

K

KEY_ENABLED - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspServer
Key used in the SharedPreferences to store whether the RTSP server is enabled or not.
KEY_PORT - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspServer
Key used in the SharedPreferences for the port used by the RTSP server.

L

LocalBinder() - Constructor for class net.majorkernelpanic.streaming.rtsp.RtspServer.LocalBinder
 

M

makeCurrent() - Method in class net.majorkernelpanic.streaming.gl.SurfaceManager
 
markNextPacket() - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Sets the marker in the RTP packet.
measure(int, int) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView.ViewAspectRatioMeasurer
Measure with the aspect ratio given at construction.

After measuring, get the width and height with the SurfaceView.ViewAspectRatioMeasurer.getMeasuredWidth() and SurfaceView.ViewAspectRatioMeasurer.getMeasuredHeight() methods, respectively.
measure(int, int, double) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView.ViewAspectRatioMeasurer
Measure with a specific aspect ratio

After measuring, get the width and height with the SurfaceView.ViewAspectRatioMeasurer.getMeasuredWidth() and SurfaceView.ViewAspectRatioMeasurer.getMeasuredHeight() methods, respectively.
MediaCodecInputStream - Class in net.majorkernelpanic.streaming.rtp
An InputStream that uses data from a MediaCodec.
MediaCodecInputStream(MediaCodec) - Constructor for class net.majorkernelpanic.streaming.rtp.MediaCodecInputStream
 
MediaStream - Class in net.majorkernelpanic.streaming
A MediaRecorder that streams what it records using a packetizer from the RTP package.
MediaStream() - Constructor for class net.majorkernelpanic.streaming.MediaStream
 
MESSAGE_CONNECTION_RECOVERED - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspClient
Message sent when the connection with the RTSP server has been reestablished.
MESSAGE_STREAMING_STARTED - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspServer
Streaming started.
MESSAGE_STREAMING_STOPPED - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspServer
Streaming stopped.
mMediaFormat - Variable in class net.majorkernelpanic.streaming.rtp.MediaCodecInputStream
 
MODE_MEDIACODEC_API - Static variable in class net.majorkernelpanic.streaming.MediaStream
Raw audio/video will be encoded using the MediaCodec API with buffers.
MODE_MEDIACODEC_API_2 - Static variable in class net.majorkernelpanic.streaming.MediaStream
Raw audio/video will be encoded using the MediaCode API with a surface.
MODE_MEDIARECORDER_API - Static variable in class net.majorkernelpanic.streaming.MediaStream
Raw audio/video will be encoded using the MediaRecorder API.
MP4Config - Class in net.majorkernelpanic.streaming.mp4
Finds SPS & PPS parameters in mp4 file.
MP4Config(String, String, String) - Constructor for class net.majorkernelpanic.streaming.mp4.MP4Config
 
MP4Config(String, String) - Constructor for class net.majorkernelpanic.streaming.mp4.MP4Config
 
MP4Config(byte[], byte[]) - Constructor for class net.majorkernelpanic.streaming.mp4.MP4Config
 
MP4Config(String) - Constructor for class net.majorkernelpanic.streaming.mp4.MP4Config
Finds SPS & PPS parameters inside a .mp4.
MP4Parser - Class in net.majorkernelpanic.streaming.mp4
Parse an mp4 file.
MTU - Static variable in class net.majorkernelpanic.streaming.rtcp.SenderReport
 
MTU - Static variable in class net.majorkernelpanic.streaming.rtp.RtpSocket
 

N

net.majorkernelpanic.streaming - package net.majorkernelpanic.streaming
 
net.majorkernelpanic.streaming.audio - package net.majorkernelpanic.streaming.audio
 
net.majorkernelpanic.streaming.exceptions - package net.majorkernelpanic.streaming.exceptions
 
net.majorkernelpanic.streaming.gl - package net.majorkernelpanic.streaming.gl
 
net.majorkernelpanic.streaming.hw - package net.majorkernelpanic.streaming.hw
 
net.majorkernelpanic.streaming.mp4 - package net.majorkernelpanic.streaming.mp4
 
net.majorkernelpanic.streaming.rtcp - package net.majorkernelpanic.streaming.rtcp
 
net.majorkernelpanic.streaming.rtp - package net.majorkernelpanic.streaming.rtp
 
net.majorkernelpanic.streaming.rtsp - package net.majorkernelpanic.streaming.rtsp
 
net.majorkernelpanic.streaming.video - package net.majorkernelpanic.streaming.video
 
NV21Convertor - Class in net.majorkernelpanic.streaming.hw
Converts from NV21 to YUV420 semi planar or planar.
NV21Convertor() - Constructor for class net.majorkernelpanic.streaming.hw.NV21Convertor
 

O

onBind(Intent) - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
 
onBitrateUpdate(long) - Method in interface net.majorkernelpanic.streaming.Session.Callback
Called periodically to inform you on the bandwidth consumption of the streams when streaming.
onCreate() - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
 
onDestroy() - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
 
onError(RtspServer, Exception, int) - Method in interface net.majorkernelpanic.streaming.rtsp.RtspServer.CallbackListener
Called when an error occurs.
onFrameAvailable(SurfaceTexture) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
onMessage(RtspServer, int) - Method in interface net.majorkernelpanic.streaming.rtsp.RtspServer.CallbackListener
Called when streaming starts/stops.
onPreviewStarted() - Method in interface net.majorkernelpanic.streaming.Session.Callback
Called when the previw of the VideoStream has correctly been started.
onRtspUpdate(int, Exception) - Method in interface net.majorkernelpanic.streaming.rtsp.RtspClient.Callback
 
onSessionConfigured() - Method in interface net.majorkernelpanic.streaming.Session.Callback
Called when the session has correctly been configured after calling Session.configure().
onSessionError(int, int, Exception) - Method in interface net.majorkernelpanic.streaming.Session.Callback
Called when some error occurs.
onSessionStarted() - Method in interface net.majorkernelpanic.streaming.Session.Callback
Called when the streams of the session have correctly been started.
onSessionStopped() - Method in interface net.majorkernelpanic.streaming.Session.Callback
Called when the stream of the session have been stopped.
onStartCommand(Intent, int, int) - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
 

P

parse(String) - Static method in class net.majorkernelpanic.streaming.mp4.MP4Parser
Parses the mp4 file.
parse(String) - Static method in class net.majorkernelpanic.streaming.rtsp.UriParser
Configures a Session according to the given URI.
parseQuality(String) - Static method in class net.majorkernelpanic.streaming.audio.AudioQuality
 
parseQuality(String) - Static method in class net.majorkernelpanic.streaming.video.VideoQuality
 
PIPE_API_LS - Static variable in class net.majorkernelpanic.streaming.MediaStream
A LocalSocket will be used to feed the MediaRecorder object
PIPE_API_PFD - Static variable in class net.majorkernelpanic.streaming.MediaStream
A ParcelFileDescriptor will be used to feed the MediaRecorder object

R

read() - Method in class net.majorkernelpanic.streaming.rtp.MediaCodecInputStream
 
read(byte[], int, int) - Method in class net.majorkernelpanic.streaming.rtp.MediaCodecInputStream
 
release() - Method in class net.majorkernelpanic.streaming.gl.SurfaceManager
Discards all resources held by this class, notably the EGL context.
release() - Method in class net.majorkernelpanic.streaming.gl.TextureManager
 
release() - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
 
release() - Method in class net.majorkernelpanic.streaming.Session
Deletes all existing tracks & release associated resources.
removeCallbackListener(RtspServer.CallbackListener) - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
Removes the listener.
removeMediaCodecSurface() - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
requestAspectRatio(double) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
Requests a certain aspect ratio for the preview.
requestBuffer() - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Returns an available buffer from the FIFO, it can then be modified.
reset() - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
Resets the reports (total number of bytes sent, number of packets sent, etc.)
resX - Variable in class net.majorkernelpanic.streaming.video.VideoQuality
 
resY - Variable in class net.majorkernelpanic.streaming.video.VideoQuality
 
RTP_HEADER_LENGTH - Static variable in class net.majorkernelpanic.streaming.rtp.RtpSocket
 
RtpSocket - Class in net.majorkernelpanic.streaming.rtp
A basic implementation of an RTP socket.
RtpSocket() - Constructor for class net.majorkernelpanic.streaming.rtp.RtpSocket
This RTP socket implements a buffering mechanism relying on a FIFO of buffers and a Thread.
RtspClient - Class in net.majorkernelpanic.streaming.rtsp
RFC 2326.
RtspClient() - Constructor for class net.majorkernelpanic.streaming.rtsp.RtspClient
 
RtspClient.Callback - Interface in net.majorkernelpanic.streaming.rtsp
The callback interface you need to implement to know what's going on with the RTSP server (for example your Wowza Media Server).
RtspServer - Class in net.majorkernelpanic.streaming.rtsp
Implementation of a subset of the RTSP protocol (RFC 2326).
RtspServer() - Constructor for class net.majorkernelpanic.streaming.rtsp.RtspServer
 
RtspServer.CallbackListener - Interface in net.majorkernelpanic.streaming.rtsp
Be careful: those callbacks won't necessarily be called from the ui thread !
RtspServer.LocalBinder - Class in net.majorkernelpanic.streaming.rtsp
The Binder you obtain when a connection with the Service is established.
run() - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
run() - Method in class net.majorkernelpanic.streaming.rtp.AACADTSPacketizer
 
run() - Method in class net.majorkernelpanic.streaming.rtp.AACLATMPacketizer
 
run() - Method in class net.majorkernelpanic.streaming.rtp.AMRNBPacketizer
 
run() - Method in class net.majorkernelpanic.streaming.rtp.H263Packetizer
 
run() - Method in class net.majorkernelpanic.streaming.rtp.H264Packetizer
 
run() - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
The Thread sends the packets in the FIFO one by one at a constant rate.

S

samplingRate - Variable in class net.majorkernelpanic.streaming.audio.AudioQuality
 
SenderReport - Class in net.majorkernelpanic.streaming.rtcp
Implementation of Sender Report RTCP packets.
SenderReport(int) - Constructor for class net.majorkernelpanic.streaming.rtcp.SenderReport
 
SenderReport() - Constructor for class net.majorkernelpanic.streaming.rtcp.SenderReport
 
SERVER_NAME - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspServer
The server name that will appear in responses.
Session - Class in net.majorkernelpanic.streaming
You should instantiate this class with the SessionBuilder.
This is the class you will want to use to stream audio and or video to some peer using RTP.
It holds a VideoStream and a AudioStream together and provides synchronous and asynchronous functions to start and stop those steams.
Session() - Constructor for class net.majorkernelpanic.streaming.Session
Creates a streaming session that can be customized by adding tracks.
Session.Callback - Interface in net.majorkernelpanic.streaming
The callback interface you need to implement to get some feedback Those will be called from the UI thread.
SessionBuilder - Class in net.majorkernelpanic.streaming
Call SessionBuilder.getInstance() to get access to the SessionBuilder.
setAspectRatio(double) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView.ViewAspectRatioMeasurer
 
setAspectRatioMode(int) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
setAudioEncoder(int) - Method in class net.majorkernelpanic.streaming.SessionBuilder
Sets the audio encoder.
setAudioQuality(AudioQuality) - Method in class net.majorkernelpanic.streaming.audio.AudioStream
 
setAudioQuality(AudioQuality) - Method in class net.majorkernelpanic.streaming.Session
Sets the configuration of the stream.
setAudioQuality(AudioQuality) - Method in class net.majorkernelpanic.streaming.SessionBuilder
Sets the audio quality.
setAudioSource(int) - Method in class net.majorkernelpanic.streaming.audio.AudioStream
 
setAuthorization(String, String) - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
Set Basic authorization to access RTSP Stream
setCacheSize(long) - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Sets the size of the FIFO in ms.
setCallback(RtspClient.Callback) - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
Sets the callback interface that will be called on status updates of the connection with the RTSP server.
setCallback(Session.Callback) - Method in class net.majorkernelpanic.streaming.Session
Sets the callback interface that will be called by the Session.
setCallback(Session.Callback) - Method in class net.majorkernelpanic.streaming.SessionBuilder
 
setCamera(int) - Method in class net.majorkernelpanic.streaming.SessionBuilder
 
setCamera(int) - Method in class net.majorkernelpanic.streaming.video.VideoStream
Sets the camera that will be used to capture video.
setClockFrequency(long) - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Sets the clock frequency of the stream in Hz.
setColorPanesReversed(boolean) - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
setContext(Context) - Method in class net.majorkernelpanic.streaming.SessionBuilder
Access to the context is needed for the H264Stream class to store some stuff in the SharedPreferences.
setCredentials(String, String) - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
If authentication is enabled on the server, you need to call this with a valid login/password pair.
setDestination(InetAddress, int) - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
 
setDestination(InetAddress, int, int) - Method in class net.majorkernelpanic.streaming.rtp.AbstractPacketizer
Sets the destination of the stream.
setDestination(InetAddress, int, int) - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Sets the destination address and to which the packets will be sent.
setDestination(String) - Method in class net.majorkernelpanic.streaming.Session
The destination address for all the streams of the session.
setDestination(String) - Method in class net.majorkernelpanic.streaming.SessionBuilder
Sets the destination of the session.
setDestinationAddress(InetAddress) - Method in class net.majorkernelpanic.streaming.MediaStream
Sets the destination IP address of the stream.
setDestinationAddress(InetAddress) - Method in interface net.majorkernelpanic.streaming.Stream
Sets the destination ip address of the stream.
setDestinationPorts(int) - Method in class net.majorkernelpanic.streaming.MediaStream
Sets the destination ports of the stream.
setDestinationPorts(int, int) - Method in class net.majorkernelpanic.streaming.MediaStream
Sets the destination ports of the stream.
setDestinationPorts(int) - Method in interface net.majorkernelpanic.streaming.Stream
Sets the destination ports of the stream.
setDestinationPorts(int, int) - Method in interface net.majorkernelpanic.streaming.Stream
Sets the destination ports of the stream.
setEncoderColorFormat(int) - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
setFlashEnabled(boolean) - Method in class net.majorkernelpanic.streaming.SessionBuilder
 
setFlashState(boolean) - Method in class net.majorkernelpanic.streaming.video.VideoStream
Turns the LED on or off if phone has one.
setInputStream(InputStream) - Method in class net.majorkernelpanic.streaming.rtp.AbstractPacketizer
 
setInterval(long) - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
Sets the temporal interval between two RTCP Sender Reports.
setOrigin(String) - Method in class net.majorkernelpanic.streaming.Session
The origin address of the session.
setOrigin(String) - Method in class net.majorkernelpanic.streaming.SessionBuilder
Sets the origin of the session.
setOutputStream(OutputStream, byte) - Method in class net.majorkernelpanic.streaming.MediaStream
If a TCP is used as the transport protocol for the RTP session, the output stream to which RTP packets will be written to must be specified with this method.
setOutputStream(OutputStream, byte) - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
If a TCP is used as the transport protocol for the RTP session, the output stream to which RTP packets will be written to must be specified with this method.
setOutputStream(OutputStream, byte) - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
If a TCP is used as the transport protocol for the RTP session, the output stream to which RTP packets will be written to must be specified with this method.
setOutputStream(OutputStream, byte) - Method in interface net.majorkernelpanic.streaming.Stream
If a TCP is used as the transport protocol for the RTP session, the output stream to which RTP packets will be written to must be specified with this method.
setPlanar(boolean) - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
setPort(int) - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
Sets the port for the RTSP server to use.
setPreferences(SharedPreferences) - Method in class net.majorkernelpanic.streaming.audio.AACStream
Some data (the actual sampling rate used by the phone and the AAC profile) needs to be stored once AACStream.getSessionDescription() is called.
setPreferences(SharedPreferences) - Method in class net.majorkernelpanic.streaming.video.VideoStream
Some data (SPS and PPS params) needs to be stored when getSessionDescription() is called
setPresentationTime(long) - Method in class net.majorkernelpanic.streaming.gl.SurfaceManager
Sends the presentation time stamp to EGL.
setPreviewOrientation(int) - Method in class net.majorkernelpanic.streaming.Session
Sets the orientation of the preview.
setPreviewOrientation(int) - Method in class net.majorkernelpanic.streaming.SessionBuilder
Sets the orientation of the preview.
setPreviewOrientation(int) - Method in class net.majorkernelpanic.streaming.video.VideoStream
Sets the orientation of the preview.
setSamplingRate(int) - Method in class net.majorkernelpanic.streaming.rtp.AACADTSPacketizer
 
setSamplingRate(int) - Method in class net.majorkernelpanic.streaming.rtp.AACLATMPacketizer
 
setServerAddress(String, int) - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
Sets the destination address of the RTSP server.
setSession(Session) - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
The Session that will be used to stream to the server.
setSize(int, int) - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
setSliceHeigth(int) - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
setSSRC(int) - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
 
setSSRC(int) - Method in class net.majorkernelpanic.streaming.rtp.AbstractPacketizer
 
setSSRC(int) - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Sets the SSRC of the stream.
setStreamingMethod(byte) - Method in class net.majorkernelpanic.streaming.MediaStream
Sets the streaming method that will be used.
setStreamParameters(byte[], byte[]) - Method in class net.majorkernelpanic.streaming.rtp.H264Packetizer
 
setStreamPath(String) - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
The path to which the stream will be sent to.
setStride(int) - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
setSurfaceView(SurfaceView) - Method in class net.majorkernelpanic.streaming.Session
Sets a Surface to show a preview of recorded media (video).
setSurfaceView(SurfaceView) - Method in class net.majorkernelpanic.streaming.SessionBuilder
Sets the SurfaceView required to preview the video stream.
setSurfaceView(SurfaceView) - Method in class net.majorkernelpanic.streaming.video.VideoStream
Sets a Surface to show a preview of recorded media (video).
setTimeToLive(int) - Method in class net.majorkernelpanic.streaming.MediaStream
Sets the Time To Live of packets sent over the network.
setTimeToLive(int) - Method in class net.majorkernelpanic.streaming.rtp.AbstractPacketizer
 
setTimeToLive(int) - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Sets the Time To Live of the UDP packets.
setTimeToLive(int) - Method in class net.majorkernelpanic.streaming.Session
Set the TTL of all packets sent during the session.
setTimeToLive(int) - Method in class net.majorkernelpanic.streaming.SessionBuilder
 
setTimeToLive(int) - Method in interface net.majorkernelpanic.streaming.Stream
Sets the Time To Live of packets sent over the network.
setTransportMode(int) - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
Call this with RtspClient.TRANSPORT_TCP or 0 to choose the transport protocol that will be used to send RTP/RTCP packets.
setVideoEncoder(int) - Method in class net.majorkernelpanic.streaming.SessionBuilder
Sets the default video encoder.
setVideoQuality(VideoQuality) - Method in class net.majorkernelpanic.streaming.Session
Sets the configuration of the stream.
setVideoQuality(VideoQuality) - Method in class net.majorkernelpanic.streaming.SessionBuilder
Sets the video stream quality.
setVideoQuality(VideoQuality) - Method in class net.majorkernelpanic.streaming.video.VideoStream
Sets the configuration of the stream.
setYPadding(int) - Method in class net.majorkernelpanic.streaming.hw.NV21Convertor
 
SOFTWARE_ENCODERS - Static variable in class net.majorkernelpanic.streaming.video.CodecManager
There currently is no way to know if an encoder is software or hardware from the MediaCodecInfo class, so we need to maintain a list of known software encoders.
start() - Method in class net.majorkernelpanic.streaming.audio.AACStream
 
start() - Method in class net.majorkernelpanic.streaming.audio.AMRNBStream
Starts the stream.
start() - Method in class net.majorkernelpanic.streaming.MediaStream
Starts the stream.
start() - Method in class net.majorkernelpanic.streaming.rtp.AACADTSPacketizer
 
start() - Method in class net.majorkernelpanic.streaming.rtp.AACLATMPacketizer
 
start() - Method in class net.majorkernelpanic.streaming.rtp.AbstractPacketizer
Starts the packetizer.
start() - Method in class net.majorkernelpanic.streaming.rtp.AMRNBPacketizer
 
start() - Method in class net.majorkernelpanic.streaming.rtp.H263Packetizer
 
start() - Method in class net.majorkernelpanic.streaming.rtp.H264Packetizer
 
start() - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
Starts (or restart if needed, if for example the configuration of the server has been modified) the RTSP server.
start() - Method in class net.majorkernelpanic.streaming.Session
Asynchronously starts all streams of the session.
start() - Method in interface net.majorkernelpanic.streaming.Stream
Starts the stream.
start() - Method in class net.majorkernelpanic.streaming.video.H263Stream
Starts the stream.
start() - Method in class net.majorkernelpanic.streaming.video.H264Stream
Starts the stream.
start() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Starts the stream.
startGLThread() - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
startPreview() - Method in class net.majorkernelpanic.streaming.Session
Asynchronously starts the camera preview.
startPreview() - Method in class net.majorkernelpanic.streaming.video.VideoStream
 
startStream() - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
Connects to the RTSP server to publish the stream, and the effectively starts streaming.
stop() - Method in class net.majorkernelpanic.streaming.audio.AACStream
Stops the stream.
stop() - Method in class net.majorkernelpanic.streaming.MediaStream
Stops the stream.
stop() - Method in class net.majorkernelpanic.streaming.rtp.AACADTSPacketizer
 
stop() - Method in class net.majorkernelpanic.streaming.rtp.AACLATMPacketizer
 
stop() - Method in class net.majorkernelpanic.streaming.rtp.AbstractPacketizer
Stops the packetizer.
stop() - Method in class net.majorkernelpanic.streaming.rtp.AMRNBPacketizer
 
stop() - Method in class net.majorkernelpanic.streaming.rtp.H263Packetizer
 
stop() - Method in class net.majorkernelpanic.streaming.rtp.H264Packetizer
 
stop() - Method in class net.majorkernelpanic.streaming.rtsp.RtspServer
Stops the RTSP server but not the Android Service.
stop() - Method in class net.majorkernelpanic.streaming.Session
Stops all existing streams.
stop() - Method in interface net.majorkernelpanic.streaming.Stream
Stops the stream.
stop() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Stops the stream.
stopPreview() - Method in class net.majorkernelpanic.streaming.Session
Asynchronously stops the camera preview.
stopPreview() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Stops the preview.
stopStream() - Method in class net.majorkernelpanic.streaming.rtsp.RtspClient
Stops the stream, and informs the RTSP server.
StorageUnavailableException - Exception in net.majorkernelpanic.streaming.exceptions
 
StorageUnavailableException(String) - Constructor for exception net.majorkernelpanic.streaming.exceptions.StorageUnavailableException
 
Stream - Interface in net.majorkernelpanic.streaming
An interface that represents a Stream.
STREAM_AUDIO - Static variable in class net.majorkernelpanic.streaming.Session
 
STREAM_VIDEO - Static variable in class net.majorkernelpanic.streaming.Session
 
SUPPORTED_COLOR_FORMATS - Static variable in class net.majorkernelpanic.streaming.hw.CodecManager
 
SUPPORTED_COLOR_FORMATS - Static variable in class net.majorkernelpanic.streaming.video.CodecManager
 
surfaceChanged(SurfaceHolder, int, int, int) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
surfaceCreated(SurfaceHolder) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
surfaceDestroyed(SurfaceHolder) - Method in class net.majorkernelpanic.streaming.gl.SurfaceView
 
SurfaceManager - Class in net.majorkernelpanic.streaming.gl
 
SurfaceManager(Surface, SurfaceManager) - Constructor for class net.majorkernelpanic.streaming.gl.SurfaceManager
Creates an EGL context and an EGL surface.
SurfaceManager(Surface) - Constructor for class net.majorkernelpanic.streaming.gl.SurfaceManager
Creates an EGL context and an EGL surface.
SurfaceView - Class in net.majorkernelpanic.streaming.gl
An enhanced SurfaceView in which the camera preview will be rendered.
SurfaceView(Context, AttributeSet) - Constructor for class net.majorkernelpanic.streaming.gl.SurfaceView
 
SurfaceView.ViewAspectRatioMeasurer - Class in net.majorkernelpanic.streaming.gl
This class is a helper to measure views that require a specific aspect ratio.
swapBuffer() - Method in class net.majorkernelpanic.streaming.gl.SurfaceManager
 
switchCamera() - Method in class net.majorkernelpanic.streaming.Session
Switch between the front facing and the back facing camera of the phone.
switchCamera() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Switch between the front facing and the back facing camera of the phone.
syncConfigure() - Method in class net.majorkernelpanic.streaming.Session
Does the same thing as Session.configure(), but in a synchronous manner.
syncStart(int) - Method in class net.majorkernelpanic.streaming.Session
Starts a stream in a synchronous manner.
syncStart() - Method in class net.majorkernelpanic.streaming.Session
Does the same thing as Session.start(), but in a synchronous manner.
syncStop() - Method in class net.majorkernelpanic.streaming.Session
Stops all existing streams in a synchronous manner.

T

TAG - Static variable in class net.majorkernelpanic.streaming.audio.AACStream
 
TAG - Static variable in class net.majorkernelpanic.streaming.gl.SurfaceManager
 
TAG - Static variable in class net.majorkernelpanic.streaming.gl.SurfaceView
 
TAG - Static variable in class net.majorkernelpanic.streaming.gl.TextureManager
 
TAG - Static variable in class net.majorkernelpanic.streaming.hw.CodecManager
 
TAG - Static variable in class net.majorkernelpanic.streaming.hw.EncoderDebugger
 
TAG - Static variable in class net.majorkernelpanic.streaming.mp4.MP4Config
 
TAG - Static variable in class net.majorkernelpanic.streaming.rtp.AMRNBPacketizer
 
TAG - Static variable in class net.majorkernelpanic.streaming.rtp.H263Packetizer
 
TAG - Static variable in class net.majorkernelpanic.streaming.rtp.H264Packetizer
 
TAG - Variable in class net.majorkernelpanic.streaming.rtp.MediaCodecInputStream
 
TAG - Static variable in class net.majorkernelpanic.streaming.rtp.RtpSocket
 
TAG - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspClient
 
TAG - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspServer
 
TAG - Static variable in class net.majorkernelpanic.streaming.rtsp.UriParser
 
TAG - Static variable in class net.majorkernelpanic.streaming.Session
 
TAG - Static variable in class net.majorkernelpanic.streaming.SessionBuilder
 
TAG - Static variable in class net.majorkernelpanic.streaming.video.CodecManager
 
TAG - Static variable in class net.majorkernelpanic.streaming.video.H264Stream
 
TAG - Static variable in class net.majorkernelpanic.streaming.video.VideoQuality
 
TextureManager - Class in net.majorkernelpanic.streaming.gl
Code for rendering a texture onto a surface using OpenGL ES 2.0.
TextureManager() - Constructor for class net.majorkernelpanic.streaming.gl.TextureManager
 
toggleFlash() - Method in class net.majorkernelpanic.streaming.Session
Toggles the LED of the phone if it has one.
toggleFlash() - Method in class net.majorkernelpanic.streaming.video.VideoStream
Toggles the LED of the phone if it has one.
toString() - Method in class net.majorkernelpanic.streaming.video.VideoQuality
 
trackExists(int) - Method in class net.majorkernelpanic.streaming.Session
 
TRANSPORT_TCP - Static variable in class net.majorkernelpanic.streaming.rtp.RtpSocket
Use this to use TCP for the transport protocol.
TRANSPORT_TCP - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspClient
Use this to use TCP for the transport protocol.
TRANSPORT_UDP - Static variable in class net.majorkernelpanic.streaming.rtp.RtpSocket
Use this to use UDP for the transport protocol.
TRANSPORT_UDP - Static variable in class net.majorkernelpanic.streaming.rtsp.RtspClient
Use this to use UDP for the transport protocol.

U

update(int, long) - Method in class net.majorkernelpanic.streaming.rtcp.SenderReport
Updates the number of packets sent, and the total amount of data sent.
updateFrame() - Method in class net.majorkernelpanic.streaming.gl.TextureManager
 
updateTimestamp(long) - Method in class net.majorkernelpanic.streaming.rtp.RtpSocket
Overwrites the timestamp in the packet.
UriParser - Class in net.majorkernelpanic.streaming.rtsp
This class parses URIs received by the RTSP server and configures a Session accordingly.
UriParser() - Constructor for class net.majorkernelpanic.streaming.rtsp.UriParser
 

V

VIDEO_H263 - Static variable in class net.majorkernelpanic.streaming.SessionBuilder
VIDEO_H264 - Static variable in class net.majorkernelpanic.streaming.SessionBuilder
VIDEO_NONE - Static variable in class net.majorkernelpanic.streaming.SessionBuilder
VideoQuality - Class in net.majorkernelpanic.streaming.video
A class that represents the quality of a video stream.
VideoQuality() - Constructor for class net.majorkernelpanic.streaming.video.VideoQuality
Represents a quality for a video stream.
VideoQuality(int, int) - Constructor for class net.majorkernelpanic.streaming.video.VideoQuality
Represents a quality for a video stream.
VideoQuality(int, int, int, int) - Constructor for class net.majorkernelpanic.streaming.video.VideoQuality
Represents a quality for a video stream.
VideoStream - Class in net.majorkernelpanic.streaming.video
Don't use this class directly.
VideoStream() - Constructor for class net.majorkernelpanic.streaming.video.VideoStream
Don't use this class directly.
VideoStream(int) - Constructor for class net.majorkernelpanic.streaming.video.VideoStream
Don't use this class directly
ViewAspectRatioMeasurer() - Constructor for class net.majorkernelpanic.streaming.gl.SurfaceView.ViewAspectRatioMeasurer
 
A B C D E F G H I K L M N O P R S T U V 
Skip navigation links