- getAudioSessionId() - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Returns the current audio session id if a broadcast has been loaded.
- getBroadcastId() - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Returns the id of the loaded broadcast.
- getBufferPercentage() - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
- getCameraCount() - Method in class com.bambuser.broadcaster.Broadcaster
-
Query the number of available cameras on the current device.
- getCameraId() - Method in class com.bambuser.broadcaster.Broadcaster
-
Get the ID of the currently selected camera.
- getCaptureRotation() - Method in class com.bambuser.broadcaster.Broadcaster
-
Get the currently active capture rotation value.
- getCurrentPosition() - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Get the current play position in a video.
- getDefaultCipherSuites() - Method in class com.bambuser.broadcaster.ModernTlsSocketFactory
-
- getDuration() - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Get the duration of the currently playing video.
- getEndToEndLatency() - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Get the current measured end-to-end latency when playing a live broadcast.
- getHeight() - Method in class com.bambuser.broadcaster.Resolution
-
- getInstance() - Static method in class com.bambuser.broadcaster.ModernTlsSocketFactory
-
- getPreviewRotation() - Method in class com.bambuser.broadcaster.Broadcaster
-
Get the currently active preview rotation value.
- getRecentPosition() - Method in class com.bambuser.broadcaster.Broadcaster
-
- getResolution() - Method in class com.bambuser.broadcaster.Broadcaster
-
Get the current selected camera resolution.
- getState() - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Get the current state
- getSupportedCameras() - Method in class com.bambuser.broadcaster.Broadcaster
-
Returns a list of supported cameras on the current device.
- getSupportedCipherSuites() - Method in class com.bambuser.broadcaster.ModernTlsSocketFactory
-
- getSupportedPictureResolutions() - Method in class com.bambuser.broadcaster.Broadcaster
-
Retrieve a list of still picture resolutions that the current camera supports.
- getSupportedResolutions() - Method in class com.bambuser.broadcaster.Broadcaster
-
Retrieve a list of video resolutions that the current camera on this device supports.
- getTrustManager() - Static method in class com.bambuser.broadcaster.ModernTlsSocketFactory
-
- getUplinkRecommendation() - Method in class com.bambuser.broadcaster.Broadcaster
-
Get whether the
Broadcaster
recommends broadcasting or not, based on the latest
uplink bandwidth estimate.
- getUplinkSpeed() - Method in class com.bambuser.broadcaster.Broadcaster
-
Get the latest known uplink bandwidth estimate.
- getUploadTicketForApplicationId(Context, Map<String, String>, String) - Static method in class com.bambuser.broadcaster.BackendApi
-
Method for doing a POST request to the Bambuser ticket API endpoint, requiring a
Bambuser-provided application ID.
- getWidth() - Method in class com.bambuser.broadcaster.Resolution
-
- getZoom() - Method in class com.bambuser.broadcaster.Broadcaster
-
Get the currently active zoom.
- getZoomRatios() - Method in class com.bambuser.broadcaster.Broadcaster
-
Get the zoom ratios supported by the current camera at the current resolution.
- onActivityDestroy() - Method in class com.bambuser.broadcaster.Broadcaster
-
This must be called from the
onDestroy()
method to
release all resources properly.
- onActivityPause() - Method in class com.bambuser.broadcaster.Broadcaster
-
This must be called from the
onPause()
method to stop
internal threads and release hardware resources such as the camera and microphone.
- onActivityResume() - Method in class com.bambuser.broadcaster.Broadcaster
-
This must be called from the
onResume()
method to start
internal threads and restart camera preview.
- onBroadcastIdAvailable(String) - Method in interface com.bambuser.broadcaster.Broadcaster.Observer
-
Called when a broadcast has been added to the Bambuser database.
- onBroadcastInfoAvailable(String, String) - Method in interface com.bambuser.broadcaster.Broadcaster.Observer
-
Called when a broadcast has been added to the Bambuser database.
- onBroadcastLoaded(boolean, int, int) - Method in interface com.bambuser.broadcaster.BroadcastPlayer.Observer
-
Called on the main thread when initial data about the broadcast has been successfully
loaded, providing some information useful for UI layout.
- onCameraError(CameraError) - Method in interface com.bambuser.broadcaster.Broadcaster.Observer
-
- onCameraPreviewStateChanged() - Method in interface com.bambuser.broadcaster.Broadcaster.Observer
-
Called whenever a camera has stopped or started.
- onChatMessage(String) - Method in interface com.bambuser.broadcaster.Broadcaster.Observer
-
Will be called on incoming messages from the backend to the broadcaster.
- onConnectionError(ConnectionError, String) - Method in interface com.bambuser.broadcaster.Broadcaster.Observer
-
This callback will be called for any kind of connection error.
- onConnectionStatusChange(BroadcastStatus) - Method in interface com.bambuser.broadcaster.Broadcaster.Observer
-
- onCurrentViewersUpdated(long) - Method in interface com.bambuser.broadcaster.Broadcaster.ViewerCountObserver
-
Called when the number of viewers is updated.
- onCurrentViewersUpdated(long) - Method in interface com.bambuser.broadcaster.BroadcastPlayer.ViewerCountObserver
-
Called when the number of viewers is updated.
- onLocalMediaClosed(String) - Method in interface com.bambuser.broadcaster.Broadcaster.LocalMediaObserver
-
Called when local media writing has stopped.
- onLocalMediaError() - Method in interface com.bambuser.broadcaster.Broadcaster.LocalMediaObserver
-
Called if there is an error while writing a local copy of a broadcast.
- onMeasure(int, int) - Method in class com.bambuser.broadcaster.SurfaceViewWithAutoAR
-
- onPictureStored(File) - Method in interface com.bambuser.broadcaster.Broadcaster.PictureObserver
-
Called if a call to takePicture succeeded in capturing
and storing a picture to the provided File object.
- onResolutionsScanned() - Method in interface com.bambuser.broadcaster.Broadcaster.Observer
-
- onStateChange(PlayerState) - Method in interface com.bambuser.broadcaster.BroadcastPlayer.Observer
-
This will be called on the main thread every time the BroadcastPlayer state changes.
- onStreamHealthUpdate(int) - Method in interface com.bambuser.broadcaster.Broadcaster.Observer
-
Will be called regularly while capturing.
- onTalkbackStateChanged(TalkbackState, int, String, String) - Method in interface com.bambuser.broadcaster.Broadcaster.TalkbackObserver
-
Called whenever the internal state for a talkback stream changes.
- onTotalViewersUpdated(long) - Method in interface com.bambuser.broadcaster.Broadcaster.ViewerCountObserver
-
Called when the number of viewers is updated.
- onTotalViewersUpdated(long) - Method in interface com.bambuser.broadcaster.BroadcastPlayer.ViewerCountObserver
-
Called when the number of viewers is updated.
- onUplinkTestComplete(long, boolean) - Method in interface com.bambuser.broadcaster.Broadcaster.UplinkSpeedObserver
-
Called when an uplink speed test completes.
- seekTo(int) - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Seek to desired position.
- setAcceptType(BroadcastPlayer.AcceptType) - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Set the type accepted when loading the broadcast.
- setAudioQuality(Broadcaster.AudioSetting) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set the audio quality to use.
- setAudioVolume(float) - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Set the desired audio volume for this BroadcastPlayer instance.
- setAuthor(String) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set the author tag to send along with the broadcast.
- setCameraId(String) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set which camera the Broadcaster should activate.
- setCameraSurface(SurfaceView) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set the camera surface.
- setCaptureSounds(boolean) - Method in class com.bambuser.broadcaster.Broadcaster
-
Enable or disable camera capture sounds, i.e.
- setCropToParent(boolean) - Method in class com.bambuser.broadcaster.SurfaceViewWithAutoAR
-
Sets whether the content of the view should be cropped to fit the parent layout,
or shrunk (maintaining aspect ratio) to fit within the parent.
- setCustomData(String) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set custom data to send along with the broadcast.
- setLatencyMode(BroadcastPlayer.LatencyMode) - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Set whether the player should prioritize low latency or playback with less interruptions.
- setMaxLiveResolution(int, int) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set the maximum allowed resolution for the live broadcast video.
- setResolution(int, int) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set the desired camera video resolution.
- setRotation(int) - Method in class com.bambuser.broadcaster.Broadcaster
-
Invoke this method to rotate the camera preview, video and pictures according to the UI
orientation desired by the app.
- setRotation(int, int) - Method in class com.bambuser.broadcaster.Broadcaster
-
Invoke this method to rotate the camera preview, video and pictures according to the app UI orientation.
- setRotation(int, int, int, int) - Method in class com.bambuser.broadcaster.Broadcaster
-
Advanced rotation setter with support for cropping captured video to a desired aspect ratio.
- setSaveOnServer(boolean) - Method in class com.bambuser.broadcaster.Broadcaster
-
Sets whether the broadcast is stored on Bambuser's servers or not.
- setSendPosition(boolean) - Method in class com.bambuser.broadcaster.Broadcaster
-
Enable GPS and network based positioning, provided that the device supports it.
- setSurface(Surface) - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Set the Surface where video should be shown.
- setSurfaceView(SurfaceView) - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Set the SurfaceView where video will be shown.
- setTalkbackMixin(boolean) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set whether received talkback audio should be mixed into the broadcast audio signal.
- setTalkbackObserver(Broadcaster.TalkbackObserver) - Method in class com.bambuser.broadcaster.Broadcaster
-
- setTextureView(TextureView) - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Set the TextureView where video will be shown.
- setTimeshiftMode(boolean) - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Set whether the player should be configured for timeshift mode.
- setTitle(String) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set the title to use for the broadcast.
- setUplinkSpeedObserver(Broadcaster.UplinkSpeedObserver) - Method in class com.bambuser.broadcaster.Broadcaster
-
Set an uplink speed test observer.
- setViewerCountObserver(Broadcaster.ViewerCountObserver) - Method in class com.bambuser.broadcaster.Broadcaster
-
- setViewerCountObserver(BroadcastPlayer.ViewerCountObserver) - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
- setZoom(int) - Method in class com.bambuser.broadcaster.Broadcaster
-
Asynchronously sets the desired zoom.
- start() - Method in class com.bambuser.broadcaster.BroadcastPlayer
-
Resume playback of a
PAUSED
broadcast, or restart playback
of a
COMPLETED
archived broadcast.
- startBroadcast() - Method in class com.bambuser.broadcaster.Broadcaster
-
- startUplinkTest() - Method in class com.bambuser.broadcaster.Broadcaster
-
- stopBroadcast() - Method in class com.bambuser.broadcaster.Broadcaster
-
- stopTalkback() - Method in class com.bambuser.broadcaster.Broadcaster
-
Optionally call this at any time to stop a pending/ongoing talkback stream.
- storeLocalMedia(File, Broadcaster.LocalMediaObserver) - Method in class com.bambuser.broadcaster.Broadcaster
-
Enable writing a local copy of a broadcast to the specified file.
- SurfaceViewWithAutoAR - Class in com.bambuser.broadcaster
-
A SurfaceView which adjusts its aspect ratio to fit the camera preview resolution.
- SurfaceViewWithAutoAR(Context) - Constructor for class com.bambuser.broadcaster.SurfaceViewWithAutoAR
-
- SurfaceViewWithAutoAR(Context, AttributeSet) - Constructor for class com.bambuser.broadcaster.SurfaceViewWithAutoAR
-
- SurfaceViewWithAutoAR(Context, AttributeSet, int) - Constructor for class com.bambuser.broadcaster.SurfaceViewWithAutoAR
-
- switchCamera() - Method in class com.bambuser.broadcaster.Broadcaster
-
Switch to using the next camera.
- valueOf(String) - Static method in enum com.bambuser.broadcaster.Broadcaster.AudioSetting
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.bambuser.broadcaster.BroadcastPlayer.AcceptType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.bambuser.broadcaster.BroadcastPlayer.LatencyMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.bambuser.broadcaster.BroadcastStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.bambuser.broadcaster.CameraError
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.bambuser.broadcaster.ConnectionError
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.bambuser.broadcaster.PlayerState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.bambuser.broadcaster.TalkbackState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.bambuser.broadcaster.Broadcaster.AudioSetting
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.bambuser.broadcaster.BroadcastPlayer.AcceptType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.bambuser.broadcaster.BroadcastPlayer.LatencyMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.bambuser.broadcaster.BroadcastStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.bambuser.broadcaster.CameraError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.bambuser.broadcaster.ConnectionError
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.bambuser.broadcaster.PlayerState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.bambuser.broadcaster.TalkbackState
-
Returns an array containing the constants of this enum type, in
the order they are declared.