Giter Club home page Giter Club logo

Comments (5)

jlaine avatar jlaine commented on May 13, 2024

Do you get any errors on the console? Can you confirm you're using the unmodified code from HEAD?

from aiortc.

sogand145 avatar sogand145 commented on May 13, 2024

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.

jlaine avatar jlaine commented on May 13, 2024

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.

sogand145 avatar sogand145 commented on May 13, 2024

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.

jlaine avatar jlaine commented on May 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.