-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Version 1.1-A4 #112
Merged
Merged
Version 1.1-A4 #112
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Remote Microphone Server - Fixed an issue where stream module will show blank text if nothing is said.
- Will not update API call if data is empty.
- Remote Microphone Server - RMS Password Protected - Made the stream module Multi-Threaded - GUI updated to suit the HLS password system
- Fixed some issues with latency
- Added save functionality for HLS additional elements
- Forgot to remove a sleep timer from processing audio oops.
* Fixed an issue where Win 2 Error would happen with portable version, temporary fix. More better * New UI Style (Experimenting with styling)
* Added icons to bring up github or itch easily. * Unchecks wipe setting checkbox if user canceled the wipe.
**Improvements:** - **Enhanced Error Handling and Retries in Downloading Segments:** - Improved the `download_segment` function in `stream_transcription_module.py` to include more robust error handling and retries for downloading segments. - Added a `max_retries` parameter to the `download_segment` function to specify the number of retry attempts. - The function now handles `requests.exceptions.RequestException` specifically for network-related errors, providing more informative error messages. - Implemented a retry mechanism with an optional `retry_delay` to handle temporary network issues. - Added error handling for `http.client.IncompleteRead` exceptions, which can occur if the connection drops during download. - **Improved M3U8 Playlist Loading:** - The `load_m3u8_with_retry` function in `stream_transcription_module.py` has been enhanced to retry loading the M3U8 playlist file if there are errors, making it more resilient to network fluctuations. - The function now handles potential `requests.exceptions.RequestException` and `http.client.IncompleteRead` errors during playlist loading, retrying with a delay until successful. - **Optimized Segment Downloading and Skipping Logic:** - Streamlined the segment downloading logic to avoid re-downloading already processed segments, improving efficiency. - Modified the code to skip segments that have already been downloaded successfully, preventing unnecessary downloads. - **Prep for native audio capture support** - Added `sounddevice`, `soundfile`, and `pydub` to requirements.txt for audio capture. Will be using a more native way to capture audio better. - **GUI Improvements** - Adjusted vertical spacing for headers in `player.html` to address potential overlapping issues. This change ensures better visual clarity and prevents elements from overlapping, enhancing the user interface. **Bug Fixes:** - **Fixed Issue with Segment Downloading in `stream_transcription_module.py`:** - Resolved a bug where the code was not properly skipping already downloaded segments in certain situations. This fix ensures that only new segments are downloaded instead of trying to decode broken audio files, improving efficiency. Fixes #108 - **Fixed Issue with Incorrect HLS Flags in `remote_microphone.py`:** - Corrected the HLS flags used in the FFmpeg command in `remote_microphone.py`. This change ensures that the generated HLS playlist is created correctly, addressing potential issues with live stream playback.
cyberofficial
added
dependencies
Pull requests that update a dependency file
PR Forward
labels
Jul 8, 2024
* Sets a reminder to change port number before using #107
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
Remote Microphone Server (Start of 1.1)
Ignore sending data to API if data is empty
Journey to 1.1
GUI Wrapper Update
Fixed minor error
Fix Win 2 Error For Portable Version [temporary]
Remote Microphone update and Stream Module Update
Improvements:
download_segment
function instream_transcription_module.py
to include more robust error handling and retries for downloading segments.max_retries
parameter to thedownload_segment
function to specify the number of retry attempts.requests.exceptions.RequestException
specifically for network-related errors, providing more informative error messages.retry_delay
to handle temporary network issues.http.client.IncompleteRead
exceptions, which can occur if the connection drops during download.load_m3u8_with_retry
function instream_transcription_module.py
has been enhanced to retry loading the M3U8 playlist file if there are errors, making it more resilient to network fluctuations.requests.exceptions.RequestException
andhttp.client.IncompleteRead
errors during playlist loading, retrying with a delay until successful.sounddevice
,soundfile
, andpydub
to requirements.txt for audio capture. Will be using a more native way to capture audio better.player.html
to address potential overlapping issues. This change ensures better visual clarity and prevents elements from overlapping, enhancing the user interface.Bug Fixes:
stream_transcription_module.py
:remote_microphone.py
:remote_microphone.py
. This change ensures that the generated HLS playlist is created correctly, addressing potential issues with live stream playback.Lock numpy to version 1.26.4
numpy
to version 1.26.4Update README.md
Version Bump
Additional Fixes