Posts tagged player

IP Stream: Hitting A Brick wall

0

Today I’ve been working at trying to integrate the stream and its corresponding SDP file that Ravensbourne has kindly provided to me, this however hasn’t been as straight forward as i first believed it to be, my lack of knowledge of streaming also slowed this process down dramatically.

So to start with today I started with the obvious:

  • The SDP file in a RTSP stream – Testsed using VLC and Quicktime prior to JW Player, to test it was still streaming.
  • JW Player (Flash and HTML5)
  • Some patience
After reading some online information I installed the official JW Player plugin for WordPress, on the Penrose Market website. The install was fine and the test media I provided worked perfectly fine, the player loaded and it played the local .mp4 test file. The problems started when I tried to integrate the stream with JW Player, which could supposedly read SDP files and play live streams.

The main error I faced with JW Player was that it was struggling to find the RTSP stream, and in particular it was complaining it either could not find or access the SDP file which contained all the stream information. This tiny error took nearly an hour of more research before I found out why it would never work.
This handy blog post by the guy’s who make JW Player explained a lot about IP streaming and what formats and protocols are compatible with which devices and players. This section quoted below is the most useful reference:

Summary: Streaming Support

This table sums up support for the various streaming methods across devices and servers.

Devices Progressive Download RTMP/RTSP Streaming Adaptive HTTP Streaming
Adobe Flash Player MP4, FLV RTMP HLS, Zeri, Smooth
HTML5 (Safari & IE9) MP4
HTML5 (Firefox & Chrome) WebM
iOS (iPad/iPhone) MP4 HLS
Android Devices MP4, WebM RTSP HLS (as of 3.0)
CDNs (e.g. CloudFront) MP4, FLV, WebM RTMP HLS
Web Servers (e.g. S3) MP4, FLV, WebM HLS

As you can see the RTSP protocol is only supported by Android Devices, as well as many Software Based Media Players such as Quicktime, VLC and Windows Media Player. I haven’t tested iOS 5 with RTSP yet, it could possibly work, as iOS uses a stripped down version of Quicktime and Safari.

This leaves me with two options:

  1. Embed either Quicktime or other proprietary plugin as well as providing a direct link to the stream as a back up for users that don’t have or cannot download the plugin.
  2. Speak to IT about recreating the stream using a more compatible protocol such as HLS or RTMP.

Anyway thats enough for today, I will continue testing various protocols, as well as other players such as Quicktime, HTML5, Silverlight and any others I find.

IP Stream: Making Progress

Today we made some serious progress in creating an initial IP stream using a few odd bits of kit lying around room 906. The bodged system myself and Scott came up with consisted of:

  • 1 x Cisco DME 1000 (Stream Encoding)
  • 1 x Sound Desk (Tone Generation)
  • 1 x Composite Signal Generator
  • 1 x Picture Monitor (Live View)
  • 2 x MacBook Pro Laptops (Stream ReEncoding and Viewing)
The system became a bit of a bodge as we struggled to get anything other than Windows Streaming out of the Cisco Encoder, as a temporary measure we used one of the MacBook Pro Laptops as a ReEncoder to initially take the Windows Stream and turn it in to an H264 MPEG4 Stream, using VLC Media Player / Streamer.
This bodge wasn’t pretty or efficient but it worked, and it also worked throughout the building at Ravensbourne.
The next task over the next week or so is to transfer what I’ve found whilst playing with the Cisco Encoder and transfer my findings over to Tributary / Record Server 5. During the transfer we should be able to find a much efficient and simple system.
Go to Top