shogo4405 / HaishinKit.swift

Camera and Microphone streaming library via RTMP and SRT for iOS, macOS, tvOS and visionOS.
BSD 3-Clause "New" or "Revised" License
2.77k stars 615 forks source link

Hello. I have some problem with image on first second live. #275

Closed RomanIvaniv closed 7 years ago

RomanIvaniv commented 7 years ago

When i start stream I have bad output image on youtube web page(only first 1-2 seconds, and then its back to normal). Can you give me some advice? rtmp

shogo4405 commented 7 years ago

It seems that application does not send a Keyframe. How about Example applicaiton? It's the same?

RomanIvaniv commented 7 years ago

yes, the same problem on Example application. But its appeared only on Youtube and only at the beginning. On Facebook everything ok.

shogo4405 commented 7 years ago

I can't reproduce :(

Please write down your enviroment. framework version, iPhone device model, iOS version. And YouTube viewer name. Chrome? Safari?

And RTMPStream.videoSettings

shogo4405 commented 7 years ago

My video is here. https://www.youtube.com/watch?v=SsRZHg9jfiM

RomanIvaniv commented 7 years ago

Thanks for your answer. Framework - 0.7.3, devices - iPod touch 6 and iPhone 5, iOS - 10.3.3, Safari. RTMPStream.videoSettings from example. https://www.youtube.com/watch?v=S_n0WDdrI74

RomanIvaniv commented 7 years ago

Hmm strange thing there. Yesterday this problem appeared on https://www.youtube.com/watch?v=S_n0WDdrI74 this video, but today I launch it and its ok. Maybe its something with youtube. I will investigate this problem. Thanks.