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?
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?