Giter Site home page Giter Site logo

Comments (6)

zhouziyang avatar zhouziyang commented on July 26, 2024 1

should be 644, It's required by Android. should alert such error in dmesg if permission not correct.

from redroid-doc.

zhouziyang avatar zhouziyang commented on July 26, 2024

you need to change several properties (such as ro.product.cpu.abilist).
check native bridge for detailed (especially the factory.prop file).

from redroid-doc.

azteca1998 avatar azteca1998 commented on July 26, 2024

I assumed the defaults were already good for ndk_translation since the configuration example is for that specific translation layer.

Just in case, I checked with the properties on the emulator from which I extracted the libraries (Android 11 x86_64) and I found they were exactly the same as the defaults on this repo. However, when checking them on redroid, no props were changed.

Since it works if I add those props manually to the docker command, I assume that either there's a bug, or docker expects factory.prop to have specific owners or permissions.

Does the factory.prop need special permissions?

from redroid-doc.

azteca1998 avatar azteca1998 commented on July 26, 2024

That probably fixed it (can't try right now, but I just checked the running instance and its permissions were 664 instead of 644).

One last question, what are our options for sound? There seems to be no sound from the android instance, as expected, and sndcpy doesn't seem to work (see this issue). It seems that there's something not implemented which is required by sndcpy.

from redroid-doc.

zhouziyang avatar zhouziyang commented on July 26, 2024

this is a known issue (feature missing).
redroid primary focused on server side usage (cloud gaming etc.), and typically use WebRTC to streaming video and audio (need implement audio HAL part).

from redroid-doc.

azteca1998 avatar azteca1998 commented on July 26, 2024

I understand. I'll try to look into the source code once I have some free time.

Thanks for your time.

from redroid-doc.

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.