I try to follow the wifi display codes in Android Jelly bean 4.2. In wifi display, the PlaybackSession class will be responsible for getting the data. And finally it will get the data from a class called SurfaceMediaSource, which inherits from MediaSource. The data is in BufferQueue in SurfaceMediaSource. But I cannot find who is responsible for write the data to the BufferQueue. I believe the SurfaceFlinger should do it. However, I cannot find any specific codes. Does anyone know how it works?
Who provide the data for wifi display?
537 views Asked by user1659072 At
1
There are 1 answers
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
Related Questions in ANDROID-NDK
- Debug native code in Android Studio
- dlopen failed: cannot locate symbol "cblas_sdsdot" referenced by "libgsl.so"
- GSL: nm outputs "undefined Symbol (U)"
- Eclipse not recognizing CygWin gcc
- Android APK filepath layout for NDK binary executables how-to
- Android : Loading pre-built library - Circular dependency dropped
- Android NDK code (jni interface)
- Android NDK - multlib support using gradle
- Android Crashlytics ndk; values of NdkOut and NdkLibsOut in build.gradle
- How to update Android NDK in place?
Related Questions in WIFI-DIRECT
- issues with one to many mobile device file transfer in android using wifi direct
- WiFi direct Ip address
- Concurrent Android - bonjour discovery possible?
- WiFi Direct in Windows 10 says "UnsupportedHardware" althought it should be supported
- Android wifi p2p peers visibility
- Is it possible to create an app that "picks up" a particular wifi signal as a cue to turn on the app or blue tooth?
- Android Wi-Fi Direct P2P send data from server to client
- Detecting Group Owner(GO) after wifi direct connection is made in UWP application
- Wi-Fi Direct in Windows 10 (Desktop)
- Wifi direct connection between several devices
Related Questions in VNC-SERVER
- novnc: How to run websockify automatically
- Issues Over ssh
- uinput - mouse coordinates sync issue
- vnc-server installed and running but not visible over the network
- Clicking an empty space in gnome-terminal selects the whole line
- How to send frame buffer to surfaceflinger in android?
- UltrVNC repeater with HTML5 client (Guacamole?) support
- NoVNC on iphone/ipad?
- Start vncserver on :0 instead of :1
- droid-VNC server on Nexus 7 shows noisy white screen
Related Questions in SURFACEFLINGER
- dumpsys SurfaceFlinger output interpretation
- How to upscale and render remote(RGB565) frame buffer on Android native?
- apply filters to frame buffer just before it is displayed
- android rendering using CPU but not GPU?
- What is the functionality of Window in Android Graphics?
- What is "Comp Type" in surfaceflinger logs?
- Manually config via ADB delay between refresh rate change
- Who provide the data for wifi display?
- Can I use performTraversals to measure FPS on Android?
- Memory growth at surfaceflinger process on Android x86 platforms
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Check
onDisplayConnected()call inwfd.cppandcom.android.server.display.DisplayDevice. Both will end up inSurfaceComposerClient::setDisplaySurface()inframeworks/native/libs/gui/SurfaceComposerClient.cpp.Sadly I don't understand how setting of
DisplayState::eSurfaceChangedwould cause the display to be rendered to theBufferQueueinSurfaceMediaSource.