How to stream from Wowza Streaming Cloud to Periscope and Twitter

The Wowza Streaming Cloud™ service can send streams to Periscope. This article describes how to create a live stream that delivers live video to a custom Periscope stream target. Then, you can broadcast the stream over Periscope and, if desired, Twitter.

Note: Requires support for Periscope Producer, an advanced feature in the Periscope for iOS app that accepts live video from external sources. Professional content creators can apply for Periscope Producer access. To broadcast on Twitter you'll need a Twitter account, too.

Contents


Periscope broadcast requirements
Configure the broadcast in Periscope
Create a live stream for Periscope
Clean up the live stream's transcoder
Add a custom stream target for Periscope
Test your setup

Periscope broadcast requirements


  • Accepted codecs are H.264 (video) and AAC (audio).
     
  • The recommended resolution is 960 x 540 (16:9 aspect ratio) and the recommended video bitrate is 800 Kbps.
     
  • The maximum resolution is 1280 x 720 and the maximum video bitrate is 900 Kbps.
     
  • Streams should be 30 fps with a keyframe interval (i-frame) every 2 seconds or every 60 frames.
     
  • Audio bitrate should be 64 Kbps to 96 Kbps.
     
  • The recommended audio sampling rate is 44.1 kHz.
For more information, see the Periscope Help Center article What is Periscope Producer?

Configure the broadcast in Periscope


  1. In the Periscope app on iOS, tap the People icon and then tap the Profile icon.
     
  2. Tap Settings, and then and tap Advanced Sources.
     
  3. Tap Create New Source.
     
  4. Make note of the Source Connection Info (the Server URL and the Stream Name / Stream Key), or keep the Advanced Sources page open and available. You're going to need the Source Connection Info in Wowza Streaming Cloud.

Create a live stream for Periscope


Start by adding a live stream whose highest bitrate output rendition is 960 x 540 pixels, Periscope's preferred resolution. Wowza Streaming Cloud doesn't typically generate a 960 x 540 output rendition, so you'll need to create an adaptive bitrate live stream with a custom resolution.

  1. In Wowza Streaming Cloud, click Live Streams on the menu bar, and then click Add Live Stream.
     
  2. On the Live Stream Setup page, enter a Live Stream Name, choose a Broadcast Location, and then click Next.
     
  3. If you have the option on the Video Source and Transcoder Settings page, specify the Live Stream Type as Adaptive bitrate.
     
  4. For Closed Captions, choose None.
     
  5. For Aspect Ratio, enter the custom value 960 x 540.

  1. Specify other video source settings, including the encoder, and then click Next.
     
    Note: For more information about live stream settings, see the Help panel on the right side of each page.
  2. Click Next two times to skip the Playback Settings and Hosted Page Settings pages. These options don't matter if you're delivering the stream to Periscope.
     
  3. On the Review page, click Finish to create the live stream.

Wowza Streaming Cloud creates the live stream and displays the Overview tab of the live stream detail page.

Clean up the live stream's transcoder


The live stream isn't quite ready for Periscope. You need to first make some changes to the live stream's transcoder.

  1. Click Advanced on the menu bar, click Transcoders, and then select your live stream from the Transcoders panel on the left side of the page. It appears as [Live stream name] / Transcoder.
     
  2. Click the Outputs & Targets tab.



The Outputs & Targets tab displays the output renditions that Wowza Streaming Cloud created for the live stream, starting with the highest bitrate rendition, the 960 x 540 rendition. Delete the other four renditions, which you don't need.

  1. Click the trash can icon for the 854 x 480 output rendition and, when prompted, click OK to confirm that you want to delete the output.

  1. Repeat Step 3 for the 640 x 360, 512 x 288, and 320 x 180 output renditions.

Next, edit the 960 x 540 output rendition to conform to Periscope's requirements.

  1. Click the pencil icon for the 960 x 540 output rendition and make the following changes:
  • Set the Video Bitrate to 800 Kbps and the Audio Bitrate to 96 Kbps.
     
  • Select Main for the H.264 Profile.

There's one more clean-up step. You're not using the stream target that Wowza Streaming Cloud automatically created for the 960 x 540 output rendition, so remove it from the rendition.

  1. Click the Actions button for the target and then click Remove this stream target. When prompted, click OK to confirm that you want to remove the target from the output rendition.


     
    Note: If you also want to delete the target from Wowza Streaming Cloud, click the Advanced menu and then click Stream Targets. Select the target from the Stream Targets panel on the left side of the page. It appears as [Live stream name] / Stream Target. Then, click Delete Stream Target.

Add a custom stream target for Periscope


Now, create a custom stream target that sends the live stream to Periscope.

  1. On the Outputs & Targets tab of the live stream's transcoder page, click Add a Stream Target and then choose Custom.

  1. On the Create a custom stream target page, enter a Target Name to identify the target in Wowza Streaming Cloud.
     
  2. For Provider, choose RTMP.
     
  3. For Primary URL, enter the Server URL from the Source Connection Info in Periscope.
     
  4. Leave Backup URL empty or enter the Server URL from the Source Connection Info in Periscope.
     
  5. For Stream Name, enter the name of the stream from the Source Connection Info in Periscope.
     
  6. Leave Target Username and Target Password blank.
     
  7. Click Add.

Test your setup


When your live stream and stream target are complete, configure your source encoder or camera and test the entire setup.
 
  1. Select your transcoder.
     
  2. Click Start Transcoder at the top of the live stream's transcoder detail page.
  3. Click Start to confirm that you want to start the transcoder.

Wowza Streaming Cloud starts the transcoder and connects with the source.

  1. Start your video source.
     
  2. In Wowza Streaming Cloud, confirm that the stream is working by looking at the Video Thumbnail on the Overview tab of the transcoder detail page.

The Video Thumbnail displays a frame from the live stream every five seconds. The started date and time appear at the bottom of the thumbnail. Connection, transcoding, and delivery metrics begin to update in the Statistics panel.

  1. On the Advanced Sources page in the Periscope app, check the Preview Broadcast.
     
  2. When you're ready to go live, tap Start Broadcast to notify your followers and start the stream on Twitter.
     
  3. Click Stop Transcoder at the top of the transcoder detail page to end your test stream, stop the video source, and stop the broadcast in Periscope.

If you're having problems or want to discuss this article, post in our forum.