toggle menu
HaishinKit
androidJvm
switch theme
compose
com.
haishinkit.
compose
Connection
State
Haishin
Kit
View()
Haishin
Kit
View
Type
Surface
View
Texture
View
Recorder
State
remember
Connection
State()
remember
Recorder
State()
haishinkit
com.
haishinkit.
amf
Amf
Ecma
Array
Amf
Undefined
Amf
Xml
Document
com.
haishinkit.
codec
Audio
Codec
Companion
Setting
Codec
Companion
Listener
Setting
Codec
Capabilities
Codec
Option
Video
Codec
Companion
Setting
Video
Codec
Profile
Level
H264_BASELINE_3_1
H264_BASELINE_3_2
H264_BASELINE_4_0
H264_BASELINE_4_1
H264_BASELINE_4_2
H264_BASELINE_50
H264_BASELINE_51
H264_BASELINE_52
H264_MAIN_3_1
H264_MAIN_3_2
H264_MAIN_4_0
H264_MAIN_4_1
H264_MAIN_4_2
H264_MAIN_5_0
H264_MAIN_5_1
H264_MAIN_5_2
H264_HIGH_3_1
H264_HIGH_3_2
H264_HIGH_4_0
H264_HIGH_4_1
H264_HIGH_4_2
H264_HIGH_5_0
H264_HIGH_5_1
H264_HIGH_5_2
HEVC_MAIN_1
HEVC_MAIN_2
HEVC_MAIN_2_1
HEVC_MAIN_3
HEVC_MAIN_3_1
HEVC_MAIN_4
HEVC_MAIN_4_1
HEVC_MAIN_5
HEVC_MAIN_5_1
HEVC_MAIN_5_2
HEVC_MAIN_6
HEVC_MAIN_6_1
HEVC_MAIN_6_2
VP9_PROFILE0_1
VP9_PROFILE0_11
VP9_PROFILE0_2
VP9_PROFILE0_21
VP9_PROFILE0_3
VP9_PROFILE0_31
VP9_PROFILE0_4
VP9_PROFILE0_41
VP9_PROFILE0_5
VP9_PROFILE0_51
VP9_PROFILE0_52
VP9_PROFILE0_6
VP9_PROFILE0_61
VP9_PROFILE0_62
VP9_PROFILE1_1
VP9_PROFILE1_11
VP9_PROFILE1_2
VP9_PROFILE1_21
VP9_PROFILE1_3
VP9_PROFILE1_31
VP9_PROFILE1_4
VP9_PROFILE1_41
VP9_PROFILE1_5
VP9_PROFILE1_51
VP9_PROFILE1_6
VP9_PROFILE1_61
VP9_PROFILE1_62
VP9_PROFILE2_1
VP9_PROFILE2_11
VP9_PROFILE2_2
VP9_PROFILE2_21
VP9_PROFILE2_3
VP9_PROFILE2_31
VP9_PROFILE2_4
VP9_PROFILE2_41
VP9_PROFILE2_5
VP9_PROFILE2_51
VP9_PROFILE2_6
VP9_PROFILE2_61
VP9_PROFILE2_62
VP9_PROFILE3_1
VP9_PROFILE3_11
VP9_PROFILE3_2
VP9_PROFILE3_21
VP9_PROFILE3_3
VP9_PROFILE3_31
VP9_PROFILE3_4
VP9_PROFILE3_41
VP9_PROFILE3_5
VP9_PROFILE3_51
VP9_PROFILE3_6
VP9_PROFILE3_61
VP9_PROFILE3_62
AV1_MAIN8_2
AV1_MAIN8_2_1
AV1_MAIN8_2_2
AV1_MAIN8_2_3
AV1_MAIN8_3
AV1_MAIN8_3_1
AV1_MAIN8_3_2
AV1_MAIN8_3_3
AV1_MAIN8_4
AV1_MAIN8_4_1
AV1_MAIN8_4_2
AV1_MAIN8_4_3
AV1_MAIN8_5
AV1_MAIN8_5_1
AV1_MAIN8_5_2
AV1_MAIN8_5_3
com.
haishinkit.
event
Event
Companion
Event
Dispatcher
Companion
Event
Utils
IEvent
Dispatcher
IEvent
Listener
com.
haishinkit.
graphics
Image
Orientation
UP
DOWN
LEFT
RIGHT
UP_MIRRORED
DOWN_MIRRORED
LEFT_MIRRORED
RIGHT_MIRRORED
Pixel
Transform
Companion
Resample
Filter
LINEAR
NEAREST
Video
Gravity
RESIZE
RESIZE_ASPECT
RESIZE_ASPECT_FILL
com.
haishinkit.
graphics.
effect
Bicubic
Video
Effect
Bilinear
Video
Effect
Default
Video
Effect
Companion
Lanczos
Video
Effect
Monochrome
Video
Effect
Mosaic
Video
Effect
Sepia
Video
Effect
Video
Effect
com.
haishinkit.
graphics.
glsl
Requirements
Directive
Shader
Stage
ALL
VERTEX
FRAGMENT
Uniform
Version
Code
ES300
com.
haishinkit.
lang
decode
Hex()
Running
com.
haishinkit.
media
Audio
Record
Source
Companion
Audio
Source
Camera2Source
Media
Projection
Source
Companion
Multi
Camera2Source
Source
Stream
Stream
Recorder
Stream
View
Video
Source
com.
haishinkit.
net
Net
Socket
Listener
Responder
Companion
com.
haishinkit.
rtmp
Rtmp
Connection
Code
CALL_BAD_VERSION
CALL_FAILED
CALL_PROHIBITED
CONNECT_APP_SHUTDOWN
CONNECT_CLOSED
CONNECT_FAILED
CONNECT_IDLE_TIME_OUT
CONNECT_INVALID_APP
CONNECT_NETWORK_CHANGE
CONNECT_REJECTED
CONNECT_SUCCESS
Companion
Rtmp
Stream
Code
BUFFER_EMPTY
BUFFER_FLUSH
BUFFER_FULL
CONNECT_CLOSED
CONNECT_FAILED
CONNECT_REJECTED
CONNECT_SUCCESS
DRM_UPDATE_NEEDED
FAILED
MULTI_STREAM_RESET
PAUSE_NOTIFY
PLAY_FAILED
PLAY_FILE_STRUCTURE_INVALID
PLAY_INSUFFICIENT_BW
PLAY_NO_SUPPORTED_TRACK_FOUND
PLAY_RESET
PLAY_START
PLAY_STOP
PLAY_STREAM_NOT_FOUND
PLAY_TRANSITION
PLAY_UNPUBLISH_NOTIFY
PUBLISH_BAD_NAME
PUBLISH_IDLE
PUBLISH_START
RECORD_ALREADY_EXISTS
RECORD_FAILED
RECORD_NO_ACCESS
RECORD_START
RECORD_STOP
RECORD_DISK_QUOTA_EXCEEDED
SECOND_SCREEN_START
SECOND_SCREEN_STOP
SEEK_FAILED
SEEK_INVALID_TIME
SEEK_NOTIFY
STEP_NOTIFY
UNPAUSE_NOTIFY
UNPUBLISH_SUCCESS
VIDEO_DIMENSION_CHANGE
Companion
How
To
Publish
RECORD
APPEND
APPEND_WITH_GAP
LIVE
Info
Listener
com.
haishinkit.
screen
Edge
Insets
Image
Renderer
Screen
Callback
Companion
Screen
Object
Companion
Screen
Object
Container
Text
Video
On
Surface
Changed
Listener
com.
haishinkit.
util
aspect
Ratio
Feature
Util
Media
Format
Util
swap()
com.
haishinkit.
view
Hk
Surface
View
Hk
Texture
View
lottie
com.
haishinkit.
lottie
Lottie
Screen
vulkan
com.
haishinkit.
vulkan
Vk
Pixel
Transform
Companion
haishinkit
/
com.haishinkit.screen
/
Video
/
deviceOrientation
device
Orientation
var
deviceOrientation
:
Int
Specifies the deviceOrientation that describe the physical orientation of the device.