Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeRDark
git clone https://github.com/flashphoner/wcs-ios-sdk-samples.git


3. Download and unpack the iOS SDK

Code Block
languagebash
themeRDark
wget http://flashphoner.com/downloads/builds/flashphoner_client/wcs-ios-sdk/2.6/WCS-iOS-SDK-2.6.x.tar.gz

4. After unpacking, the iOS SDK is a framework in the FPWCSApi2.framework folder

Code Block
languagebash
themeRDark

tar -xvzf WCS-iOS-SDK-2.6.x.tar.gz


4. After unpacking, there are two fameworks

Code Block
languagebash
themeRDark
FPWCSApi2.framework
FPWCSApi2Swift.framework


5. Copy the unpacked iOS SDK (framework) frameworks to the sample folder

Code Block
languagejs
themeRDark
cp -R FPWCSApi2.framework FPWCSApi2Swift.framework wcs-ios-sdk-samples


6. As a result, we have got the sample folder with the framework (iOS SDK). Now we can start building.

...

8. Now, as soon as all dependencies are ready (thanks, cocoapods), open workspace in Xcode.

Important! You should open the workspace, not the project file. Otherwise, the build may be broken.

...

So, we have built Two Way Streaming example on Mac OS Mojave using Xcode 10.1 from the source code using the iOS SDK (FPWCSApi2.framework) and executed this example on iPhone 6 working under iOS 11. The example demonstrated successful streaming of a video through Web Call Server 5.