From 3f1b3c1c43b0dff7f180c83df0895e723b9fabbb Mon Sep 17 00:00:00 2001 From: Simon Schmeisser Date: Sun, 11 Feb 2024 21:59:09 +0100 Subject: [PATCH 1/3] Add readme --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..df5b511 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# Android media wrapper library + +droidmedia provides a device specific library that can be used by +gst-droid (https://github.com/sailfishos/gst-droid) to expose android +controlled hardware and codecs to gstreamer and the host linux system. + +## Building and Hacking + +Please check out the for the hardware adaption for your device, eg +https://docs.sailfishos.org/Develop/HW_Adaptation/Sailfish_X_Xperia_Android_11_Build_and_Flash/ for Sony Xperia 10 III. + +For quick iterations it is usually sufficient to compile and transfer libdroidmedia.so: +``` +make libdroidmedia +scp out/target/product/pdx213/system/lib64/libdroidmedia.so defaultuser@192.168.0.123:/home/defaultuser/ +ssh defaultuser@192.168.0.123 +devel-su cp libdroidmedia.so /usr/libexec/droid-hybris/system/lib64/libdroidmedia.so +``` + +You can revert to the currently installed version at any time using +``` +zypper in -f droidmedia +``` From 18bd90e04af9a0d294117aad59239277558bad5e Mon Sep 17 00:00:00 2001 From: Simon Schmeisser Date: Sun, 11 Feb 2024 22:02:07 +0100 Subject: [PATCH 2/3] Add link to system overview --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df5b511..0f88dba 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ droidmedia provides a device specific library that can be used by gst-droid (https://github.com/sailfishos/gst-droid) to expose android -controlled hardware and codecs to gstreamer and the host linux system. +controlled hardware and codecs to GStreamer and the host linux system. + +Please see also https://docs.sailfishos.org/Reference/Core_Areas_and_APIs/Multimedia/ for an overview of the Sailfish Multimedia system. ## Building and Hacking From 1f3a4f7a2f5b242ff35ba7136891abdb346b0433 Mon Sep 17 00:00:00 2001 From: Simon Schmeisser Date: Thu, 29 Feb 2024 21:43:20 +0100 Subject: [PATCH 3/3] fixup Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f88dba..4403c29 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Please see also https://docs.sailfishos.org/Reference/Core_Areas_and_APIs/Multim ## Building and Hacking -Please check out the for the hardware adaption for your device, eg +Please check out the hardware adaption for your device, eg https://docs.sailfishos.org/Develop/HW_Adaptation/Sailfish_X_Xperia_Android_11_Build_and_Flash/ for Sony Xperia 10 III. For quick iterations it is usually sufficient to compile and transfer libdroidmedia.so: