(chat-ws-fn)
Establish websocket connection with server
Establish websocket connection with server
(chat-ws-onmessage-fn event)
Onmessage websocket event receive message
Onmessage websocket event receive message
(close-connection-if-user-left-chat)
Close connection if user left chat page
Close connection if user left chat page
(close-connection-ws-fn)
Closes websocket connection with server
Closes websocket connection with server
(display-call-screen-fn screen-type)
Displays call screen
Displays call screen
(establish-chat-connection-ws-fn event)
Onopen websocket event save reference to websocket object
Onopen websocket event save reference to websocket object
(generate-chat-history chat-history)
Generate html of chat history
Generate html of chat history
(get-chat-history)
Get chat history for selected user and logged in user
Get chat history for selected user and logged in user
(get-selected-chat-contact)
Returns value of selected option in user select html element
Returns value of selected option in user select html element
(hang-up-call-fn)
Hang up on a call or reject answering
Hang up on a call or reject answering
(initialize-media-recorder)
Initialize media recorder
Initialize media recorder
(make-a-call-ws)
Makes call to selected contact
Makes call to selected contact
(remove-call-screen-fn)
Removes call screen
Removes call screen
(scroll-chat-to-bottom)
Scrolls chat content to bottom
Scrolls chat content to bottom
(selected-contact-username)
On every contact username change read chat history and initialize media recorder
On every contact username change read chat history and initialize media recorder
(send-audio-chunk-ws audio-chunk)
Sends audio chunk through websocket
Sends audio chunk through websocket
(send-chat-message-on-enter evt-p element event)
Send chat message on enter
Send chat message on enter
(send-chat-message-ws evt-p element event)
Send chat message to contact
Send chat message to contact
(start-streaming-fn)
Start streaming audio to selected username
Start streaming audio to selected username
(stop-streaming-fn)
Stop streaming audio to selected user
Stop streaming audio to selected user
(websocket-default-close event)
Default close of websocket
Default close of websocket
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close