Re: Using WME to stream dynamic playlist of files

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: rockstar1971 (rockstar1971_at_discussions.microsoft.com)
Date: 01/26/05


Date: Wed, 26 Jan 2005 15:45:03 -0800

Well, kind of. What I'm doing is using Windows Media Player in addition to
the Encoder. I create an Encoder object and set it up to stream the local
audio device. Then, I use the Windows Media Player object and do the adding
of tracks there. The player is playing over the local sound card and Encoder
is encoding the audio and serving it out.

I've only tried this as an ASP.Net application so far, setting up the
objects in the Application object. I've had lots of problems getting this to
work reliably. I can hand an aspx page the playlist to play, it loads it up
in WMP and I can connect to the stream coming from WME. The problem is that
the stream just stops after exactly 35 minutes. I'm guessing this is some
limitation to using the Application object in this way. My next attempt will
be to take this to the next level and do all this as a Windows Service that I
can had songs to. However I haven't had time to try this yet.

Since the ASP.Net solution isn't very workable (I'd like to listen longer
than 35 min!), I've come up with a less graceful, but workable way to stream
my mp3s. I connect to my server via Remote Desktop, open Encoder and start it
encoding and streaming out the local audio device. Then, I open my mp3 files
or playlists in WMP on the server. Then on my work machine, I open WMP and
connect to the stream. When I want a new playlist I, switch back to my Remote
Session on my server and open it in WMP on the server.

Not the most graceful solution, but it works. :)

I hope this helps you in what you want to do. Please post back anything new
you learn. Thanks!

-Scott



Relevant Pages

  • Error Message for Windows Media Player 10 C00D1198: Cannot connect
    ... I can stream MP3 songs using Windows ... Subject: Error Message for Windows Media Player 10 C00D1198: Cannot connect ... Cannot connect to the server ...
    (microsoft.public.windowsmedia.player)
  • Re: continuous playlist-like streaming - doable?
    ... server side encoder from which clients could pull the stream, ... could be pulled by a server ppoint as the source. ... create client side playlists for clients to play back. ...
    (microsoft.public.windowsmedia.server)
  • Re: MultiBitRate
    ... Windows Media Encoder. ... on a server. ... And I want to transfer a stream with 128Kbit/sec, ...
    (microsoft.public.windowsmedia.sdk)
  • Re: cannot stream from WM Encoder 9
    ... coming from a server and not the encoder. ... the encoder delivers the stream ... The internet connection speed is even on 9.6kbps. ...
    (microsoft.public.pocketpc.multimedia)
  • Controlling streaming behavior
    ... you cannot do stream selection (You can do ... with Unicast connections only). ... multi bit rate stream to the server, ... (not from server to encoder, ...
    (microsoft.public.windowsmedia.server)