Go Back   Justin.tv Community Help Forums > Community Help > Everything Else

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-07-2012, 05:32 AM
AlexIT AlexIT is offline
Junior Member
 
Join Date: Dec 2011
Posts: 18
Default Hanging of Adobe Flash Player on user's side

Sorry if this post is not for this forum,

I wrote the program (using FFMPEG and LIBRTMP), which broadcasted video files (in FLV format) to justin.tv by using RTMP, where any user can see that video using any inet browser with Adobe flash player. My schema:

The program -> justin.tv -> user's browser.

It works well, but there is one problem:

The program has to send a video to the site with bitrate, which should fit network loading. Therefore the program will change video stream's bitrate if network loading has changed there. This is not very well, because during that operation a user sees a pause with black screen at the flash player (better case), but sometimes that player hangs (in offline), and the user should do refresh of the HTML page to continue viewing. I don't know why it happened. When the program wishes to change a bitrate, it does the following operations:

1. Interrupts an old video stream and closes RTMP connetction.
2. Opens a new RTMP connection with the server.
3. Sends a new Meta tag (with new paramemters) to the server.
4. Sends a new video stream to the server.

What do I do incorrect there? Any case the flash payer should be in offline there.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:20 PM.