develop macOS app
develop macOS app
hi, I am trying my hand at developing a macOS app but I am having trouble to come up with what would be the best practice to display the MPEG-TS stream on, say, an AVKIT Player View. My understanding is that the AVKIT Player View doesn't natively display the MPEG-TS stream. I am sure that I can figure out the rest, but I am having this problem trying to get started with this. Thanks in advance for any assistance. Thanks Greg
Re: develop macOS app
Not possible, you can use VLCKit etc
Re: develop macOS app
Actually on macOS 15 you could use https://developer.apple.com/documentati ... anguage=_8
Re: develop macOS app
thanks for the response, I am going to pursue these suggestions.
thanks again, Greg
thanks again, Greg
Re: develop macOS app
hi, I have used your advice, and I have VLC working now. I can manually tune the MPEG-TS stream from the HDHomeRun Flex 4K and display it in an ImageView. I have a DVR sub and I would like to use the 14 days of guide data to advance my project. It is not clear to me how to access the (JSON?) data to construct a menu to select a tuner and schedule recordings. Any insight would be appreciated. Thanks Greg
Re: develop macOS app
Some DVR / recording-rule documentation is here:
https://github.com/Silicondust/documentation/wiki
Live TV guide API:
https://api.hdhomerun.com/api/guide?DeviceAuth=xxx
Series discover APIs:
https://api.hdhomerun.com/api/up_next?DeviceAuth=xxx
https://api.hdhomerun.com/api/suggest?D ... ory=series
https://api.hdhomerun.com/api/suggest?D ... gory=movie
https://api.hdhomerun.com/api/suggest?D ... gory=sport
https://api.hdhomerun.com/api/search?De ... Search=xxx
If the user selects a series you can pull the episode information.
https://api.hdhomerun.com/api/episode?D ... riesID=xxx
https://api.hdhomerun.com/api/episode?D ... ID=xxx&V=2
Server load:
1) Do not pull live TV guide information when it is getting low. Instead pull guide information at a random interval, suggest every 1.5 to 2 hours if the user leaves the guide visible.
2) The intent is that a user action results in one API. If you find a situation where you need to hit multiple APIs to render a page please let me know and we can consider making changes to the API.
https://github.com/Silicondust/documentation/wiki
Live TV guide API:
https://api.hdhomerun.com/api/guide?DeviceAuth=xxx
Series discover APIs:
https://api.hdhomerun.com/api/up_next?DeviceAuth=xxx
https://api.hdhomerun.com/api/suggest?D ... ory=series
https://api.hdhomerun.com/api/suggest?D ... gory=movie
https://api.hdhomerun.com/api/suggest?D ... gory=sport
https://api.hdhomerun.com/api/search?De ... Search=xxx
If the user selects a series you can pull the episode information.
https://api.hdhomerun.com/api/episode?D ... riesID=xxx
https://api.hdhomerun.com/api/episode?D ... ID=xxx&V=2
Server load:
1) Do not pull live TV guide information when it is getting low. Instead pull guide information at a random interval, suggest every 1.5 to 2 hours if the user leaves the guide visible.
2) The intent is that a user action results in one API. If you find a situation where you need to hit multiple APIs to render a page please let me know and we can consider making changes to the API.
Re: develop macOS app
wow, that is very helpful. Thanks for the info. Greg