-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash streams when the communication between xlxd and ambed is unstable #115
Comments
Hi everyone, |
After several attempts to put the code in order to find a solution to the problem, it seems that by adjusting the various time out the phenomenon is resolved. From various tests done in the presence of latency with a variation of 2 seconds the communication stops and when the next stream reopens, it starts again correctly. Here I report the changes made. Someone try them and check that they behave the same way. -------------xlxd---------------
in ctranscoder.cpp
in cpacketstream.h
OR in main.h
in ctranscoder.cpp
in cpacketstream.h
in ccodecstream.cpp
--------------ambed---------- in main.h
OR
in cstream.cpp
73... iz1mlt Luca |
Hi, Thx Luca. |
First you need to edit and then rebuild by running make clean and after make. |
ok, Many thx. I try it, and I tell him about the experience. |
Tnx! Wait the reports 73... Iz1mlt |
Sorry, In original Code en Main.h #define TRANSCODER_PORT 10100 // UDP port modified, according to its indications it would be like this. // Transcoder server -------------------------------------------- #define TRANSCODER_PORT 10100 // UDP port It is correct? |
yes!
The important thing is that AMBED_OPENSTREAM_TIMEOUT = STREAM_TIMEOUT because the problem solution is there. Find the code with the changes also on my repository. mlt |
Many thx. |
Does the forked XLXD work with your fork of AMBEd with TEAM6160 support? //TSC |
Yes Luca. I compiled you github |
Luca after installing your branch on XLX010 with a remote ambed it seems we only get the callsign info no voice streams Please advise //SM0TSC |
Yes, correct. At the time of being working, the audio is cut and only indicative output. |
Strange! Aside from changing the timeouts and removing worning from compiling did not do anything else. What is written on the logs when this phenomenon happens? |
Nothing strange, no missed packets etc on AMBED side... |
Confirm that the changes made to my fork work? IZ1MLT |
Fork compiled 3 days ago does NOT work //TSC |
Luca you can contact me [email protected] If you want access to my setup for debugging //TSC |
Hi Luca and sm0tsc, |
if you use the hardware boafarm you have to use the team6160 ambed, xlxd is fine regardless of the ambe card. Ambed of the team6160 is also work with the other ambe hardware. If you have problems, put the output prints with the errors found. IZ1MLT |
Ok, Many thx, Luca, NOW yes operational. PERFECT. |
Very well! For news, I'm working on a version with read configuration from file, like jonathan software. I'll let you know. 73... Luca |
@lucamarche-iz1mlt Has this timeout update fix been added into xlxd by default or do we still have to add it in ourselves? Also can you give the status on the configuration file version? 73 |
I have your ambed file in and working it detects both my NW Digital thumbdv's and xlxd is loaded but I still get NO transcoding going on. there is no error on the ports. it shows I have 2 channels with the 2 sticks. what am I missing? |
By the way you can not get the 1.4.6 or the 1.4.8 drivers from ftdi under the linux directory as it has changed. can we please have an update as all the docs and files are 4 to 7 years old and outdated. |
Hi everyone,
I have an xlx with ambed software on a second machine, when the connection between xlxd and ambed starts to have a very variable latency the streaming ambe xlx side crashes and no longer resumes, the only way is to restart xlxd.
By increasing the TRANSCODER_AMBEPACKET_TIMEOUT and STREAM_TIMEOUT the thing gets better but the fact is that when it crashes it does not recover.
Adding some prints in the file ctranscoder.cpp, forcing the printing of ambed stats and packet timeouts, noticed that the ping goes to -1000.0 and changes the order of the printouts, but the keepalive communication remains sent, the operation of which remains unchanged. If anyone wants to take a look I attach log files.
Could it be some problem of managing any counter or lack of management of a state?
And some time beating myself but have not come to terms with it yet.
IZ1MLT Luca
log xlxd.txt
The text was updated successfully, but these errors were encountered: