-
Notifications
You must be signed in to change notification settings - Fork 140
Support for MPEG-TS livestreaming via local TCP proxy server #1078
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
Merged
Merged
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
bd29e08
Support for MPEG-TS live streaming over local TCP socket
mback2k 8c9486e
Improve livestream connection handling and logging
mback2k 357df9f
Restore legacy get_liveview and add init_livestream method
mback2k 6444f73
Do not wait on client connection to be closed
mback2k 6279e24
Add punctuation to make ruff happy
mback2k 36b02d9
Do not treat ConnectionResetError as error
mback2k bcdf1b9
Initialize internal object properties
mback2k 1a97662
Rename is_streaming to is_serving
mback2k 4c0d51b
Rename stream method to feed
mback2k df9697b
Make sure coroutines are properly aborted
mback2k ead0254
Skip formatting of byte frames to avoid just one byte per line
mback2k 77b9504
Fix formatting of livestream.py
mback2k a94e694
Log incomplete details for command API
mback2k 91df639
Add method for command done API endpoint
mback2k 25b2ab7
Fix closing of network connections
mback2k 146defa
Fix stream authentication header
mback2k da0177a
Wait with connection until device is ready
mback2k 4879886
Fix receiving of stream and sending of ping and stat packets
mback2k a4e1fe7
Filter received stream data for packets with MPEG-TS data
mback2k cbba7d6
For now assume the command is ready, skip the polling
mback2k dca48a4
Ignore SSL error APPLICATION_DATA_AFTER_CLOSE_NOTIFY
mback2k 431b61f
Shorten lines and fix formatting
mback2k a104573
Add test_request_command_done for request_command_done
mback2k ef16116
Rename class BlinkStream to BlinkLiveStream
mback2k c8e64ff
Add test_camera_livestream for init_livestream
mback2k ff7659f
Replace readyness check with status check during polling
mback2k f1d3461
Initial set of tests for BlinkLiveStream
mback2k 882869b
Add more exception handling tests
mback2k 8535e89
Add missing tests to reach full coverage for BlinkLiveStream
mback2k 7c054ca
Replace `asyncio.TimeoutError` with builtin `TimeoutError`
mback2k 4ba2e79
Rewrite as bytes literal
mback2k 6235962
Improve client connection logging
mback2k 43e8488
Fix server URL parsing and improve tests
mback2k 09a5e79
Remove use of modern asyncio.timeout
mback2k bca565c
Make it possible specify stream host and port
mback2k 4a1ef43
Merge upstream branch dev into livestreaming
mback2k File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.