{"id":13561801,"url":"https://github.com/SteeBono/airplayreceiver","last_synced_at":"2025-04-03T17:31:42.487Z","repository":{"id":41319057,"uuid":"307127651","full_name":"SteeBono/airplayreceiver","owner":"SteeBono","description":"Open source implementation of AirPlay 2 Mirroring / Audio protocol.","archived":false,"fork":false,"pushed_at":"2023-02-07T20:53:09.000Z","size":320,"stargazers_count":190,"open_issues_count":4,"forks_count":36,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-11-04T13:38:00.657Z","etag":null,"topics":["airplay","airplay-receiver","airplay-remote","airplay-server","airplay2","apple","appletv","csharp","linux","macos","mirroring","netcore","test","windows"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SteeBono.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-10-25T15:20:03.000Z","updated_at":"2024-10-30T01:26:25.000Z","dependencies_parsed_at":"2024-01-16T18:23:40.428Z","dependency_job_id":null,"html_url":"https://github.com/SteeBono/airplayreceiver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteeBono%2Fairplayreceiver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteeBono%2Fairplayreceiver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteeBono%2Fairplayreceiver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteeBono%2Fairplayreceiver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SteeBono","download_url":"https://codeload.github.com/SteeBono/airplayreceiver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247047003,"owners_count":20874759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airplay","airplay-receiver","airplay-remote","airplay-server","airplay2","apple","appletv","csharp","linux","macos","mirroring","netcore","test","windows"],"created_at":"2024-08-01T13:01:01.310Z","updated_at":"2025-04-03T17:31:37.465Z","avatar_url":"https://github.com/SteeBono.png","language":"C#","funding_links":["https://www.buymeacoffee.com/stfno.me"],"categories":["C# #"],"sub_categories":[],"readme":"# AirPlay Receiver\nOpen source implementation of AirPlay 2 Mirroring / Audio protocol in C# .Net Core.  \n\n## Generic\n\nTested on macOS with iPhone 12 Pro iOS14.  \n  \nThe project is fully functional, but the AAC and ALAC libraries written in C ++ must be built.  \n  \n## How To\n\n### Build AAC Codec\nTo download, build and install fdk-aac do the following:  \n  \nClone the repository and cd into the folder:  \n```\n$ git clone https://github.com/mstorsjo/fdk-aac.git\n$ cd fdk-aac\n```\n  \nConfigure the build and make the library:  \n```\n$ autoreconf -fi\n$ ./configure\n$ make\n```\n  \n### Build ALAC Codec\nTo download, build and install alac do the following:  \n  \nClone the repository and cd into the folder:  \n```\n$ git clone https://github.com/mikebrady/alac.git\n$ cd alac\n```\n  \nDownload and paste 'GiteKat''s files in 'alac/codec' folder cloned before\n```\n$ https://github.com/GiteKat/LibALAC/tree/master/LibALAC\n```\n  \nThe 'mikebrady''s source code does not contains 'extern' keyword.\nWe need external linkage so we use 'GiteKat''s source code files.\n  \n\u003cdetails\u003e\n\u003csummary\u003e\nEdit makefile.original as follow\n\u003c/summary\u003e\n\n```\n# libalac make\n\nCFLAGS = -g -O3 -c\nLFLAGS = -Wall\nCC = g++\n\nSRCDIR = .\nOBJDIR = ./obj\nINCLUDES = .\n\nHEADERS = \\\n$(SRCDIR)/EndianPortable.h \\\n$(SRCDIR)/aglib.h \\\n$(SRCDIR)/ALACAudioTypes.h \\\n$(SRCDIR)/ALACBitUtilities.h\\\n$(SRCDIR)/ALACDecoder.h \\\n$(SRCDIR)/ALACEncoder.h \\\n$(SRCDIR)/LibALAC.h \\\n$(SRCDIR)/dplib.h \\\n$(SRCDIR)/matrixlib.h\n\nSOURCES = \\\n$(SRCDIR)/EndianPortable.c \\\n$(SRCDIR)/ALACBitUtilities.c \\\n$(SRCDIR)/ALACDecoder.cpp \\\n$(SRCDIR)/ALACEncoder.cpp \\\n$(SRCDIR)/LibALAC.cpp \\\n$(SRCDIR)/ag_dec.c \\\n$(SRCDIR)/ag_enc.c \\\n$(SRCDIR)/dp_dec.c \\\n$(SRCDIR)/dp_enc.c \\\n$(SRCDIR)/matrix_dec.c \\\n$(SRCDIR)/matrix_enc.c\n\nOBJS = \\\nEndianPortable.o \\\nALACBitUtilities.o \\\nALACDecoder.o \\\nALACEncoder.o \\\nLibALAC.o \\\nag_dec.o \\\nag_enc.o \\\ndp_dec.o \\\ndp_enc.o \\\nmatrix_dec.o \\\nmatrix_enc.o\n\nlibalac.a:\t$(OBJS)\n\tar rcs libalac.a $(OBJS)\n\nEndianPortable.o : EndianPortable.c\n\t$(CC) -I $(INCLUDES) $(CFLAGS) EndianPortable.c\n\nALACBitUtilities.o : ALACBitUtilities.c\n\t$(CC) -I $(INCLUDES) $(CFLAGS) ALACBitUtilities.c\n\nALACDecoder.o : ALACDecoder.cpp\n\t$(CC) -I $(INCLUDES) $(CFLAGS) ALACDecoder.cpp\n\nALACEncoder.o : ALACEncoder.cpp\n\t$(CC) -I $(INCLUDES) $(CFLAGS) ALACEncoder.cpp\n\nLibALAC.o : LibALAC.cpp\n\t$(CC) -I $(INCLUDES) $(CFLAGS) LibALAC.cpp\n\nag_dec.o : ag_dec.c\n\t$(CC) -I $(INCLUDES) $(CFLAGS) ag_dec.c\n\nag_enc.o : ag_enc.c\n\t$(CC) -I $(INCLUDES) $(CFLAGS) ag_enc.c\n\ndp_dec.o : dp_dec.c\n\t$(CC) -I $(INCLUDES) $(CFLAGS) dp_dec.c\n\ndp_enc.o : dp_enc.c\n\t$(CC) -I $(INCLUDES) $(CFLAGS) dp_enc.c\n\nmatrix_dec.o : matrix_dec.c\n\t$(CC) -I $(INCLUDES) $(CFLAGS) matrix_dec.c\n\nmatrix_enc.o : matrix_enc.c\n\t$(CC) -I $(INCLUDES) $(CFLAGS) matrix_enc.c\n\t\t\nclean:\n\t-rm $(OBJS) libalac.a\n```\n\n\u003c/details\u003e\n  \n\u003cdetails\u003e\n\u003csummary\u003e\nEdit makefile.am as follow\n\u003c/summary\u003e\n  \n```\n## Copyright (c) 2013 Tiancheng \"Timothy\" Gu\n## Modifications copyright (c) 2016 Mike Brady\n## Licensed under the Apache License, Version 2.0 (the \"License\");\n## you may not use this file except in compliance with the License.\n## You may obtain a copy of the License at\n## \n##     http://www.apache.org/licenses/LICENSE-2.0\n## \n## Unless required by applicable law or agreed to in writing, software\n## distributed under the License is distributed on an \"AS IS\" BASIS,\n## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n## See the License for the specific language governing permissions and\n## limitations under the License.\n\nlib_LTLIBRARIES = libalac.la\n\nlibalac_la_CPPFLAGS = -Wno-multichar\nlibalac_la_LDFLAGS = -version-info @ALAC_VERSION@\n\nlibalac_la_SOURCES = \\\n    EndianPortable.c \\\n    ALACBitUtilities.c \\\n    ALACDecoder.cpp \\\n    ALACEncoder.cpp \\\n    LibALAC.cpp \\\n    ag_dec.c \\\n    ag_enc.c \\\n    dp_dec.c \\\n    dp_enc.c \\\n    matrix_dec.c \\\n    matrix_enc.c\n\npkgconfigdir = $(libdir)/pkgconfig\npkgconfig_DATA = alac.pc\n\n# Install to include/alac\nalacincludedir = $(includedir)/alac\n\n# Install everything\nalacinclude_HEADERS = *.h\n```\n\n\u003c/details\u003e\n\nConfigure the build and make the library:  \n```\n$ autoreconf -fi\n$ ./configure\n$ make\n```\n  \n### Linux\nOn terminal type the follow to install build tools  \n```\napt-get install build-essential autoconf automake libtool\n```\nAdd compiled DLL path into 'appsettings_linux.json' file.  \n  \n### MacOS\nOn terminal type the follow to install build tools  \n\n```\nbrew install autoconf automake libtool\n```\nAdd compiled DLL path into 'appsettings_osx.json' file.  \n  \n### Windows\n\nUse [this](http://www.gaia-gis.it/gaia-sins/mingw64_how_to.html#env) tutorial to understand how to install build tools and how to compile source code on Windows.  \nYou need MinGW32 or MinGW64 based on arch.  \n  \nPut repo folders inside msys64 home folder ('C:\\msys64\\home\\').  \n![homefolder](https://user-images.githubusercontent.com/11635557/116857182-b0b9b180-abfc-11eb-8e75-5d1b23d7541f.PNG)\n  \nStart an mingw32.exe or mingw64.exe shell based on arch and execute commands.  \n![mingwshell](https://user-images.githubusercontent.com/11635557/116857648-756bb280-abfd-11eb-8d6b-43d474f4a27b.PNG)\n  \nThe compiled dll will be saved in 'C:\\\\msys64\\\\home\\\\username\\\\fdk-aac-master\\\\.libs\\\\'.  \nAdd compiled DLL path into 'appsettings_win.json' file.  \n  \nTIP 1: If the ALAC library gives you an error during the compilation try to insert the following arguments in the 'makefile.am' file:\n```\nlibalac_la_LDFLAGS = -version-info @ALAC_VERSION@ -no-undefined -static-libgcc -static-libstdc++\n```\nTIP 2: If the error code 126 appears when loading the dll, try to import all the dlls located in the C:\\msys64\\bin\\ folder into the bin folder of the project.  \nTIP 3: If the error code 193 appears when loading the dll, it means that you are trying to load a dll with the wrong architecture, so you have to compile the dll with the other mingwXX.exe.  \n   \n## Wiki\n  \nHere you will find an [Article](https://github.com/SteeBono/airplayreceiver/wiki/AirPlay2-Protocol) where I explain how the whole AirPlay 2 protocol works.\n  \n## Disclamier\n  \nAll the resources in this repository are written using only opensource projects.  \nThe code and related resources are meant for educational purposes only.  \nI do not take any responsibility for the use that will be made of it.    \n\n## Credits\n\nInspired by others AirPlay open source projects.  \nBig ty to OmgHax.c's author 😱. \n\n## If you want support me 🔥\n\nIf you appreciate my work, consider buying me a cup of coffee to keep me recharged ☕\n  \n\u003ca href=\"https://www.buymeacoffee.com/stfno.me\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-3.svg\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n  \n... or ... crypto ...\n  \nBTC: 1BXhfC5U75G2H8b99wk5AedGFxtqJ6xf8q  \nBCH: 1BXhfC5U75G2H8b99wk5AedGFxtqJ6xf8q  \nETH: 0x4Fc12c7C71C581aBc77945Ab9cFBA8DF9692b713 (ERC20)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSteeBono%2Fairplayreceiver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSteeBono%2Fairplayreceiver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSteeBono%2Fairplayreceiver/lists"}