slavavdovichenko / MediaLibDemos3x

MediaLibiOS & Demos 3.x
201 stars 48 forks source link

Undefined symbols for architecture x86_64 #2

Open amiznikov opened 10 years ago

amiznikov commented 10 years ago

hi, thanks for library, at me arises such mistake, you can prompt as it to solve? Undefined symbols for architecture x86_64: "_OBJCCLASS$_BroadcastStreamClient", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture x86_64

slavavdovichenko commented 10 years ago

Hi, this lib can be used on the devices only (arm64, arm7s, arm7 architectures)

amiznikov commented 10 years ago

Thanks for the answer. The project gathers in Xcode Version 6.0.1 and at a stage of compilation there is a mistake 2014-10-21 10 54 34

slavavdovichenko commented 10 years ago

As I see on screenshot you try to build the project for simulator - but you MUST choose the schema with some switched device (iPhone, iPad) to build it: image

And you should change the target Bundle Identifier by your own one

amiznikov commented 10 years ago

Thanks for a prompt reply, very much helped. And whether there is a method similar to it http://help .adobe.com/ru_RU/FlashPlatform/reference/actionscript/3/flash/net/NetConnection.html#call ()? I will be grateful

pmycue commented 9 years ago

I have downloaded and built this with no problem, it seems to be designed to connect to wowza servers in the first place but i can not connect my stream. i immediately get this; 2014-12-10 15:14:24.339 RTMPStreamPublisher[5255:1297355] $$$$$$ stateChangedEvent: 2 = RTMP.Client.Stream.isCreated [T] 2014-12-10 15:14:24.351 RTMPStreamPublisher[5255:1297355] RTMPClient -> receiveChunk: result = -1 (error code = 54 <The operation couldn’t be completed. Connection reset by peer>) 2014-12-10 15:14:24.354 RTMPStreamPublisher[5255:1297355] RTMPClient NSStreamEventErrorOccurred: domain = NSPOSIXErrorDomain, code = 54 (The operation couldn’t be completed. Connection reset by peer)

any advice?

slavavdovichenko commented 9 years ago

Hi pmycue,

Well "connection reset by peer" means the server closed the connection and there isn't much you can do about that. Are there logs on the server you can see why it left in a huff? Maybe your server app waits autentification?

Give me your endpoint ("rtmp://[ip or domain]:1935/live") you're getting this problem with, and I will check it.

Slava

pmycue commented 9 years ago

Right now i can not have you check through this firewall however i will be working from home over the next month starting tomorrow.

I very much appreciate you looking into this. With the limited experience i have with this so far it just seems like too little information to proceed.

Thanks,

Peter Mycue pmycue@us.ibm.com pmycue@gmail.com 704-626-9772

On Dec 11, 2014, at 5:04 AM, slavavdovichenko notifications@github.com wrote:

Hi pmycue, Give me your endpoint ("rtmp://:1935/live") you're getting this problem with, and I will check it.

Slava

— Reply to this email directly or view it on GitHub.

carloskekwa commented 9 years ago

this code can't work on a simulator at all ? if not, how can apple will validate the app without i386 ?