Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Dennis Castillo
16,018 Pointsbest video player for html
Greetings,
I need some advice, I'm doing a live streaming video feed using windows media player 9.0 on html5, using this code:
<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
height="285" id="mediaPlayer" standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject" width="360" style="margin-bottom:30px;">
<param name="fileName" value="mms://my_IP_Address:my_port" />
<param name="animationatStart" value="true" />
<param name="transparentatStart" value="true" />
<param name="autoStart" value="true" />
<param name="showControls" value="true" />
<param name="loop" value="true" />
<embed autosize="-1" autostart="true" bgcolor="darkblue" designtimesp="5311" displaysize="4"
height="285" id="mediaPlayer" loop="true" name="mediaPlayer" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"
showcontrols="true" showdisplay="0" showstatusbar="-1" showtracker="-1" src="mms://my_IP_Address:my_port"
type="application/x-mplayer2" videoborder3d="-1" width="360"></embed>
It is working perfectly for about a few hours then suddenly it keeps crushing on me, I have this experience before doing local and now it's keep doing it even on world wide web. Any suggestion what media player should I use that can call an internet IP address with port "e.g. 192.168.01.010:1010"
Thanks and God Bless
1 Answer
A.J. Kandy
Courses Plus Student 12,422 PointsI think you need to get more information before you can determine the cause of the crash.
I'm no expert, but my immediate guesses are these - and there could be one or multiple causes.
- Computer runs out of memory due to a memory leak somewhere in the software
- Running a video stream for many hours could potentially eat up disk cache, meaning the system runs out of virtual memory.
- You need more RAM + a separate HD to use as the scratch disk / cache for the streaming server.
- Your IP connection resets periodically, because you don't have a static IP address from your ISP.
- The connection falls over due to too many people trying to connect. This is an infrastructure issue - you will need to go from a single machine to some sort of cluster / server / network setup with load balancing. Have a look at Amazon Web Services.
For the moment, If you can run the software with some sort of debug mode or system log active, that might help identify the state of the system at the time of the crash. Then you can maybe start to rule out a few things.
Dennis Castillo
16,018 PointsDennis Castillo
16,018 Points.hmmmm.... right now I do have a dedicated server and about that video streaming it is a security surveillance live streaming, I can't determined what is the problem due to web browser also is crashing on me and yeah you're correct I have to identify or use a third party software to determine the problem. Thanks for your Advice mate :)