- Init the DeviceRollingController with P2P server IP, port and delegate.
- Start rolling to device by asking DeviceRollingController with your device ID, username and password.
- When the rolling completed, you will get everything you need to connect to the device within a delegate callback.
- Current best connection type (Public / LAN / P2P / Relay)
- IP, HTTP/HTTPS/RTSP ports for different connection type
After the rolling completed, you will be able to access the device by IP, port, username and password containing in the DeviceRollingController delegate callback.
- Init and setup the AudioUploader with device IP, port, username, password, and delegate.
- Start AudioUploader to start talking
- You will be notified of the connection status of AudioUploader by some delegate callbacks to handle network fails.
- Stop AudioUploader to stop talking
- Init and setup the StreamingController with device IP, port, username, password, and delegate.
- Add a view included in the StreamingController to your UI, the streaming will be shown on the view.
- Start StreamingController to start streaming.
- You will be notified of the connection status of StreamingController by some delegate callbacks to handle network fails.
- Stop StreamingController to stop streaming