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.
- hdcp.so not found on panda. skip this, in next,
- software encoding error occurred processing mime type "video/avc". skip software encoding,
- 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.