Quantcast
Channel: Adobe Community : Popular Discussions - Flash Media Live Encoder
Viewing all articles
Browse latest Browse all 16106

FMLE drops connexion exactly every 2 hours, same times daily...

$
0
0

Hello World !

I stream my screen using FMLE 3.2 and SCHF (for screen sharing, probably irrelevant with my issue).

Basically every day at 10:10, 12:10, 14:10 & 16:10, FMLE enters auto adjust... I have selected the adjust quality, if I do drop frames, same result.

 

So that translates into a droped connection on the client side (player streaming the video on the web). That is the issue...

 

I read a lot of things about buffer getting too big etc.. But why that happen at such regular intervals ? That's the thing I don't undersand.

So if you have any idea where these regular "breaks" come from or why it might, it'll be greatly helpful.

 

Here is my config.xml :

 

<?xml version="1.0" encoding="UTF-16"?>

<flashmedialiveencoder_config>

          <!-- This tag configures FMLE for the case when audio device sends audio samples-->

          <!-- with forward timestamp. In this case FMLE can be configured to send                     -->

          <!-- silence audio message between samples that have forward timestamp.                              -->

          <filler>

                    <!-- Min Forward timestamp duration (in Milli Seconds).                                                            -->

                    <!-- Default value is 50ms.                                                                                                                                  -->

                    <duration>50</duration>

                    <!-- Buffersize for the resampler and filler                                                            -->

                    <!-- Default value is 2000ms. -->

                    <buffersize>2000</buffersize>

          </filler>

 

          <!-- This tag configures FMLE for Debug Log writings.                                                                      -->

          <!-- Debug logs for audio, video, rtmp, etc. are created and can be analyzed          -->

          <!-- for troubleshooting purposes.                                                                                                                        -->

          <!-- Logs are created in folder "stats_yyyymmdd_hhmmss" inside MyVideos                     -->

          <!-- directory by default. Logs directory path can be changed using "path"                    -->

          <!-- tag.                                                                                                                                                                                      -->

          <logs>

                    <!-- Enable/Disable log writings.                                                                                                              -->

                    <!-- "true"  to Enable log writings.                                                                                                    -->

                    <!-- "false" to Disable.                                                                                                                                  -->

                    <enable>false</enable>

                    <!-- Logs Directory path.                                                                                                                                  -->

                    <!-- For Example, "C:\FMLE Logs".                                                                                                              -->

                    <!-- By Default MyVideos is taken.                                                                                                              -->

                    <path></path>

          </logs>

          <mbrconfig>

                    <!-- Multiple Stream synchronization at FMS.                                                                                -->

                    <!-- This feature can be used to synchronize streams from multiple FMLE                    -->

                    <!-- instances running on multiple machines.                                                                                -->

                    <!-- All the streams are synchronized using a common reference UTC                              -->

                    <!-- (Coordinated Universal Time) time.                                                                                                    -->

                    <!-- All the FMLE stream that needs to be synchronized should be configured          -->

                    <!-- with same reference time and the machine on which FMLE instances are            -->

                    <!-- running should be synchronized using NTP (Network Time Protocol)                      -->

                    <!-- for proper stream synchronization at FMS.                                                                                -->

                    <!-- This feature is disabled by default.                                                                                          -->

                    <streamsynchronization>

                              <!-- "true" to enable this feature, "false" to disable.                                                  -->

                              <enable>false</enable>

                              <!-- A Past UTC reference time.                                                                                                              -->

                              <!-- Past reference time should not be earlier than 30 days from the           -->

                              <!-- time when encoding is started.                                                                                                    -->

                              <!-- If invalid reference time is provided, current month is taken as           -->

                              <!-- reference time.                                                                                                                                  -->

                              <referencetime>

                                        <!-- A past/current month.                                                                                                              -->

                                        <!-- 1 for January, 2 for February and so on.                                                            -->

                                        <!-- 0 means use current month.                                                                                                    -->

                                        <month>0</month>

                                        <!-- A past/current year.                                                                                                              -->

                                        <!-- for Example, 2008,2009 etc.                                                                                          -->

                                        <!-- 0 means use current year.                                                                                                    -->

                                        <year>0</year>

                              </referencetime>

                    </streamsynchronization>

          </mbrconfig>

          <rtmpconfig>

                    <!-- Maximum RTMP buffer size and buffer duration configuration.                              -->

                    <!-- This tag can be used to set maximum RTMP buffer size and maximum                    -->

                    <!-- buffer duration at FMLE side.                                                                                                              -->

                    <!-- Sometimes while publishing in adverse network condition (low bandwidth,-->

                    <!-- high latency, etc.), the RTMP buffer at FMLE could          grow enormously                    -->

                    <!-- and cause increase in memory usage (Virtual memory).                                                  -->

                    <!-- Very high memory usage can cause application to become unresponsive          -->

                    <!-- or even crash.                                                                                                                                                      -->

                    <!-- Use this tag to set a threshold value for the RTMP buffer.          Once any          -->

                    <!-- of the threshold value (maxrtmpbuffersize or maxrtmpbufferlength) is          -->

                    <!-- reached, FMLE flushes the RTMP buffer and re-publishes the streams.          -->

                    <!-- When the RTMP buffer is flushed, all the data in the buffer is                              -->

                    <!-- discarded, leading to loss of the bufferd data.                                                            -->

                    <!-- In order to avoid increase in RTMP buffer and prevent the data loss,          -->

                    <!-- use AutoAdjust feature. Please refer to help file for AutoAdjust.                     -->

                    <!-- This feature is enabled by default.                                                                                          -->

                    <rtmpbuffercontrol>

                              <!-- "true" to enable this feature, "false" to disable."                                        -->

                              <enable>true</enable>

                              <!-- Maximum RTMP buffer size. (in KB)                                                                                          -->

                              <!-- This tag specifies how large the RTMP buffer size could grow.                     -->

                              <!-- default value is 512MB (512,000KB).                                                                                -->

                              <maxrtmpbuffersize>512000</maxrtmpbuffersize>

                              <!-- Maximum RTMP buffer Length/duration (in Seconds).                                                  -->

                              <!-- This tag specifies the maximum RTMP buffer length/duration.                    -->

                              <!-- Use this tag to set the threshold value for the RTMP buffer length.-->

                              <!-- Default value is 3600 seconds ( 1 hour).                                                                      -->

                              <maxrtmpbufferlength>3600</maxrtmpbufferlength>

                    </rtmpbuffercontrol>

          </rtmpconfig>

</flashmedialiveencoder_config>


Viewing all articles
Browse latest Browse all 16106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>