BROADCASTING FROM AN iPHONE, iPAD etc

There are several different iPhone apps for live broadcasting - Livu by Steve McFarlane is one that is used successfully to stream to our server. GoCoder is another one, made by Wowza, the leading live streaming company and we will show how to configure that iPhone app here.

Wowza GoCoder is a live audio and video encoding application designed for the Apple iPad (second generation and later), iPad Mini, iPhone (3GS and later), and iPod touch (fourth generation and later).

The following instructions are taken from the Wowza site.

Requires iOS 6.0 or later. Download here from iTunes for $4.99.

Configure Wowza GoCoder App

1. Launch the Wowza GoCoder app on your iOS device. An instructional overlay image is displayed on top of the application after it launches.
The overlay provides a brief description of each of the app's buttons. To dismiss it, tap anywhere on the screen. To dismiss the overlay image permanently, tap the X character.
Note: For devices that don't have an LED flash for the rear-facing (iSight) camera, only the Switch camera button is available in the upper-left corner of the app.

The camera button isn't displayed on iPhone (3GS and earlier) devices, which have only a front-facing (FaceTime) camera.
2. Specify the Wowza server information. Tap the Server button in the upper-right corner of the app to display the Server page.
Tap Host, enter Server and Port information, and then tap Back.
Please refer to your broadcast address, eg rtmp://mtvnyc.dyndns.tv/allTemples/Panama.
Server is the hostname from your rtmp address, in this case mtvnyc.dyndns.tv
Port is the port used for streaming. This is always 1935.
Tap Application, enter Application and Stream Name information, and then tap Back.

Please refer to your broadcast address, eg rtmp://mtvnyc.dyndns.tv/allTemples/Panama and Stream, eg Panama Rathayatra
  • Application is the last two parts of your FMLE rtmp address eg: allTemples/Panama or autorecord/Panama
  • Stream Name is your stream name: Panama Rathayatra.
('autorecord' is used instead of 'allTemples' when the broadcaster wants to record everything being broadcast without using the MTV Admin Panel to initiate a recording)
Tap Publisher Login, enter Publisher Name and Password information, and then tap Done.
  • Publisher Name is your channel name Panama
  • Password is your broadcast password ********.
Specify encoding settings for video and audio. Tap the Options button in the upper-right corner of the app to display the Options page.

Video

For video streams, do the following:
  1. Tap Stream, tap either Video + Audio or Video Only, and then tap Back.
  2. Tap Video Settings, specify the Frame Rate, Key Frame Interval (number of frames between key frames), and Transport protocol, and then tap Back.
    Set Transport to TCP if you intend to encode a stream for a lengthy period of time. TCP also works better when network conditions might be unstable. If you use the TCP protocol for streaming, the app might stream at a higher bitrate than the network connection can handle and this will cause latency in the stream between the app and the server. If the amount of latency is unacceptable, try setting the protocol to UDP. Generally it is TCP all the time, so don't worry about it.

  3. Tap Video Size, select a video size, and then tap Back.
    The available Video Size values will vary depending on device capabilities and network connection type.

  4. To apply a filter to the video output, select one of the following video filters at the bottom of the Options page: No Filter, B/W (black-and-white), Blur, B/W Blur. Then tap Done.

Audio

For audio-only streams, do the following:

  1. Tap Stream, tap Audio Only, and then tap Back.
    This setting removes any video that's present from the encoded stream, meaning that only the audio portion is delivered to the Wowza server. If everything is configured correctly, you'll see the following message displayed in the app:

    Audio-only

  2. To specify the transport protocol for the audio-only stream, tap Video Settings, tap either TCP or UDP, and then tap Done.
    Set Transport to TCP if you intend to encode a stream for a lengthy period of time. TCP also works better when network conditions might be unstable. If you use the TCP protocol for streaming, the app might stream at a higher bitrate than the network connection can handle and this will cause latency in the stream between the app and the server. If the amount of latency is unacceptable, try setting the protocol to UDP.

Auto Restart

To specify that the GoCoder app should start streaming to the Wowza server after the connection is lost and then re-established, slide the Auto Restart button to ON.

  • Specify the encoded bitrate for the stream. Tap the bitrate button in the lower-left corner of the app to show the available bitrates.

    In the bitrate bar, select the bitrate value that you want to stream.
  • Generally use 250kbps, as most viewers will be able to watch at that setting


    The available bitrates will vary depending on device capabilities, the selected Video Size, and network connection type.

  • (If needed) For devices that have an LED flash for the rear-facing (iSight) camera, tap the LED flash button () in the upper-left corner of the app to enable LED flash mode. Setting LED flash mode to ON provides extra light.

    Tap the button again to disable LED flash mode (set to OFF).

  • For devices that have front-facing (FaceTime) and rear-facing (iSight) cameras, tap the camera switch button () in the upper-left corner of the app to toggle the selected camera.

  • To broadcast to the Wowza server, tap the Encode button.


    If everything is configured correctly, you'll see the following message displayed in the app:

    Stream Started

    When the stream starts, the orientation of the encoded video is the same as the orientation of the device (either portrait or landscape). Rotating the device won't adjust the stream to the alternate orientation. Instead, you must stop encoding, rotate the device, and then start encoding again.

    To stop the broadcast to the Wowza server, tap the Encode button again. You'll see the following message displayed in the app:

    Stream Ended

  • Additional note - incoming calls while broadcasting can stop broadcast. Use push notification suppression to enable "do-not-disturb" mode while capturing content.

    Troubleshooting