Quantcast
Channel: Wireless Connectivity
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: How to enable Wi-Fi Direct on Android 4.2, Pandaboard ES?

$
0
0

Hi, Sam

I'm trying both Miracast source and sink on panda, AOSP Android 4.2.

Source:

try to connect a sink PTV3000, problems occurred.

  1. hdcp.so not found on panda. skip this, in next, 
  2. software encoding error occurred processing mime type "video/avc". skip software encoding,
  3. hardware encoder firmware "ducati-m3.bin" load error.

I couldn't solve these problems.

Sink:

in AOSP 4.2, sink function seems to be implemented in part.

I don't know how to coding "xxx" below code.

/android-4.2.1_r1.2/frameworks/av/media/libstagefright/wifi-display/sink/WifiDisplaySink.cpp

void WifiDisplaySink::onGetParameterRequest(
int32_t sessionID,
int32_t cseq,
const sp<ParsedMessage> &data) {
AString body =
"wfd_video_formats: xxx\r\n"
"wfd_audio_codecs: xxx\r\n"
"wfd_client_rtp_ports: RTP/AVP/UDP;unicast xxx 0 mode=play\r\n";

hint:

/system/bin/wfd command in AOSP 4.2.2, it's command can invoke miracast source and sink in adb shell command line.


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>