Red5 Pro iOS Streaming Testbed
This repository contains a simple project with a number of examples that can be used for testing and reference.
You will need a functional, running Red5 Pro server web- (or locally-) accessible for the client to connect to.
For more information visit Red5Pro.com.
You will need to modify /Red5ProTestbed/tests.plist (the domain value) to point to your server instance's IP address. If you do not, the examples will not function when you build. If you are running the server locally, then your machine and mobile device need to be on the same wifi network.
Once you have modified your settings, you can run the application for simulator or device.
Note: Publishing does not currently work on simulator!
|A high quality publisher. Note that this is the publish test with a non-default 'bitrate' and camera size values set in tests.plist|
|A high bitrate publisher with AdaptiveBitrateController|
|Touch the screen to swap which camera is being used! erify with flash, android, or other iOS device running subscribe test that camera is swapping properly and no rendering problems occur.|
|Touch the screen to toggle between sending Audio & Video, sending just Video, sending just Audio, and sending no Audio or Video. Turning off and on the media sources is considered mute and unmute events, respecitively|
|Custom Video Source|
|Uses a custom controller to supply video data to the publisher.|
|Touch the publish stream to take a screen shot that is displayed!|
|Rotate the device to update the orientation of the broadcast stream. Verify with browser-based players (WebRTC, Flash, HLS), Android, or other iOS device running subscribe test that image is rotating properly and no rendering problems occur.|
|Touch the screen to rotate the output video 90 degrees. Verify with browser-based players (WebRTC, Flash, HLS), Android, or other iOS device running subscribe test that image is rotating properly and no rendering problems occur.|
|A publish example that records stream data on the server.|
|The publish portion of the remote call example - sends the remote call.|
|A publish example that connects with a server cluster using a Stream Manger|
|An example of simultaneously publishing while subscribing - allowing a conversation. Includes stream detection and auto-connection.|
|Change the fill mode of the stream. scale to fill, scale to fit, scale fill. Aspect ratio should be maintained on first 2.|
|An example of conecting to a cluster server.|
|Touch the subscribe stream to take a screen shot that is displayed!|
|A proof of using an audio only stream without attaching it to a view.|
|An example of reconnecting to a stream on a connection error.|
|The subscribe portion of the remote call example - receives the remote call.|
|A subscribe example that connects with a server cluster using a Stream Manger|
|An example of subscribing to multiple streams at once, useful for subscribing to a presentation hosted by two people using a Two Way connection.|
- For some of the above examples you will need two devices (a publisher, and a subscriber). You can also use a web browser to subscribe or publish via Flash, http://your_red5_pro_server_ip:5080/live.
- You can see a list of active streams by navigating to http://your_red5_pro_server_ip:5080/live/subscribe.jsp (will need to refresh this page after you have started publishing).
- Click on the flash link to view the published stream in your browser.