toggle menu
RootEncoder
androidJvm
switch theme
search in API
rtmp
/
com.pedro.rtmp.rtmp.message
/
SetPeerBandwidth
Set
Peer
Bandwidth
class
SetPeerBandwidth
(
acknowledgementWindowSize
:
Int
=
0
,
type
:
SetPeerBandwidth.Type
=
Type.DYNAMIC
)
:
RtmpMessage
Created by pedro on 21/04/21.
Members
Constructors
Set
Peer
Bandwidth
Link copied to clipboard
constructor
(
acknowledgementWindowSize
:
Int
=
0
,
type
:
SetPeerBandwidth.Type
=
Type.DYNAMIC
)
Types
Type
Link copied to clipboard
enum
Type
:
Enum
<
SetPeerBandwidth.Type
>
Properties
header
Link copied to clipboard
val
header
:
RtmpHeader
Functions
get
Size
Link copied to clipboard
open
override
fun
getSize
(
)
:
Int
get
Type
Link copied to clipboard
open
override
fun
getType
(
)
:
MessageType
read
Body
Link copied to clipboard
open
override
fun
readBody
(
input
:
InputStream
)
store
Body
Link copied to clipboard
open
override
fun
storeBody
(
)
:
ByteArray
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
update
Header
Link copied to clipboard
fun
updateHeader
(
rtmpHeader
:
RtmpHeader
)
write
Body
Link copied to clipboard
suspend
fun
writeBody
(
socket
:
RtmpSocket
)
write
Header
Link copied to clipboard
suspend
fun
writeHeader
(
socket
:
RtmpSocket
)