Index
Modules:
libdatachannel
,
libdatachannel/bindings
,
libdatachannel/websockets
.
API symbols
close:
websockets: proc close(wsclient: WebSocketClient)
websockets: proc close(wsserver: WebSocketServer)
getPort:
websockets: proc getPort(wsserver: WebSocketServer): Port
libdatachannel_dll:
bindings: const libdatachannel_dll
listen:
websockets: proc listen(wsclient: WebSocketClient; event: WebSocketListener; callback: rtcOpenCallbackFunc | rtcClosedCallbackFunc)
websockets: proc listen(wsclient: WebSocketClient; event: WebSocketListener; callback: rtcErrorCallbackFunc)
websockets: proc listen(wsclient: WebSocketClient; event: WebSocketListener; callback: rtcMessageCallbackFunc)
message:
websockets: proc message(id: cint; msg: cstring)
websockets: proc message(id: cint; msg: string)
websockets: proc message(wsclient: WebSocketClient; msg: string): string
newWebSocketClient:
websockets: proc newWebSocketClient(url: string; disableTlsVerification: bool = true): WebSocketClient
newWebSocketServer:
websockets: proc newWebSocketServer(enableTls: bool = false; port: Port = Port(0)): WebSocketServer
onClosed:
websockets: WebSocketListener.onClosed
onError:
websockets: WebSocketListener.onError
onMessage:
websockets: WebSocketListener.onMessage
onOpened:
websockets: WebSocketListener.onOpened
rtcAddRemoteCandidate:
bindings: proc rtcAddRemoteCandidate(pc: cint; cand: cstring; mid: cstring): cint
rtcAddTrack:
bindings: proc rtcAddTrack(pc: cint; mediaDescriptionSdp: cstring): cint
rtcAddTrackEx:
bindings: proc rtcAddTrackEx(pc: cint; init: ptr RTCTrackInit): cint
rtcAvailableCallbackFunc:
bindings: type rtcAvailableCallbackFunc
rtcBufferedAmountLowCallbackFunc:
bindings: type rtcBufferedAmountLowCallbackFunc
rtcCandidateCallbackFunc:
bindings: type rtcCandidateCallbackFunc
RtcCertificateType:
bindings: enum RtcCertificateType
rtcChainRtcpNackResponder:
bindings: proc rtcChainRtcpNackResponder(tr: cint; maxStoredPacketsCount: cuint): cint
rtcChainRtcpSrReporter:
bindings: proc rtcChainRtcpSrReporter(tr: cint): cint
rtcCleanup:
bindings: proc rtcCleanup()
rtcClosedCallbackFunc:
bindings: type rtcClosedCallbackFunc
rtcClosePeerConnection:
bindings: proc rtcClosePeerConnection(pc: cint): cint
RtcCodec:
bindings: enum RtcCodec
rtcConfiguration:
bindings: object rtcConfiguration
rtcCreateDataChannel:
bindings: proc rtcCreateDataChannel(pc: cint; label: cstring): cint
rtcCreateDataChannelEx:
bindings: proc rtcCreateDataChannelEx(pc: cint; label: cstring; init: ptr RTCDataChannelInit): cint
rtcCreatePeerConnection:
bindings: proc rtcCreatePeerConnection(config: ptr rtcConfiguration): cint
rtcCreateWebSocket:
bindings: proc rtcCreateWebSocket(url: cstring): cint
rtcCreateWebSocketEx:
bindings: proc rtcCreateWebSocketEx(url: cstring; config: ptr rtcWsConfiguration): cint
rtcCreateWebSocketServer:
bindings: proc rtcCreateWebSocketServer(config: ptr rtcWsServerConfiguration; cb: RTCWebSocketClientCallbackFunc): cint
rtcDataChannelCallbackFunc:
bindings: type rtcDataChannelCallbackFunc
RTCDataChannelInit:
bindings: object RTCDataChannelInit
RTC_DEFAULT_MAXIMUM_FRAGMENT_SIZE:
bindings: const RTC_DEFAULT_MAXIMUM_FRAGMENT_SIZE
RTC_DEFAULT_MAXIMUM_PACKET_COUNT_FOR_NACK_CACHE:
bindings: const RTC_DEFAULT_MAXIMUM_PACKET_COUNT_FOR_NACK_CACHE
RTC_DEFAULT_MTU:
bindings: const RTC_DEFAULT_MTU
rtcDeleteDataChannel:
bindings: proc rtcDeleteDataChannel(dc: cint): cint
rtcDeletePeerConnection:
bindings: proc rtcDeletePeerConnection(pc: cint): cint
rtcDeleteTrack:
bindings: proc rtcDeleteTrack(tr: cint): cint
rtcDeleteWebSocket:
bindings: proc rtcDeleteWebSocket(ws: cint): cint
rtcDeleteWebSocketServer:
bindings: proc rtcDeleteWebSocketServer(wsserver: cint): cint
rtcDescriptionCallbackFunc:
bindings: type rtcDescriptionCallbackFunc
RtcDirection:
bindings: enum RtcDirection
RTC_ENABLE_MEDIA:
bindings: const RTC_ENABLE_MEDIA
RTC_ENABLE_WEBSOCKET:
bindings: const RTC_ENABLE_WEBSOCKET
RTC_ERR_FAILURE:
bindings: const RTC_ERR_FAILURE
RTC_ERR_INVALID:
bindings: const RTC_ERR_INVALID
RTC_ERR_NOT_AVAIL:
bindings: const RTC_ERR_NOT_AVAIL
rtcErrorCallbackFunc:
bindings: type rtcErrorCallbackFunc
RTC_ERR_SUCCESS:
bindings: const RTC_ERR_SUCCESS
RTC_ERR_TOO_SMALL:
bindings: const RTC_ERR_TOO_SMALL
rtcGatheringState:
bindings: enum rtcGatheringState
rtcGatheringStateCallbackFunc:
bindings: type rtcGatheringStateCallbackFunc
rtcGetAvailableAmount:
bindings: proc rtcGetAvailableAmount(id: cint): cint
rtcGetBufferedAmount:
bindings: proc rtcGetBufferedAmount(id: cint): cint
rtcGetCNameForSsrc:
bindings: proc rtcGetCNameForSsrc(tr: cint; ssrc: uint32; cname: cstring; cnameSize: cint): cint
rtcGetCurrentTrackTimestamp:
bindings: proc rtcGetCurrentTrackTimestamp(id: cint; timestamp: ptr uint32): cint
rtcGetDataChannelLabel:
bindings: proc rtcGetDataChannelLabel(dc: cint; buffer: cstring; size: cint): cint
rtcGetDataChannelProtocol:
bindings: proc rtcGetDataChannelProtocol(dc: cint; buffer: cstring; size: cint): cint
rtcGetDataChannelReliability:
bindings: proc rtcGetDataChannelReliability(dc: cint; reliability: ptr RTCReliability): cint
rtcGetDataChannelStream:
bindings: proc rtcGetDataChannelStream(dc: cint): cint
rtcGetLocalAddress:
bindings: proc rtcGetLocalAddress(pc: cint; buffer: cstring; size: cint): cint
rtcGetLocalDescription:
bindings: proc rtcGetLocalDescription(pc: cint; buffer: cstring; size: cint): cint
rtcGetLocalDescriptionType:
bindings: proc rtcGetLocalDescriptionType(pc: cint; buffer: cstring; size: cint): cint
rtcGetPreviousTrackSenderReportTimestamp:
bindings: proc rtcGetPreviousTrackSenderReportTimestamp(id: cint; timestamp: ptr uint32): cint
rtcGetRemoteAddress:
bindings: proc rtcGetRemoteAddress(pc: cint; buffer: cstring; size: cint): cint
rtcGetRemoteDescription:
bindings: proc rtcGetRemoteDescription(pc: cint; buffer: cstring; size: cint): cint
rtcGetRemoteDescriptionType:
bindings: proc rtcGetRemoteDescriptionType(pc: cint; buffer: cstring; size: cint): cint
rtcGetSelectedCandidatePair:
bindings: proc rtcGetSelectedCandidatePair(pc: cint; local: cstring; localSize: cint; remote: cstring; remoteSize: cint): cint
rtcGetSsrcsForTrack:
bindings: proc rtcGetSsrcsForTrack(tr: cint; buffer: ptr uint32; count: cint): cint
rtcGetSsrcsForType:
bindings: proc rtcGetSsrcsForType(mediaType: cstring; sdp: cstring; buffer: ptr uint32; bufferSize: cint): cint
rtcGetTrackDescription:
bindings: proc rtcGetTrackDescription(tr: cint; buffer: cstring; size: cint): cint
rtcGetTrackPayloadTypesForCodec:
bindings: proc rtcGetTrackPayloadTypesForCodec(tr: cint; ccodec: cstring; buffer: ptr cint; size: cint): cint
rtcGetTrackStartTimestamp:
bindings: proc rtcGetTrackStartTimestamp(id: cint; timestamp: ptr uint32): cint
rtcGetUserPointer:
bindings: proc rtcGetUserPointer(i: cint): pointer
rtcGetWebSocketPath:
bindings: proc rtcGetWebSocketPath(ws: cint; buffer: cstring; size: cint): cint
rtcGetWebSocketRemoteAddress:
bindings: proc rtcGetWebSocketRemoteAddress(ws: cint; buffer: cstring; size: cint): cint
rtcGetWebSocketServerPort:
bindings: proc rtcGetWebSocketServerPort(wsserver: cint): cint
rtcInitLogger:
bindings: proc rtcInitLogger(level: RTCLogLevel; cb: rtcLogCallbackFunc)
rtcIsClosed:
bindings: proc rtcIsClosed(id: cint): bool
rtcIsOpen:
bindings: proc rtcIsOpen(id: cint): bool
rtcLogCallbackFunc:
bindings: type rtcLogCallbackFunc
RTCLogLevel:
bindings: enum RTCLogLevel
rtcMessageCallbackFunc:
bindings: type rtcMessageCallbackFunc
RTC_NAL_SEPARATOR_LENGTH:
bindings: RTCNalUnitSeparator.RTC_NAL_SEPARATOR_LENGTH
RTC_NAL_SEPARATOR_LONG_START_SEQUENCE:
bindings: RTCNalUnitSeparator.RTC_NAL_SEPARATOR_LONG_START_SEQUENCE
RTC_NAL_SEPARATOR_SHORT_START_SEQUENCE:
bindings: RTCNalUnitSeparator.RTC_NAL_SEPARATOR_SHORT_START_SEQUENCE
RTC_NAL_SEPARATOR_START_SEQUENCE:
bindings: RTCNalUnitSeparator.RTC_NAL_SEPARATOR_START_SEQUENCE
RTCNalUnitSeparator:
bindings: enum RTCNalUnitSeparator
rtcOpenCallbackFunc:
bindings: type rtcOpenCallbackFunc
RTCPacketizationHandlerInit:
bindings: object RTCPacketizationHandlerInit
rtcPreload:
bindings: proc rtcPreload()
rtcReceiveMessage:
bindings: proc rtcReceiveMessage(id: cint; buffer: cstring; size: ptr cint): cint
RTCReliability:
bindings: object RTCReliability
RTCSctpSettings:
bindings: object RTCSctpSettings
rtcSendMessage:
bindings: proc rtcSendMessage(id: cint; data: cstring; size: cint): cint
rtcSetAvailableCallback:
bindings: proc rtcSetAvailableCallback(id: cint; cb: rtcAvailableCallbackFunc): cint
rtcSetBufferedAmountLowCallback:
bindings: proc rtcSetBufferedAmountLowCallback(id: cint; cb: rtcBufferedAmountLowCallbackFunc): cint
rtcSetBufferedAmountLowThreshold:
bindings: proc rtcSetBufferedAmountLowThreshold(id: cint; amount: cint): cint
rtcSetClosedCallback:
bindings: proc rtcSetClosedCallback(id: cint; cb: rtcClosedCallbackFunc): cint
rtcSetDataChannelCallback:
bindings: proc rtcSetDataChannelCallback(pc: cint; cb: rtcDataChannelCallbackFunc): cint
rtcSetErrorCallback:
bindings: proc rtcSetErrorCallback(id: cint; cb: rtcErrorCallbackFunc): cint
rtcSetGatheringStateChangeCallback:
bindings: proc rtcSetGatheringStateChangeCallback(pc: cint; cb: rtcGatheringStateCallbackFunc): cint
rtcSetH264PacketizationHandler:
bindings: proc rtcSetH264PacketizationHandler(tr: cint; init: ptr RTCPacketizationHandlerInit): cint
rtcSetLocalCandidateCallback:
bindings: proc rtcSetLocalCandidateCallback(pc: cint; cb: rtcCandidateCallbackFunc): cint
rtcSetLocalDescription:
bindings: proc rtcSetLocalDescription(pc: cint; type: ptr cstring): cint
rtcSetLocalDescriptionCallback:
bindings: proc rtcSetLocalDescriptionCallback(pc: cint; cb: rtcDescriptionCallbackFunc): cint
rtcSetMessageCallback:
bindings: proc rtcSetMessageCallback(id: cint; cb: rtcMessageCallbackFunc): cint
rtcSetNeedsToSendRtcpSr:
bindings: proc rtcSetNeedsToSendRtcpSr(id: cint): cint
rtcSetOpenCallback:
bindings: proc rtcSetOpenCallback(id: cint; cb: rtcOpenCallbackFunc): cint
rtcSetOpusPacketizationHandler:
bindings: proc rtcSetOpusPacketizationHandler(tr: cint; init: ptr RTCPacketizationHandlerInit): cint
rtcSetRemoteDescription:
bindings: proc rtcSetRemoteDescription(pc: cint; sdp: cstring; type: cstring): cint
rtcSetRtpConfigurationStartTime:
bindings: proc rtcSetRtpConfigurationStartTime(id: cint; startTime: ptr RTCStartTime): cint
rtcSetSctpSettings:
bindings: proc rtcSetSctpSettings(settings: ptr RTCSctpSettings): cint
rtcSetSsrcForType:
bindings: proc rtcSetSsrcForType(mediaType: cstring; sdp: cstring; buffer: cstring; bufferSize: cint; init: ptr RTCSsrcForTypeInit): cint
rtcSetStateChangeCallback:
bindings: proc rtcSetStateChangeCallback(pc: cint; cb: rtcStateChangeCallbackFunc): cint
rtcSetTrackCallback:
bindings: proc rtcSetTrackCallback(pc: cint; cb: rtcTrackCallbackFunc): cint
rtcSetTrackRtpTimestamp:
bindings: proc rtcSetTrackRtpTimestamp(id: cint; timestamp: uint32): cint
rtcSetUserPointer:
bindings: proc rtcSetUserPointer(id: cint; usePtr: pointer)
rtcSignalingState:
bindings: enum rtcSignalingState
rtcSignalingStateCallbackFunc:
bindings: type rtcSignalingStateCallbackFunc
RTCSsrcForTypeInit:
bindings: object RTCSsrcForTypeInit
rtcStartRtcpSenderReporterRecording:
bindings: proc rtcStartRtcpSenderReporterRecording(id: cint): cint
RTCStartTime:
bindings: object RTCStartTime
rtcState:
bindings: enum rtcState
rtcStateChangeCallbackFunc:
bindings: type rtcStateChangeCallbackFunc
rtcTrackCallbackFunc:
bindings: type rtcTrackCallbackFunc
RTCTrackInit:
bindings: object RTCTrackInit
rtcTransformSecondsToTimestamp:
bindings: proc rtcTransformSecondsToTimestamp(id: cint; seconds: cdouble; timestamp: ptr uint32): cint
rtcTransformTimestampToSeconds:
bindings: proc rtcTransformTimestampToSeconds(id: cint; timestamp: uint32; seconds: ptr cdouble): cint
RtcTransportPolicy:
bindings: enum RtcTransportPolicy
RTCWebSocketClientCallbackFunc:
bindings: type RTCWebSocketClientCallbackFunc
rtcWsConfiguration:
bindings: object rtcWsConfiguration
rtcWsServerConfiguration:
bindings: object rtcWsServerConfiguration
send:
websockets: proc send(id: cint; msg: string)
websockets: proc send(wsclient: WebSocketClient; message: string)
startServer:
websockets: proc startServer(wsserver: WebSocketServer; callback: RTCWebSocketClientCallbackFunc): WebSocketIdentifier
WebSocketClient:
websockets: type WebSocketClient
WebSocketIdentifier:
websockets: type WebSocketIdentifier
WebSocketListener:
websockets: enum WebSocketListener
WebSocketServer:
websockets: type WebSocketServer