slavavdovichenko / MediaLibDemos

98 stars 25 forks source link

Error : code 54 operation couldn't be completed connection reset by peer #44

Closed ioskxf closed 9 years ago

ioskxf commented 9 years ago

Hi, Its a very good streaming Library. Demo working fine for me, but now it returns error "code 54 operation couldn't be completed connection reset by peer".

Any suggestion ?

slavavdovichenko commented 9 years ago

Hi,

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

ioskxf commented 9 years ago

Thanks for you quick response. There was a issue with server configuration, that was changed accidentally, now its working again...

ioskxf commented 9 years ago

Hi Slava,

Thank you very much for your great support.

I have another question regarding Adaptive Video Streaming. Our app requires to work good as well in low bandwidth. Does the library provide Adaptive Video Streaming ? Do I need to code any thing from app side to handle low bandwidth ? Please suggest if any, I will be very thankful to you.

On Dec 12, 2014, at 9:36 PM, slavavdovichenko notifications@github.com wrote:

Hi,

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

— Reply to this email directly or view it on GitHub https://github.com/slavavdovichenko/MediaLibDemos/issues/44#issuecomment-66792867.

Thanks & Warm Regards, Sonal Paghadal iOS - App Developer

ioskxf commented 9 years ago

Hi Slava,

RTMP playing is working fine, but some times (not everytime) while stream(at the web end) not ready to play App crashes with following message.

: MPMediaDecoder -> (ERROR) av_frame_read() : -541478725 'End of file' Service exited due to signal: Broken pipe: 13 ' exited abnormally via signal. Could I handle this situation ? It is possible to check whether stream is available or not ? or any suggestion ? > On Jan 9, 2015, at 12:46 PM, Sonal sonal@siliconithub.com wrote: Thanks & Warm Regards, Sonal Paghadal iOS - App Developer