pili-engineering / PLCameraStreamingKit

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

JSON Dict format Issue #164

Open loksurya opened 8 years ago

loksurya commented 8 years ago

I have a url format "rtmp://hub/endPoint1/stream_id How do I define JSONDict for it ? I have used NSDictionary *streamJson = @ { @"publishSecurity": @"static", @"hub": @"oflaDemo", @"title": @"loksurya", @"publishKey": @"", @"disabled ": @ (YES), @"hosts":@ { @"publish": @{ @"rtmp": @"my_hub" } }, }; but it is saying "URL is not authenticated". Can anyone explain what is wrong with my URL?