Avideo: Streaming SendToEncode separate the video to many files

Created on 8 Apr 2020  Â·  6Comments  Â·  Source: WWBN/AVideo

I have an issue with Streaming SendToEncoder, it appears when I'm streaming the encoder queue is increasing and separate my streaming to many files.

My question is:

  1. Why is this happen?
  2. How can I fix it?
  3. How can I know the limitation of streaming?
question wontfix

Most helpful comment

@boom02456 remember to restart nginx after changing the value

All 6 comments

each time you disconnect from the live server, it will send a video to the encoder.

Looks like you are having an issue in your live hardware or maybe your network.

No , what actually you're having problem with is the limit you have set up on the ngixn config .

recorder video{
    record all;
    record_path /var/www/tmp;
    record_notify on;
    record_max_size 2048M; 
    #will produce files of the form yourUserKey-24-Apr-13-18:23:38.flv
    record_suffix -%d-%b-%y-%T.flv;
}

When you hit 2048MB , the video will be sent to the encoder . So increase the value , to keep the stream as a silngle file , and not multiple 2GB files .
Example 8GB ( or higher , look on your need and your storage )
record_max_size 8192M;

Could you please clarify more for live hardware that what is the issue that
could cause this problem? also the same with network that is it because
network slowness? or internet interruption?

On Thu, 9 Apr 2020 at 00:23 Daniel Neto notifications@github.com wrote:

each time you disconnect from the live server, it will send a video to the
encoder.

Looks like you are having an issue in your live hardware or maybe your
network.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/WWBN/AVideo/issues/2842#issuecomment-611086377, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIXJB42RNTGJQHIFEC7O22DRLSXIBANCNFSM4MD74PKA
.

>

Warm Regards,

Watcharachai Buranapinyo
E-mail: b.[email protected]
Phone: (+66)93-691-6299

let me try changing nginx and test again tomorrow, thanks for your suggestions :)

@boom02456 remember to restart nginx after changing the value

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Powerbock picture Powerbock  Â·  3Comments

JoshWho picture JoshWho  Â·  3Comments

gujarraju picture gujarraju  Â·  4Comments

hrt644 picture hrt644  Â·  3Comments

willpower68 picture willpower68  Â·  3Comments