Install Dependency Open your terminal and go to the directory where the reference project resides and run pod install. If you are not familiar with pods, visit cocoapods. This install the Starscream packet for WebSocket connections. Open the AntMediaReferenceApplication. After project is opened, connect your iPhone to your Mac and choose your iPhone in Xcode as shown below. Click Run button on the top left of the Xcode. Then project is going to be built and deployed to your iPhone.
Then it will ask you to access the Camera and Mic. Then it will start Publishing to your Ant Media Server. Playing stream on your iPhone is almost the same as Publishing. When there is another peer is connected to the same stream id via Android, iOS, or Web, then P2P communication will be established and peers can talk to each other.
We highly recommend using the sample project to get started with your application. Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats 2 commits. Failed to load latest commit information. Video chat: When a peer has been successfully connected to, a video chat will be displayed in full window.
Ending chat session: Press Esc. You will now be back to selecting a peer. Ending connection: Press Esc and you will now be able to select which server to connect to. Click Connect. Open one more tab using the same page. Connect it too with a different name. It is now possible to exchange messages between the connected peers.
Target name call currently disabled. An application that establishes a call using libjingle. It is built on top of libjingle to provide this functionality. Notice the size is quite large: about 6GB.
The same checkout can be used for both Mac and iOS development, since GN allows you to generate your Ninja project files in different directories for each build config. Note that the git repository root is in src. See Development for generic instructions on how to update the code in your checkout.
GN is used to generate Ninja project files. In order to configure GN to generate build files for iOS certain variables need to be set. Those variables can be edited for the various build configurations as needed. This will result in a file named all.
0コメント