Display MoreI tried to add some basic debugging to moonlight-embedded src/platform.c
#ifdef HAVE_AML
if (std|| strcmp(name, "aml") == 0) {
void *handle = dlopen("libmoonlight-aml.so", RTLD_NOW | RTLD_GLOBAL);
printf(handle);
if (handle != NULL && access("/dev/amvideo", F_OK) != -1) {
printf("Returning AML\n");
return AML;
}
}
the moment i added "printf(handle);" everyting started working !!!
./moonlight --verbose stream 192.168.1.100 -mapping /storage/.kodi/addons/script.moonlight/share/moonlight/mappings/xbox360.conf
Moonlight Embedded 2.4.0 (SDL;EMBEDDED;ALSA;PULSE;CEC;AML)
Connect to 192.168.1.100...
NVIDIA GeForce GTX 970, GFE 3.6.0.74 (gs_03_70_22061309, 7.1.370.0)
Returning AML
Platform AMLogic VPU
No mapping available for /dev/input/event1
No mapping available for /dev/input/event0
No mapping available for /dev/input/event2
Stream 1280 x 720, 60 fps, 10000 kbps
Initializing platform...done
Resolving host name...done
Starting RTSP handshake...done
Initializing control stream...done
Initializing video stream...done
Initializing audio stream...done
Initializing input stream...done
Starting control stream...done
Starting video stream...done
Starting audio stream...done
Starting input stream...done
Problem now is I am getting a black screen instead of a stream....
Will continue to investigate.
I saw your post on github, and the same thing happens when I add that line.
not sure why it is not loading the library. I've tried several other things but no luck