Comments (5)
Do you get any errors on the console? Can you confirm you're using the unmodified code from HEAD?
from aiortc.
yep, I'm using the new code and have no error on the console.
Only when I use mobile device, my picture is frozen a few seconds later
from aiortc.
Mahsa, can I please ask you to try and provide some more information, like adding some print() statements in various places to understand whether:
- you are still receiving frames from the remote party
- the frames are correctly decoded, and what their dimensions are
- image processing is applied successfully
- encoding the outgoing frames works
What mobile OS + browser are you using?
Without any more information I am unlikely to be able to help.
from aiortc.
Thanks a lot dear Jlaine
My mobile OS is Android 7.0 and I only test with Firefox or Chrome browsers.
For saving audios and videos of local side or remote side, I have already used a dictionary like this:
rtc_io = {
'call-1': {
'1': {
'audio': [],
'video': [],
'connected': False,
'rf_id': None,
'rf_delay': None
},
'2': {
'audio': [],
'video': [],
'connected': False,
'rf_id': None,
'rf_delay': None
},
'pcs':[]
}
}
I know 'call-1' should be unique, but here for instance this value is given.
Now, I'm going to try with asyncio.Queue(maxsize=1) but it appears that audios and videos are not put into queue.
I considered a separate queue for each one of them, in fact we have four queues,those variables were defined in main section of script, but nothing is received!
I tried with using asyncio.Queue(maxsize=1) for only local side and saw it worked.
I placed some print lines in different parts of code (while putting and getting frames), but those lines were not shown.
from aiortc.
Ok this issue doesn't seem to be about aiortc, but about some end user code which I don't have.
from aiortc.
Related Issues (20)
- CPU usage goes up from 10% to 60%
- cpu load
- P2P RTC connection using a STUN server.
- Trying to send multiple video streams from backend to client(web-browser) HOT 1
- ReplaceTrack
- aiortc iceconnectionstate is failled after 25 seconds
- How to set up a transceiver?
- Error while trying to connect second peer
- server busy with no error if i try to fetch /offer many times and immediately abort the operation
- Transport exceptions when client is disconnected unexpected (for example closing the browser tab) HOT 4
- Received video frame pts jumps over 4 billion forward HOT 2
- [Example][Server] MediaRecorder is not saving audio (mp3) from the web HOT 2
- Establish one-way video from server to client HOT 2
- Data channel stuck in connecting state while still receiving messages on it HOT 1
- Request for Guidance on Extracting WHEP Save as MP4 Files from AIORTC
- MediaPlayer HTTP stream from the same EndPoint does work
- Cannot connect to video stream: BINDING ERROR / 400 Bad Request HOT 1
- Can aiortc module be used for professional or semi-professional use?
- Implement MediaStreamTrack.enabled HOT 3
- Setting RTCRtpTransceiver.direction to `inactive` does not have any effect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiortc.