Package-level declarations

Types

Link copied to clipboard

The Android view implementation used by HaishinKitView.

Link copied to clipboard

Exposes recording controls and Compose-observable state for a MediaRecorder.

Link copied to clipboard

Wraps a stream session with Compose-observable connection state.

Functions

Link copied to clipboard
fun HaishinKitView(stream: Stream, modifier: Modifier = Modifier, backgroundColor: Int = Color.BLACK, isOpaque: Boolean = true, videoGravity: VideoGravity = VideoGravity.RESIZE_ASPECT, viewType: HaishinKitViewType = HaishinKitViewType.SurfaceView)

Displays a stream using an Android video view hosted in Compose.

Link copied to clipboard

Creates and remembers a MediaRecorderState for recorder. A different recorder creates new state.

Link copied to clipboard

Creates and remembers a StreamSessionState for session. A different session creates new state.