slavavdovichenko / MediaLibDemos3x

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

Unable to connect and Stream #1

Open PrabakarMP opened 10 years ago

PrabakarMP commented 10 years ago

Hi,

I have got many people referenced to use this project for streaming live video to Wowza streaming server. I have Wowza streaming engine setup already. I downloaded this RTMP Streaming Xcode project and run on my iPhone. First screen is, where I need to provide rtmp address and some name. I gave rtmp server details where wowza running on my machine, rtmp://192.168.1.13:1935/live and name as slavav5 . When I click on Connect button, it showed me with this error, Receive: NetStream.Play.StreamNotFound Could you correct me, what i'm doing wrong to fix this issue.

Thanks.

spraveenk91 commented 10 years ago

Hello PrabakarMP,

I am also facing the same issue when streaming my video. Can you try this video in your application -

Host : rtmp://58.68.93.211:1935/vod Stream Name : Mobile73

Kindly, reply back me here.

TomerGlick commented 9 years ago

Hi, is there a way to change the audio codec for the stream player ?

slavavdovichenko commented 9 years ago

Hi, you can not change the stream audio codec on the player - it is set on the publisher (or it can be done in the server app)

TomerGlick commented 9 years ago

thanks, I have a problem, in your demo, the publish app is crashing with this error - (using Xcode 5.0.2 running on iPhone 4 with iOS 6)

2014-10-21 14:42:57.592 RTMPStreamPublisher[1449:907] -[AVCaptureFigVideoDevice activeVideoMinFrameDuration]: unrecognized selector sent to instance 0x6cf6f0 2014-10-21 14:42:57.605 RTMPStreamPublisher[1449:907] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AVCaptureFigVideoDevice activeVideoMinFrameDuration]: unrecognized selector sent to instance 0x6cf6f0' * First throw call stack: (0x3238a2a3 0x3a02f97f 0x3238de07 0x3238c531 0x3238d938 0xb4ffb 0xb4ddb 0xaef5f 0xae4ed 0x8e8f 0x9549 0x3427d0c5 0x3427d14d 0x3427d0c5 0x3427d077 0x3427d055 0x3427c90b 0x3427ce01 0x341a55f1 0x34192801 0x3419211b 0x35e955a3 0x35e951d3 0x3235f173 0x3235f117 0x3235df99 0x322d0ebd 0x322d0d49 0x35e942eb 0x341e6301 0x8565 0x3a466b20) libc++abi.dylib: terminate called throwing an exception

abhimuralidharan commented 8 years ago

@PrabakarMP I am getting connectionfailedevent: fault code=-1<input or/and output stream is not opened(-1)>

ghost commented 8 years ago

2016-03-21 19:34:09.759 RTMPStreamPublisher[46929:496527] connectControl: host = rtmp://myip 2016-03-21 19:34:09.903 RTMPStreamPublisher[46929:505326] RTMPClient NSStreamEventEndEncountered: stream = <__NSCFInputStream: 0x15feef240> [T] 2016-03-21 19:34:10.007 RTMPStreamPublisher[46929:505326] RTMPClient -> eventFailed: code = -7, description = fault code = -12 < NSStreamEventEndEncountered >, calls = 0 2016-03-21 19:34:10.007 RTMPStreamPublisher[46929:496527] $$$$$$ connectFailedEvent: -7 = fault code = -12 < NSStreamEventEndEncountered >, [M]