-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ERROR: PILI_RTMP_ReadPacket, failed to read PILI_RTMP packet header #174
Comments
I was having this problem, which was fixed by the suggestion in #127. Admittedly your issue may not be related as mine was due to using the |
I am also facing this issue. Why doesn't this library just use whatever comes after "..live/" as the stream key? For instance if use my url: However, if I simply tack on a character (or string of characters) But why? And does it simply use the character(s) at the end for some kind of local stream organization and strip it before connecting? Because It claims it connects. |
I tried everything!!But it was always a mistake LFLiveStreamInfo *stream = [LFLiveStreamInfo new]; But why? whatever,Xcode is always ------ failed to read PILI_RTMP packet header |
I also had the same issues and did what rhedgpth said of putting a single character after stream name and it worked - This must be an issue with the packet header reader parser |
原因是连接失败。您可以尝试将URL更改为您自己的服务器的URL; 或者试试这个:(rtmp://116.196.87.91:1935 / live / VC000099)注意“VC000099”是自定义的,不要与其他人重复。推荐两个测试软件:OBS,VLC |
I am getting this error when i am trying to stream video but got this error,
this is my code
LFLiveStreamInfo *stream = [LFLiveStreamInfo new];
stream.url = @"rtmp://xxx.xxx.xx.xxx:1935/live/myStream";
[self.session startLive:stream];
The text was updated successfully, but these errors were encountered: