Skip to main content
Participant
Jan 27, 2012 7:38 AM UTC
Question

Progress bar for RTMP protocol

Hi Guys,

Anyone know about progress bar in rtmp i m making player using rtmp protocol because it allow to seek in any position even if the video data is not cache but i did not solve this issue how to display progress bar data is loaded i can do this in http protocol using Netstream.bytesLoaded and Netstream.bytesTotal i know rtmp is streaming video but i just want to know the when we pause in youtube u can see bufferlength in light gray which indicate this much of video cache i want to does they rtmp protocol or something else.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Nikhil_Kalyan
Participating Frequently
Jan 28, 2012 4:58 AM UTC

Hi,

Why can't you use NetStream.bytesLoaded and NetStream.bytesTotal for RTMP streams as well ? NetStream is a top level object that can bind to both HTTP as well as RTMP streams. Please give it a try and let us know if that worked for you.

Thank you  !

Translate
Participant
Jan 28, 2012 6:03 AM UTC

RTMP doesn't support NetStream.bytesLoaded AND NetStream.bytesTotal youtube use some kind of combination of php to read buffer size if you know that how to do this using only php flash we can also seek beyond the buffer but if i use ony flash with http protocol it does not allow to flash to seek beyond the buffer

Translate
Participating Frequently
Jan 30, 2012 5:45 AM UTC

Check this tutorial : http://fmsguru.com/showtutorial.cfm?tutorialID=20 it might be helpful

Translate