pili-engineering / PLStreamingKit

PLStreamingKit 是 Pili 直播 SDK 的 iOS 推流端,是不带采集模块老版本 SDK。如果是新用户接入,请使用 PLDroidMediaStreaming。该版本支持 RTMP 推流,h.264 和 AAC 编码,软编硬编支持。具有丰富的数据和状态回调,方便用户根据自己的业务定制化开发。具有直播场景下的重要功能,如:美颜、背景音乐、水印等功能。
https://github.com/pili-engineering/PLMediaStreamingKit
Apache License 2.0
250 stars 61 forks source link

ERROR: PILI_RTMP_ReadPacket, failed to read PILI_RTMP packet header #3

Open wheelswang opened 8 years ago

wheelswang commented 8 years ago

PLStreamingKit_Example[649:60b] Stream State: Connecting ERROR: PILI_RTMP_ReadPacket, failed to read PILI_RTMP packet header

Phunk87 commented 8 years ago

Make sure you are using Pili Live Streaming Serverice.

Phunk87 commented 8 years ago

We've found this may be a bug. Work in progress.

iDev01 commented 8 years ago

When can you repair this bug?

biyu6 commented 5 years ago

原因是连接失败。您可以尝试将URL更改为您自己的服务器的URL; 或者试试这个:(rtmp://116.196.87.91:1935 / live / VC000099)注意“VC000099”是自定义的,不要与其他人重复。推荐两个测试软件:OBS,VLC