This project is read-only.

Streaming RTSP or M3U8

Topics: Windows 8 Xaml
Jun 8, 2013 at 7:56 AM

I'm trying to stream either an RTSP or M3U8 audio stream but am having difficulty in doing so.

Currently, I have the app set up to use the Player Framework and Smooth Streaming.

<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <mmppf:MediaPlayer Source="">
                <adaptive:AdaptivePlugin />
The Source can also be "rtsp://" or "".

When run, I am told that "The video failed to play".

Any ideas how I can stream? Thanks.
Jun 18, 2013 at 5:35 PM
m3u8 is the format used in HLS (Apple's Http Live Streaming) and is not supported natively by Windows 8. However, there are ways to make HLS work with Windows 8 (and therefore with the player framework) but you need a 3rd party library. Here's another thread with additional details.

The story with RTSP is similar. Here's another thread on StackOverflow about this format with Windows 8.

Note: The player framework relies on the Windows 8 native capabilities to playback media. Any format outside of the supported list of formats can be handled by custom Media Foundation Extensions. For example, this is how smooth streaming is supported.