Skip to main content

All Questions

-2 votes
0 answers
23 views

How do fetch the real time latitude and longitude in Django and display that as a tracking map in the template? [closed]

I want to fetch the real time latitude and longitude from the Kotlin. I just want to display the real time latitude and longitude as a map in a template by using a Django frame work how do I do this? ...
bithor son's user avatar
1 vote
0 answers
37 views

Backend audio chunks aren't playing correctly when I pass them to client

First, I apologize if anything is spelled incorrectly or if I don't explain myself clearly enough as english is not my first languale. Now to the problem. I am both starting to work with OpenAI API ...
Alhelí Cabrera's user avatar
0 votes
0 answers
43 views

How do I get the user's webcam and process it on the server deployed webapp?

So I'm currently rebuilding my facial recognition app in flask and one thing that has stumped me is how to implement the function in the title into my program once I deploy it. I've heard that cap = ...
saineid's user avatar
0 votes
0 answers
28 views

Websocket stuck in CONNECTING readyState until ERR_CONNECTION_ABORTED error

I have a simple python Flask backend using Asyncio: # Simplified version of backend connectedClients = {} async def handler(webSocket): async for messageString in webSocket: print(f'...
Andrew's user avatar
  • 1,940
-3 votes
1 answer
49 views

Python websocket send data to js + html

This is what I wanna do: websocket client --> websocket server --> websocket client javascript +html I know how to send data from client to server but how can I print the output on html ?? html ...
Wanexa's user avatar
  • 77
0 votes
1 answer
37 views

Space is not sliced from my text in front-end

So here is my front-end JS code for the keyHandler: let snippet = document.getElementById('snippet'); let remaining = document.getElementById('remaining'); let typed = document.getElementById('typed'...
Hako_Sama's user avatar
0 votes
0 answers
21 views

Websocket Connection Failed Django javascript

I am trying to connect to my websocket from the frontend in javascript const url = 'wss://chatapprender.onrender.com/${person_id}/'; I am using django channels for backend ASGI_urlpatterns = [ ...
user24564356's user avatar
0 votes
0 answers
35 views

Websocket client not able to listen to WebSocket's sendText method from FastAPI

I am trying to listen for messages from backend using FastAPI and react.js on frontend. I am able to send message to backend from client and also able to receive to broadcast messages from backend to ...
BraveEvidence's user avatar
0 votes
1 answer
37 views

Javascript can't connect to python secure websockets

I have a python websockets since a year or two, i usually have two clients connecting, one using C# and one using python. I recently started working on a web client and try to use JS Websocket and it'...
Vollfeiw's user avatar
  • 244
0 votes
0 answers
33 views

Django Channels WebSocket Authentication with React: Stuck at Handshake

I'm integrating Django Channels WebSockets into my React app and hit a roadblock with user authentication during the WebSocket handshake. Despite setting up everything according to the docs, my ...
Dendalion's user avatar
0 votes
1 answer
36 views

Undefined Usernames Issue in Django Channels WebSocket Consumer

I have created django consumers.py and a frontend in html and css to disply messages sent by a user, the profile picture of the sender and the username of the sender but anytime i open the browser, ...
Elvis Ampoh's user avatar
0 votes
0 answers
175 views

Streaming audio from a PyAudio stream to be played on a webpage in Javascript

I'm trying to take an audio stream from my computer using PyAudio (specifically the pyaudiowpatch fork), stream that audio data over a websocket (using the websockets library, and play it on a web ...
Nick's user avatar
  • 95
0 votes
0 answers
37 views

Tornado websocket connection working with python client but fails with javascript client code

In my project I have following websocket handler using tornado websockets: class EchoWebSocket(tornado.websocket.WebSocketHandler): def open(self): print("WebSocket opened") def ...
mbhatti_20's user avatar
1 vote
1 answer
142 views

The architecture behind new whatsapp web

Just curious about the architecture behind the new whatsapp web, how the new whatsapp web can keep syncronize with new incoming message even when my phone is offline? does whatsapp store user's ...
Jordan Ravelino's user avatar
0 votes
0 answers
101 views

How can I stream an OpenCV video?

I'm trying to make the image/video streaming from here work on socket so I could make it send that stream to a server in the cloud. For testing, I just use Live Server to host the webpage and use ...
rminaj's user avatar
  • 455

15 30 50 per page
1
2 3 4 5
21