Hi all,
Up till now I've been using the "Pull from encoder" option from the Windows
Media Encoder to the Windows Media Server.
With this I've been using a small wrapper to do some simple advertisement on
the stream.
This is all working fine, but now it's time for me to move to the next step
named "PUSH to server" :)
With the "Push to server" I would still like to use the advertisement
option, and it's kind of working except that it's not playing the live
stream!
This is the wrapper that I've been using till now for the "Pull from
encoder" profile
<?wsx version="1.0"?>
<smil>
<media role="Advertisement" noSkip="TRUE" src="welcome.jpg" dur="5s"/>
<media src="http://streamserver:200?wmreconnect=0" dur="600s"/>
<media role="Advertisement" noSkip="TRUE" src="down.jpg" dur="10s"/>
<media role="Advertisement" noSkip="TRUE" src="down2.jpg" dur="5s"/>
</smil>
As you can see, the server where wher the PULL FROM stream is coming from is
named "streamserver" and it using port 200.
Anyway, I'm in PUSH mode now and I've been able to connect to the server
that is running the windows media server (named server) with no problems!
(settings used in the Windows Media Encoder are: Push to server, Server
name: server:8080, Publishing point: test-stream)
After starting the Windows Media Encoder, the publishing point named
"test-stream" will show up in the Windows Media Player, and I can connect to
it with no problem!
The only problem with the wrapper's that I've been trying is that it will
not show the stream from the "streamserver"!
When I remove the wrapper, the stream will show ok, but now advertisement!
Someone here who can tell me what a PUSH wrapper should look like?
Thank you.
Noel
PS. OS used: server = Windows server 2003, streamserver = Windows 2000
Ravi Raman - 21 Apr 2004 01:45 GMT
If you are indeed using a wrapper playlist, then shouldn't
you be using %RequestedURL% to make the client point to
the actual URL that is requested (based on the SDK
documentation in the "Configuring a Publishing Point to
Use a Wrapper Playlist" section)? This should cause
push/pull to work the same way.
i.e,
<?wsx version="1.0"?>
<smil>
<media role="Advertisement" noSkip="TRUE"
src="welcome.jpg" dur="5s"/>
<media src="%RequestedURL%" dur="600s"/>
<media role="Advertisement" noSkip="TRUE"
src="down.jpg" dur="10s"/>
<media role="Advertisement" noSkip="TRUE"
src="down2.jpg" dur="5s"/>
</smil>
Thx,
Ravi
--
This posting is provided "AS IS" with no warranties, and
confers no rights.
>-----Original Message-----
>Hi all,
[quoted text clipped - 18 lines]
> <media src="http://streamserver:200?wmreconnect=0" dur="600s"/>
> <media role="Advertisement" noSkip="TRUE"
src="down.jpg" dur="10s"/>
> <media role="Advertisement" noSkip="TRUE"
src="down2.jpg" dur="5s"/>
></smil>
>
[quoted text clipped - 23 lines]
>
>.
No?l - 21 Apr 2004 11:24 GMT
| If you are indeed using a wrapper playlist, then shouldn't
| you be using %RequestedURL% to make the client point to
[quoted text clipped - 17 lines]
| Thx,
| Ravi
Thank you Ravi,
The "%RequestedURL%" did the trick!
Noel