GithubHelp home page GithubHelp logo

how-to-miracast-on-aosp's Introduction

See https://github.com/kensuke/How-to-Miracast-on-AOSP/wiki

Everything you want..

Modified Files List

├── build
│   └── target
│       └── product
│           └── generic_no_telephony.mk // pre-install app setting
├── device
│   ├── asus
│   │   ├── grouper // Nexus 7 Wi-Fi
│   │   │   ├── audio_policy.conf
│   │   │   ├── device-common.mk
│   │   │   └── overlay/framewsorks/base/core/res/res/values/config.xml
│   │   └── tilapia // Nexus 7 3G
│   │        └── overlay/framewsorks/base/core/res/res/values/config.xml
│   └── samsung
│       ├── maguro // Galaxy Nexus
│       │    └── overlay/framewsorks/base/core/res/res/values/config.xml
│       └── tuna // Samsung Common
│           ├── audio
│           │   └── audio_policy.conf
│           ├── device.mk
│           └── media_codecs.xml
├── docs
│   └── images
│       └─ // some images for wiki documentation
├── frameworks
│   ├── av
│   │   └── media
│   │       └── libstagefright
│   │           ├── ACodec.cpp // Source
│   │           └── wifi-display
│   │               ├── ANetworkSession.cpp // Debug Log
│   │               ├── sink
│   │               │   ├── TunnelRenderer.cpp
│   │               │   └── WifiDisplaySink.cpp
│   │               └── source
│   │                   └── WifiDisplaySource.cpp
│   ├── base
│   │   └── services
│   │       └── java
│   │           └── com
│   │               └── android
│   │                   └── server
│   │                       └── display
│   │                           └── WifiDisplayController.java // Sink
│   └── native
│       └── libs
│           └── gui
│               └── SurfaceTexture.cpp // Sink: Screen Rotation
└── packages
    └── apps
        ├─ Mira4U // JNI Sink, other util app
        ├─ Settings/src/com/android/settings/wfd/WifiDisplaySettings.java // On/Off Switch
        └─ WFD    // wfd cmd test app

how-to-miracast-on-aosp's People

Contributors

kensuke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

how-to-miracast-on-aosp's Issues

Crash when WifiDisplaySink.cpp:652 CHECK_EQ( err,(status_t)OK)

I use samsung Note2 as source . also I know the Note2 with hdcp, so the wfd failed. the sink crash when WifiDisplaySink.cpp:652 CHECK_EQ( err,(status_t)OK). The sink application crash seams not so friendly for user, how to avoid the application crash? thanks a lot.

Crash in onQueueAccessUnit

I'm working on a HDMI dongle running 4.4.2. I'm getting following error.

I have put more debug logs to check. And what I see is that, AMessage of accessunit with track_no 0, is not getting a format in the first message. So It doesn't get registered in DirectRenderer, and hence it crashes.

Can you point to cause of such a problem? (I'm using Nexus 7 2013 as a source) Thanks a lot !

D/Mira_for_You_JNI( 1738): Source Addr[192.168.49.226] Port[7236]
I/NetworkSession( 1738): connecting socket 54 to 192.168.49.226:7236
I/WifiDisplaySink( 1738): We're now connected.
I/RTPReceiver( 1738): connectUDPSession RTP successful.
I/RTPReceiver( 1738): connectUDPSession RTCP successful.
I/WifiDisplaySink( 1738): MediaReceiver initialization completed w/ err 0
I/avc_utils( 1738): found AVC codec config (1280 x 720, Baseline-profile level 3.1)
I/MediaCodecList( 1738): register mediacode *****************
I/OMXClient( 1738): Using client-side OMX mux.
I/ ( 1738): new RKOMXPlugin
D/ACodec ( 1738): MEDIA_MIMETYPE_AUDIO_AAC sampleRate 48000 wifidisplay_flag 0 info >68bad878
F/DirectRenderer( 1738): frameworks/av/media/libstagefright/wifi->display/sink/DirectRenderer.cpp:559 CHECK(mDecoderContext[trackIndex] != NULL) failed.

Can't connect to Windows

hi, its not able to connect to any windows device using mircast for 4.4.2, any android device connected successfully and its frame has been render but if we follow same thing with windows it won't connect, wifiDisaplay sink struck at "kWhatReportLateness"

Merging with with AOSP 4.4.2 as a sink

I am trying to patch 4.4.2 with your 4.4.2 branch.

I'm able to match dependencies, and build the systemimage. Now while testing the app (Mira4U), I have found following issues. (I'm testing this as a WFD sink)

  1. Without Special Mode
    /NetworkSession( 2609): connecting socket 52 to 192.168.49.7:7236
    I/WifiDisplaySink( 2609): We're now connected.
    E/WifiDisplaySink( 2609): Invalid server_port description '19000'.
    F/WifiDisplaySink( 2609): frameworks/av/media/libstagefright/wifi-display/sink/WifiDisplaySink.cpp:652 CHECK_EQ( err,(status_t)OK) failed: -1007 vs. 0
  2. WIth Special Mode on -
    E/NetworkSession( 3357): Recvfrom failed, 199/200 retries left
    I/TimeSyncer( 3357): timed out, sending another request

TimeSyncer keeps on trying to recieve content, and times out.

Can please help in solving this?

not commited on miracast-sink part of galaxy s2?

not commited on miracast-sink part of galaxy s2?

i was tested galaxy s2 miracast using sink device on supernexus 4.0 build 1.
but i wanna some patch that. how to get source?
i think no here that.

Upstreaming to Lineage OS

Hi,
It looks like a lot of effort went into the making of the wiki + patches.
Can you please try to rebase your work on top of the latest cm-14.1 framework tree?

rotate screen on the sink device.

when using normally (not fix), screen like pressed side by side.
(Source : Nexus 4(left img), Sink : Galaxy Nexus(right img), Screen : Vertical)

i want to display the original image(display) when portrait mode.
e.g. sink Nexus5, source Nexus5 -> like equally mode(portrait or landscape) wanna equal image display!

but, now when rotating a screen, it's equall mode. how to fix?

Miracast on android Development board.

I have android 4.2.2 source code. I want to patch the miracast sink sdk to it and build the android source code. So that I can mirror my android phone screen to the sink android device.
Could you please tell me the steps to achive this?

Thanks

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.