Questions tagged [aiortc]
47 questions
3
votes
2 answers
Send and receive objects through WebRTC data channel
In my project, I am using WebRTC to connect between 2 client using the aiortc package.
I am using this example code and it works, but it seems I can't send non-string data in the data channel.
This is what I send in the data channel (modified the…

SagiZiv
- 932
- 1
- 16
- 38
3
votes
1 answer
How to ask STUN server to generate the ice candidates using aiortc?
I have a working WebRTC client, and I want to receive it's video via WebRTC using aiotrc (python). The other client is working fine as the recipient, we have tested it with a browser.
Using python, I configure the server, I create an offer with a…

adamb
- 793
- 1
- 11
- 20
3
votes
1 answer
Python av play file in infinite loop
Using https://pypi.org/project/av/ trying to open file for infinite playback.
But the cycle ends with the last frame.
After searching and reading manuals, test code looks as follows:
(Note: these options are expected to be passed down to…

yan
- 196
- 1
- 9
2
votes
0 answers
ICE connection is stuck on checking and PeerConnection ConnectionState is stuck on connecting in Python Linux desktop application
I am currently working on a video calling application for Linux desktops. To establish peer-to-peer connections, I have used aiortc for RTC connections and utilized WebSockets for handling offer, answer, candidate, and message data transactions.…

Pavan V Parekh
- 1,906
- 2
- 19
- 36
2
votes
1 answer
Unable to fully establish ICE connection between two Python aiortc scripts
I'm working on putting together a prototype which streams video from one Python script to another using WebRTC via aiortc.
I'm riffing on the webcam example from the Python aiortc repository (using the --play-from flag to stream from a video file…

pdoherty926
- 9,895
- 4
- 37
- 68
2
votes
1 answer
Webrtc on Python failing to change ICE connection state between peers
First, I want to mention that I am very new to WebRTC, so any advice would be very helpful.
Currently I am using aiortc library to build my own WebRTC app.
Here is what I am trying to do.
I have 2 peers, one is web browser, which is written in…

uracali
- 25
- 1
- 6
2
votes
1 answer
Install python aiortc module in msys2 mingw-64
I am trying to install aiortc module in msys2 enviroment.
(Trying to install with several methods (pip, python -m pip, git clone,...) attemps deleted due to 30000 characters limitation.)
The problem consists to lvpxmt library that it's not available…

Chris P
- 2,059
- 4
- 34
- 68
2
votes
1 answer
OpenCV python modeling server with WebRTC
I have some understanding of WebRTC. I know it is mainly used in communication of two peers, but I somehow want my python server to receive it's stream and do some mathematical calculations on each frame, and send back the stream to the user.
I have…

Rezga
- 390
- 1
- 10
2
votes
0 answers
Streaming android screen using Webrtc + python
I'm trying to stream android screen using python + aiortc.
I have a POC to obtain the device screen using adb + screenrecord. The provided code reads the raw output (h264) from the execution of screenrecord and shows it using ffmpeg and…

bottega
- 123
- 1
- 13
1
vote
0 answers
WebRTC data channel message limit
I have peers connected through WebRTC, and I'm sending messages through the data channel.
I've read that there are some limits to the data channel of about 16kbs. However, this always was in the context of web browsers.
WebRTC can now be natively…

Vivere
- 1,919
- 4
- 16
- 35
1
vote
0 answers
How to setup webrtc connection between django server and browser using aiortc?
I want to setup webrtc connection between iot device with django server, that located behind NAT, and browser. I'm trying to use aiortc.
When I'm using standalone aiortc example, that contains aiohttp server, it works, but when I'm trying to…

AndreyPr
- 11
- 2
1
vote
0 answers
RTCPeerConnection connection state fail between browser and Django Server
I am using aortic to build RTCPeerConnection with the browser and the server using Django.
the server can receive offer from the browser and the browser can receive answer from the server
however, from the server…

Ikochoy
- 11
- 1
1
vote
1 answer
How to set an answer as LocalDescription in aiortc (python)?
I'm trying to perform signaling using python websocket, then create peer2peer connection using aiortc, to achieve webRTC-based video streaming using pure python.
I have managed to send an offer from a peer to another and setRemoteDescription…

Ahmad Alhilal
- 444
- 4
- 19
1
vote
1 answer
Aiortc simple radio server (no duplex audio channel) - solved
File: index.html
…

Chris P
- 2,059
- 4
- 34
- 68
1
vote
0 answers
Read/get remote webrtc stream from OBS.ninja with Python aiortc
I'm trying to read/get a remote stream which is provided via OBS.ninja, process it (do some kind of object detection) and then send the new stream to another server. I'm wondering if aiortc is the correct library/tooling for it or if I should…

MaGi
- 171
- 1
- 1
- 10