MediaElement and RTSP

Brian Liang picture Brian Liang · Feb 17, 2012 · Viewed 7.2k times · Source

Does MediaElement support RTSP?

I've got a stream going and I'm able to consume the stream with VLC Player via:

rtsp://192.168.1.17:554/stream

However, when trying to use Windows Media Player, I'm not able to stream it. Which begs the question, does MediaElement support RTSP?

I'm working with WPF on .NET 4.0.

Answer

Roman R. picture Roman R. · Feb 18, 2012

VLC has comprehensive support for RTSP (through live555 library), while support in Windows Media Player is limited.

You might want to check this article on MSDN: Supported Media Formats, Protocols, and Log Fields.

Supported Codecs

Below is a rollup list of formats codecs supported by the MediaElement. These encodings are supported regardless of the file name extension.

See also: MediaElement and custom RTSP stream.