chuot / rdio-scanner

Rdio Scanner is an open source software that ingest and distribute audio files generated by various software-defined radio recorders. Its interface tries to reproduce the user experience of a real police scanner, while adding its own touch.
GNU General Public License v3.0
422 stars 60 forks source link

Calls from Conventional system not Playing correctly #214

Closed robertlynch3 closed 2 years ago

robertlynch3 commented 2 years ago

Issue first seen on 6.4.2, present on 6.4.3. Its likely it was present on all 6.4 versions, but I didn't pay attention to find it until 6.4.2.

After upgrading, calls uploaded from one of my conventional trunk-recorder systems are not saved correctly. The call is sent to the database and displayed correctly but the audio file does not correctly played back. It seems like all audio files from said system are 0 seconds long.

After reverting back to 6.3.6 I don't see the issue anymore. I am reverting now, but its easy to show if you want logs.

robertlynch3 commented 2 years ago

here is an example with TR

[2022-06-13 16:12:45.013760] (trace)   [scnjconv]   2C  TG:          3  Freq: 506.312500 MHz    Concluding Recorded Call - Last Update: 164s    Call Elapsed: 173
[2022-06-13 16:12:45.013995] (error)   stop_recording() - stopping wavfile sink but recorder state is: 1

[2022-06-13 16:12:45.014051] (info)   [scnjconv]    2C  TG:          3  Freq: 506.312500 MHz    - Transmission src: -1 pos: 0 length: 4.44919
[2022-06-13 16:12:45.014179] (info)   [scnjconv]    2C  TG:          3  Freq: 506.312500 MHz    Starting Analog Recorder Num [15]   Squelch: -40
[2022-06-13 16:12:45.192493] (info)   [scnjconv]    2C  TG:          3  Freq: 5.063125e+08  Rdio Scanner Upload Success - file size: 56552

Radio scanner logs are

newcall: system=2 talkgroup=3 file=3-1655151159_506312500-call_2.m4a success
robertlynch3 commented 2 years ago

After rolling back, now calls now are the correct length, but the have no audio. There was a similar issue once before with audio compression if I recall.

robertlynch3 commented 2 years ago

Yup, it was compression. The setting changed, and it became enabled. Closing issue.