Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libavutil.a(dict.o), building for tvOS, but linking in object file built for iOS, for architecture arm64 #45

Closed
adcloeshelle opened this issue Oct 13, 2015 · 9 comments

Comments

@adcloeshelle
Copy link

Any thoughts on adding tvOS support?

@kewlbear
Copy link
Owner

Just checked with Xcode 7.1 beta 3 simulator. My test app builds and runs successfully, with many warnings though. I don't own an apple TV, so I don't know if it doesn't work for real device. Anyway I will look into getting rid of the warnings.

@kewlbear
Copy link
Owner

Added experimental script for tvOS. Please try it and let me know if it works.

@geoffheatley
Copy link

I'm still getting warnings Xcode 7.1 GM tvOS Simulator
eg;
ld: warning: URGENT: building for tvOS simulator, but linking in object file (/Projects/BlaBla/DerivedData/BlaBla/Build/Products/Debug-appletvsimulator/libBlaBla.a(af_volume.o)) built for (unknown). Note: This will be an error in the future.

@kyvu
Copy link

kyvu commented Oct 31, 2015

I'm also getting the same thing. Any ideas?

@geoffheatley
Copy link

No, just looking it at right this second. Banging my head aganst the wall. Trying to deploy to the AppleTV device now. Compliaing about no Arm64 symbols defined etc.

@geoffheatley
Copy link

Have even just included the thin Arm64 libs to try to pinpoint things. Throws up a bunch of errors like:

Undefined symbols for architecture arm64:
"_av_frame_unref", referenced from:
-[AudioDecoder audioUnitCallback:timestamp:busNumber:numberFrames:data:] in libArcPlayer.a(AudioDecoder.o)

Which is a symbol defined in libavutil.a which has definitely been built for Arm64 by the tvOS build script. Not sure why this is happening. Has it really been built for Arm64?

@jhays
Copy link

jhays commented Nov 5, 2015

Just want to report that I had success compiling this using the tvOS build script and streaming an rtsp link on a tvOS physical device.

Thanks!

@kewlbear
Copy link
Owner

kewlbear commented Nov 6, 2015

Great news! Thanks for reporting.

@kewlbear kewlbear closed this as completed Nov 6, 2015
@mooncatventures-group
Copy link

jays did you have to do anything special to get this to compile under TVOS, as for the licensing question that was raised on reddit, we've used ffmpeg based RTSP players in apps that are in the app store on a number of commercial products we've had no issues getting them approved. with the introduction of video toolbox we stopped supporting streammoreplay which was the commercial version of our ffmpegdecoder library. but TVOS doesn't support video toolbox except via private headers that won't make it into the App Store. my suspicion is that apple will eventually support it on TVOS . hope I answered some of your questions it would be very interesting to see if streamer play which has a/v sync would work on appleTV. I never really thought of testing that out until I came across your reddit post.

. mc mooncatventures LLC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants