Jump to content

rtp mpeg stream in gui


Recommended Posts

ciao,

Is it possible to play a rtp mpeg2 stream in a gui?

The only solution I found is to import in my gui a firefox windows with this html code inside:

<html>
    <title>Live Mpeg Streaming</title>
    <body>
        <OBJECT id='mediaPlayer1' width="480" height="550" 
                classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' 
                codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
                standby='Loading Microsoft Windows Media Player components...' type='application/x-    oleobject'>
            <param name='url' value="rtp://239.255.0.100:5001">
            <param name='fileName' value=url>
            <param name='animationatStart' value='true'>
            <param name='transparentatStart' value='true'>
            <param name='autoStart' value="true">
            <param name='showControls' value="false">
            <param name ="ShowAudioControls"value="false">
            <param name="ShowStatusBar" value="false">
            <param name='loop' value="false">
            <EMBED type='application/x-mplayer2'
                    pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
                    id='mediaPlayer' name='mediaPlayer' displaysize='6' autosize='1' 
                    bgcolor='darkblue' showcontrols="false" showtracker='1' 
                    showdisplay='1' showstatusbar='1' videoborder3d='1' width="180" height="144"
                    src="rtp://239.255.0.100:5001" autostart="true" designtimesp='5311' loop="true">
            </EMBED>
        </OBJECT>
        <br />
    </body>
</html>

The url is 239.255.0.100:5001 and it's a mpeg2 stream

Thankyou

Marco

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...