Temasys / SkylinkSDK-iOS-Sample

Temasys SkylinkSDK for iOS - Sample App - Objective C
https://temasys.io
Other
16 stars 9 forks source link

How to implement the one to one video call into my iOS application #16

Open SriSamVictor opened 4 years ago

SriSamVictor commented 4 years ago

Recently i installed the skylink sample application into my Iphone xr and ipad. i tried to connect the video call from one mobile to another mobile but i would not connect to the another device. So please explain briefly how can i work with the video call(One to another)with your application.

lyx501135 commented 4 years ago

Hi friend, thanks for using Skylink SDK, in order to run the sample app, you have to apply a key from Temasys website, www.temasys.io, it’s free, after you get the key and secret, fill them in the sample app, Setting view controller, and set the room name, then you are able to connect

SriSamVictor commented 4 years ago

Yes i already done that as you said and then i got success message on the console. It could not connect to the another device. So do i need to change any settings or any code?

I got this message on console.(Videocall video controller). Screen Shot 2020-02-14 at 7 44 12 PM

My question is when the "SKYLINKConnectionRemotePeerDelegate" will call. what should i need to do??

lyx501135 commented 4 years ago

Hi, are you using the OBJC sample app? you may try the Swift one, and in the sample app video call controller, you should check if the video audio send and receive is enabled , like this

config.setAudioVideoSend(AudioVideoConfig_AUDIO_AND_VIDEO) config.setAudioVideoReceive(AudioVideoConfig_AUDIO_AND_VIDEO)

SriSamVictor commented 4 years ago

Yes sender and receiver config was there in the objective c code(video call view controller)

SKYLINKConnectionConfig *config = [SKYLINKConnectionConfig new]; [config setAudioVideoReceiveConfig:AudioVideoConfig_AUDIO_AND_VIDEO]; [config setAudioVideoSendConfig:AudioVideoConfig_AUDIO_AND_VIDEO];