Index
Modules:
rtmp
,
rtmp/rtmpclient
,
rtmp/rtmpplaylist
,
rtmp/rtmpserver
,
rtmp/server/actionmessage
,
rtmp/server/chunkstream
.
API symbols
AacStreamState:
rtmpclient: type AacStreamState
AMF0_Boolean:
actionmessage: AMF0Type.AMF0_Boolean
AMF0_ECMAArray:
actionmessage: AMF0Type.AMF0_ECMAArray
AMF0_LongString:
actionmessage: AMF0Type.AMF0_LongString
AMF0_Null:
actionmessage: AMF0Type.AMF0_Null
AMF0_Number:
actionmessage: AMF0Type.AMF0_Number
AMF0_Object:
actionmessage: AMF0Type.AMF0_Object
AMF0_StrictArray:
actionmessage: AMF0Type.AMF0_StrictArray
AMF0_String:
actionmessage: AMF0Type.AMF0_String
amf0ToStr:
actionmessage: proc amf0ToStr(v: AMF0Value): string
AMF0Type:
actionmessage: enum AMF0Type
AMF0_Undefined:
actionmessage: AMF0Type.AMF0_Undefined
AMF0Value:
actionmessage: type AMF0Value
amfObj:
actionmessage: proc amfObj(pairs: openArray[(string, AMF0Value)]): AMF0Value
ChunkHeader:
chunkstream: object ChunkHeader
ChunkMessageCb:
chunkstream: type ChunkMessageCb
ChunkStreamCtx:
chunkstream: type ChunkStreamCtx
ChunkStreamState:
rtmpclient: object ChunkStreamState
chunkstream: type ChunkStreamState
ConnCtx:
rtmpserver: type ConnCtx
ConnStage:
rtmpclient: enum ConnStage
decodeAllAMF0:
actionmessage: proc decodeAllAMF0(data: seq[byte]): seq[AMF0Value]
decodeAllAMF0Ptr:
actionmessage: proc decodeAllAMF0Ptr(data: ptr byte; dataLen: int): seq[AMF0Value]
decodeAllAMF0Seq:
actionmessage: proc decodeAllAMF0Seq(data: seq[byte]): seq[AMF0Value]
decodeOneAMF0:
actionmessage: proc decodeOneAMF0(r: var ByteReader): AMF0Value
actionmessage: proc decodeOneAMF0(data: seq[byte]; idx: var int): AMF0Value
DEFAULT_RTMP_PORT:
rtmpserver: const DEFAULT_RTMP_PORT
encodeAMF0Values:
actionmessage: proc encodeAMF0Values(vals: seq[AMF0Value]): seq[byte]
encodeOneAMF0:
actionmessage: proc encodeOneAMF0(v: AMF0Value; outSeq: var seq[byte])
feedBytes:
chunkstream: proc feedBytes(ctx: ChunkStreamCtx; data: ptr byte; len: int): int
hsDone:
rtmpclient: RtmpHandshakeState.hsDone
HS_DONE:
rtmpserver: const HS_DONE
HS_INIT:
rtmpserver: const HS_INIT
hsRecvS0S1S2:
rtmpclient: RtmpHandshakeState.hsRecvS0S1S2
HS_S0S1_SENT:
rtmpserver: const HS_S0S1_SENT
hsSendC0C1:
rtmpclient: RtmpHandshakeState.hsSendC0C1
hsSendC2:
rtmpclient: RtmpHandshakeState.hsSendC2
initChunkStreamCtx:
chunkstream: proc initChunkStreamCtx(peerChunkSize: int = 128): ChunkStreamCtx
loadPlaylist:
rtmpplaylist: proc loadPlaylist(filePath: string): seq[string]
newBoolean:
actionmessage: proc newBoolean(v: bool): AMF0Value
newEcmaArray:
actionmessage: proc newEcmaArray(): AMF0Value
newNull:
actionmessage: proc newNull(): AMF0Value
newNumber:
actionmessage: proc newNumber(v: float64): AMF0Value
newObject:
actionmessage: proc newObject(): AMF0Value
newRtmpClient:
rtmpclient: proc newRtmpClient(address: string): RtmpClient
newStrictArray:
actionmessage: proc newStrictArray(items: seq[AMF0Value]): AMF0Value
newString:
actionmessage: proc newString(v: string): AMF0Value
newUndefined:
actionmessage: proc newUndefined(): AMF0Value
nextAudio:
rtmpplaylist: proc nextAudio(ps: PlaylistState): string
nextVideo:
rtmpplaylist: proc nextVideo(ps: PlaylistState): string
onEvent:
rtmpclient: proc onEvent(bev: ptr bufferevent; what: cshort; ctx: pointer)
PlaylistState:
rtmpplaylist: type PlaylistState
RtmpClient:
rtmpclient: type RtmpClient
RtmpConnState:
rtmpserver: object RtmpConnState
RTMP_DEFAULT_CHUNK_SIZE:
rtmpserver: const RTMP_DEFAULT_CHUNK_SIZE
RTMP_HANDSHAKE_SIZE:
rtmpserver: const RTMP_HANDSHAKE_SIZE
RtmpHandshakeState:
rtmpclient: enum RtmpHandshakeState
RTMP_MAX_CHUNK_SIZE:
rtmpserver: const RTMP_MAX_CHUNK_SIZE
RTMPServerError:
rtmpserver: object RTMPServerError
ServerCtx:
rtmpserver: type ServerCtx
setOnMessage:
chunkstream: proc setOnMessage(ctx: ChunkStreamCtx; cb: ChunkMessageCb; arg: pointer)
setPeerChunkSize:
chunkstream: proc setPeerChunkSize(ctx: ChunkStreamCtx; size: int)
startPacer:
rtmpclient: proc startPacer(client: RtmpClient; initCb: proc (c: RtmpClient) = nil)
startServer:
rtmpserver: proc startServer(port: int = DEFAULT_RTMP_PORT)
startStreamAacAdtsZeroCopy:
rtmpclient: proc startStreamAacAdtsZeroCopy(client: RtmpClient; filePath: string; msgStreamId: uint32; csid: uint8 = 4'u8; lowWater: int = 256 * 1024; startTs: uint32 = 0'u32)
startStreamFlvZeroCopy:
rtmpclient: proc startStreamFlvZeroCopy(client: RtmpClient; filePath: string; msgStreamId: uint32; lowWater: int = 256 * 1024; startTs: uint32 = 0'u32)
stConnectOk:
rtmpclient: ConnStage.stConnectOk
stConnectSent:
rtmpclient: ConnStage.stConnectSent
stCreateStreamSent:
rtmpclient: ConnStage.stCreateStreamSent
stHandshakeDone:
rtmpclient: ConnStage.stHandshakeDone
stInit:
rtmpclient: ConnStage.stInit
stPublishing:
rtmpclient: ConnStage.stPublishing
stPublishSent:
rtmpclient: ConnStage.stPublishSent
StreamAudioCallback:
rtmpclient: type StreamAudioCallback
StreamEntry:
rtmpserver: type StreamEntry
StreamErrorCallback:
rtmpclient: type StreamErrorCallback
StreamFileCallback:
rtmpclient: type StreamFileCallback
StreamState:
rtmpclient: type StreamState
stStreamIdOk:
rtmpclient: ConnStage.stStreamIdOk
SubscriberEntry:
rtmpserver: object SubscriberEntry