Project Setup
- Open XCode and Create a New Project
- Select a Tabbed Application as the project template
- Fill in the appropriate values in the project options and save the project to an approriate place.
For this example, we named the project Red5ProStreaming.
* It is important to note that the Red5 Pro Streaming SDK currently does not work in the IOS Simulator. All deployment and testing should be done on an actual iOS device.
With the new project created in XCode:
- Unzip the Red5 Pro iOS Streaming SDK
- Drag the R5Streaming.framework folder and drop into the newly created project in XCode
-
Be sure to select ‘Copy items…’ and ‘Create groups…’ with your project as a target in the dialog that will appear
-
With the framework linked with your project, you will also need the following frameworks and libraries:
CoreFoundation OpenAL QuartzCore VideoToolbox libz libbz libiconv libc++
- To add these frameworks, select the Project target in XCode and focus on the General panel
- Find the Linked Frameworks and Libraries section and click the + button on the bottom left
- Select the frameworks and libraries detailed above
With the project setup as a Tabbed Application and the proper libraries and frameworks defined, we can begin adding code to broadcast and subscribe to a stream.