Skip to main content
Participant
January 27, 2012
Question

Progress bar for RTMP protocol

  • January 27, 2012
  • 1 reply
  • 1173 views

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 has been closed for replies.

1 reply

Nikhil_Kalyan
Participating Frequently
January 28, 2012

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  !

Participant
January 28, 2012

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

Adobe Employee
January 30, 2012

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