Development Log – 07/15/2020

I feel like MacOS is a much powerful platform for streaming Audio in realtime and mixing video stream. Also the software could be easily distributed on Mac (don’t have to go through AppStore). I also considered AppleTV, however I don’t think in-app YouTube playback app could pass the AppStore review. So my decision is to make this app for MacOS.

I start to experiment the MV player. There are a few ways to achieve this:

The official player recommended by YouTube (https://developers.google.com/youtube/v3/guides/ios_youtube_helper). This does not support MacOS!

The Swift-Youtube-Player (https://github.com/gilesvangruisen/Swift-YouTube-Player#breaking-changes). This does not support MacOS!

Manually make a WebView and load YouTube URL. This does not provide best experience, the entire YouTube control is in the WebView, and you have to press play button to start the video.

Then finally the XCDYouTubeKit (https://github.com/0xced/XCDYouTubeKit). I gave XCDYouTubeKit a try. This is a great repository, so far it worked the best, provided the best user experience meanwhile also supports Airplay. However, this is against YouTube’s Terms of Service (because it doesn’t play the ads I guess?), but the author indicates that the official YouTube player is slow and ugly.

I decided to use XCDYouTubeKit as initial start point.