![]() |
|
#1
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|