在kickflip框架中,当我停止播放视频时,视频板投射没有发生。
[Kickflip presentBroadcasterFromViewController:self ready:^(KFStream *stream) {
NSLog(@"Stream is ready at URL: %@", stream.streamURL);
if (stream.streamURL)
{
NSLog(@"Stream is ready at URL: %@", stream.streamURL);
}
} completion:^(BOOL success, NSError* error){
if (!success)
{
NSLog(@"Error setting up stream: %@", error);
} else
{
NSLog(@"Done broadcasting");
}
}];
我正在使用上面的代码,这个代码在kickflip框架文档中提到。