Skip to main content
Inspiring
November 8, 2010
Answered

video stream smooth

  • November 8, 2010
  • 1 reply
  • 595 views

Hi,

I have created a web application which records users video from webcam and stores.

Once the user recorded his video he can previwe it.

All the functionalities works good in local but not in internet.

In internet when i preview the video it takes long time to play.some times it stops in the middle.

Is there any way to play the video smp\oothly or show a loading animation when it buffers.


Here is the link to my site http://www.jobtardis.com/wowcv/assets/swf/1.swf

Please help me to solve this problem.

Thanks,

Shanthi

    This topic has been closed for replies.
    Correct answer SE_0208

    Since you are using Flash Player to publish stream - there is no reliable way you can publish three different bitrate streams at same time. So that means you cannot use Dynamic Streaming or Multi-bitrate feature.

    What i would suggest is that you have enough buffer set so that your play is smoother. Though there would be delay in start but playback would be much smoother.

    Also you can show some animation as you suggested when you are waiting for buffer to get full - you can use NetStream Status messages to let you know when buffer gets empty(NetStream.Buffer.Empty) and when buffer gets full(NetStream.Buffer.Full)

    1 reply

    SE_0208Correct answer
    Participating Frequently
    November 9, 2010

    Since you are using Flash Player to publish stream - there is no reliable way you can publish three different bitrate streams at same time. So that means you cannot use Dynamic Streaming or Multi-bitrate feature.

    What i would suggest is that you have enough buffer set so that your play is smoother. Though there would be delay in start but playback would be much smoother.

    Also you can show some animation as you suggested when you are waiting for buffer to get full - you can use NetStream Status messages to let you know when buffer gets empty(NetStream.Buffer.Empty) and when buffer gets full(NetStream.Buffer.Full)