OfficeDev / skype-ios-app-sdk-samples

This repository contains Objective C and Swift samples powered by the Microsoft Skype for Business App SDK.
MIT License
46 stars 23 forks source link

Video doesn't show #58

Closed jakepurple13 closed 7 years ago

jakepurple13 commented 7 years ago

So its like this,

I'm trying to make an app that has a pure audio portion then you can click on a video camera icon and it takes you to a view where it shows video. But for some reasons its not showing the video. A lot of what I have is from the sdk example and it won't work. I have no idea why. I'm passing a conversation helper over/tried recreating it and both don't work. Any ideas?

const86 commented 7 years ago

Do the SDK sample apps show video for you? If so, you might have missed starting video service. When using the helper, you should implement

- (void)conversationHelper:(SfBConversationHelper *)conversationHelper
              videoService:(SfBVideoService *)videoService
         didChangeCanStart:(BOOL)canStart;

and when canStart is YES do [videoService start:&err].