Yellowstone / ONVIFClient
-
↳
ONVIFClient
- _cSeq
- _client
- _keepAliveID
- _nextFreeInterleavedChannel
- _nextFreeUDPPort
- _session
- _unsupportedExtensions
- _url
- clientSSRC
- closed
- headers
- isConnected
- messageBytes
- password
- readState
- rtspContentLength
- rtspHeaders
- rtspPacket
- rtspPacketLength
- rtspPacketPointer
- rtspStatusLine
- setupResult
- tcpSocket
- username
- defaultMaxListeners
- _emptyReceiverReport
- _netConnect
- _onData
- _sendInterleavedData
- _sendUDPData
- _socketWrite
- addListener
- close
- connect
- emit
- eventNames
- getMaxListeners
- listenerCount
- listeners
- off
- on
- once
- pause
- play
- playFrom
- playReverse
- prependListener
- prependOnceListener
- rawListeners
- removeAllListeners
- removeListener
- request
- respond
- sendAudioBackChannel
- setMaxListeners
- listenerCount
- once
• new ONVIFClient(username
, password
)
Name | Type |
---|---|
username |
string |
password |
string |
• _cSeq: number
= 0
• Optional
_client: Socket
• Optional
_keepAliveID: Timeout
• _nextFreeInterleavedChannel: number
= 0
RTSPClient._nextFreeInterleavedChannel
• _nextFreeUDPPort: number
= 5000
• Optional
_session: string
• Optional
_unsupportedExtensions: string
[]
RTSPClient._unsupportedExtensions
• Optional
_url: string
• clientSSRC: number
• closed: boolean
= false
• headers: Object
▪ [key: string
]: string
• isConnected: boolean
= false
• messageBytes: number
[] = []
• password: string
• readState: ReadStates
= ReadStates.SEARCHING
• rtspContentLength: number
= 0
• rtspHeaders: Headers
= {}
• rtspPacket: Buffer
• rtspPacketLength: number
= 0
• rtspPacketPointer: number
= 0
• rtspStatusLine: string
= ""
• setupResult: Detail
[] = []
• tcpSocket: Socket
• username: string
▪ Static
defaultMaxListeners: number
RTSPClient.defaultMaxListeners
node_modules/@types/node/events.d.ts:20
▸ _emptyReceiverReport(): Buffer
Buffer
RTSPClient._emptyReceiverReport
▸ _netConnect(hostname
, port
): Promise
<ONVIFClient
>
Name | Type |
---|---|
hostname |
string |
port |
number |
Promise
<ONVIFClient
>
▸ _onData(data
): void
Name | Type |
---|---|
data |
Buffer |
void
▸ _sendInterleavedData(channel
, buffer
): void
Name | Type |
---|---|
channel |
number |
buffer |
Buffer |
void
RTSPClient._sendInterleavedData
▸ _sendUDPData(host
, port
, buffer
): void
Name | Type |
---|---|
host |
string |
port |
number |
buffer |
Buffer |
void
▸ _socketWrite(socket
, data
): Promise
<any
>
Name | Type |
---|---|
socket |
Socket |
data |
Buffer |
Promise
<any
>
▸ addListener(event
, listener
): ONVIFClient
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
node_modules/@types/node/globals.d.ts:554
▸ close(isImmediate?
): Promise
<void
>
Name | Type | Default value |
---|---|---|
isImmediate |
boolean |
false |
Promise
<void
>
▸ connect(url
, «destructured»?
): Promise
<Detail
[]>
Name | Type |
---|---|
url |
string |
«destructured» |
Object |
› connection? |
Connection |
› keepAlive |
boolean |
Promise
<Detail
[]>
▸ emit(event
, ...args
): boolean
Name | Type |
---|---|
event |
string | symbol |
...args |
any [] |
boolean
node_modules/@types/node/globals.d.ts:564
▸ eventNames(): (string
| symbol
)[]
(string
| symbol
)[]
node_modules/@types/node/globals.d.ts:569
▸ getMaxListeners(): number
number
node_modules/@types/node/globals.d.ts:561
▸ listenerCount(type
): number
Name | Type |
---|---|
type |
string | symbol |
number
node_modules/@types/node/globals.d.ts:565
▸ listeners(event
): Function
[]
Name | Type |
---|---|
event |
string | symbol |
Function
[]
node_modules/@types/node/globals.d.ts:562
▸ off(event
, listener
): ONVIFClient
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
node_modules/@types/node/globals.d.ts:558
▸ on(event
, listener
): ONVIFClient
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
node_modules/@types/node/globals.d.ts:555
▸ once(event
, listener
): ONVIFClient
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
node_modules/@types/node/globals.d.ts:556
▸ pause(): Promise
<void
>
Promise
<void
>
▸ play(): Promise
<void
>
Promise
<void
>
▸ playFrom(from
, to?
): Promise
<ONVIFClient
>
Name | Type |
---|---|
from |
Date |
to? |
Date |
Promise
<ONVIFClient
>
▸ playReverse(from?
, to?
): Promise
<ONVIFClient
>
Name | Type |
---|---|
from? |
Date |
to? |
Date |
Promise
<ONVIFClient
>
▸ prependListener(event
, listener
): ONVIFClient
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
node_modules/@types/node/globals.d.ts:567
▸ prependOnceListener(event
, listener
): ONVIFClient
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
RTSPClient.prependOnceListener
node_modules/@types/node/globals.d.ts:568
▸ rawListeners(event
): Function
[]
Name | Type |
---|---|
event |
string | symbol |
Function
[]
node_modules/@types/node/globals.d.ts:563
▸ removeAllListeners(event?
): ONVIFClient
Name | Type |
---|---|
event? |
string | symbol |
node_modules/@types/node/globals.d.ts:559
▸ removeListener(event
, listener
): ONVIFClient
Name | Type |
---|---|
event |
string | symbol |
listener |
(...args : any []) => void |
node_modules/@types/node/globals.d.ts:557
▸ request(requestName
, headersParam?
, url?
): Promise
<void
| { headers
: Headers
; mediaHeaders?
: string
[] }>
Name | Type |
---|---|
requestName |
string |
headersParam |
Headers |
url? |
string |
Promise
<void
| { headers
: Headers
; mediaHeaders?
: string
[] }>
▸ respond(status
, headersParam?
): void
Name | Type |
---|---|
status |
string |
headersParam |
Headers |
void
▸ sendAudioBackChannel(audioChunk
): Promise
<void
>
Name | Type |
---|---|
audioChunk |
Buffer |
Promise
<void
>
RTSPClient.sendAudioBackChannel
▸ setMaxListeners(n
): ONVIFClient
Name | Type |
---|---|
n |
number |
node_modules/@types/node/globals.d.ts:560
▸ Static
listenerCount(emitter
, event
): number
Deprecated
since v4.0.0
Name | Type |
---|---|
emitter |
EventEmitter |
event |
string | symbol |
number
node_modules/@types/node/events.d.ts:17
▸ Static
once(emitter
, event
): Promise
<any
[]>
Name | Type |
---|---|
emitter |
NodeEventTarget |
event |
string | symbol |
Promise
<any
[]>
node_modules/@types/node/events.d.ts:13
▸ Static
once(emitter
, event
): Promise
<any
[]>
Name | Type |
---|---|
emitter |
DOMEventTarget |
event |
string |
Promise
<any
[]>
node_modules/@types/node/events.d.ts:14