-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat(MediaStreamTrackNative): enhance track enable/disable event handling #1333
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
Closed
Conversation
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
* Use pre-compiled WebRTC for macOS. * update. * Update WebRTC-SDK(92.4515.10) for macOS. * fix: Fix addIceCandidate method Deprecated. * chore: dart format.
* enable simulcast * turn on kotlin compiler
* Use `track` instead of `kind` when both `track` and `kind` are set (flutter-webrtc#4) * `getSettings` for Web (flutter-webrtc#3) * Fix: init would never be `RTCRtpTransceiverInitWeb` * Clean up * Fix: Flutter 2.5.0 `RTCVideoRendererWeb` bug * use .10 for iOS also Co-authored-by: David Zhao <[email protected]>
* [Windows] 实现 mediaStreamTrackSetEnable * Update flutter_webrtc.cc * Update flutter_webrtc.cc Co-authored-by: CloudWebRTC <[email protected]>
* don't call `stop` on tracks when disposing * not `RTCVideoRendererWeb`'s responsibility to dispose `srcObject`
Change "facrory" to "factory"
…lutter-webrtc#1289) All operations on track objects in the flutter API just send the track id to the platform specific code without the additional information which peer connection the track belongs to. This leads to methods like captureFrame() being called on the wrong track if there are tracks with the same id in more than one peer connection. Fixes flutter-webrtc#469
…webrtc#1286) * chore: add example for device enumeration and replaceTrack. * fix bug for macos and add fps/resolution selection. * update. * fix replaceTrack for windows. * update. * update. * fix bug for android. * update.
* chore: add example for device enumeration and replaceTrack. * fix bug for macos and add fps/resolution selection. * update. * fix replaceTrack for windows. * update. * update. * fix bug for android. * update. * feat: support getSettings for Android. * fix audioinput selection for android. * chore: export settings for MediaStreamTrack on iOS. * feat: windows. * update.
* Add `addStreams` to `RTCRtpSender` * Java format * Add `addStreams` to `RTCRtpSender` in iOS/macOS * Update pubspec.yaml --------- Co-authored-by: CloudWebRTC <[email protected]>
* feat: add support for RTCDegradationPreference. * chore: support for win/linux.
…lutter-webrtc#1314) * chore: Motify H264 Profile Level Id to support high resolution. * clang-format.
…lutter-webrtc#1315) * [Windows] Fix crash RTPTransceiver::GetCurrentDirection If `RTPTransceiver` is null, GetCurrentDirection crashes on Windows * Fix transceiver always null when RTPTransceiver::GetCurrentDirection
* Do not check the peer connection again when check value is empty or not. * Fix the argument error of OnSdpCreateFailure callback of CreateAnswer. * Return error info if GetLocalDescription/GetRemoteDescription failed. * Return not implemented info for MediaStreamTrackSetEnable/MediaStreamTrackSwitchCamera. * Use 'empty' function to check EncodableList/EncodableMap.
… value (flutter-webrtc#1319) * Fix transceiver's getCurrentDirection libwebrtc implementation wasn't calling `RTCRtpTransceiver::current_direction` * Remove useless lines
* feat: framecryptor. * update. * update. * update. * first working version for windows. * darwin. * update. * update. * feat: FrameCryptor for Darwin. * feat: frameCryptor for Android. * update. * (WIP 1/2) add framecryptor for flutter web. * (2/2) add framecryptor for flutter web. * update. * fix bug * fix KeyManager.setKey. * update. * fix h.264 picture freezing issue. * fix for iOS/macOS. * fix bug for androids. * update. * update so for linux. * fix compile error for linux. * update. * update. * update so fo linux. * support frame crypto state callback. * frame crypto state callback for android. * state callback for Darwin. * fix. * update. * Remove duplicate result calls. * fix. * update so/dll. * fix linux compile. * update. * update framecryptor for web. * Keep remoteStreams until pc is closed. * Update README.md * fix bug for safari. * update. * update. * update for key ratchet. * update. * update. * android. * update. * key ratchet for web. * update. * update. * chore: add key ratchet export. * update so/dll for win/linux. * bump xframeworks version. * update. * update. * rename KeyManager to KeyProvider. * update. * update. * bump xframework version. * android. * update.
…ling 1. Improve the track enable/disable event functionality in the flutter_webrtc library by incorporating additional event callbacks, allowing for better handling and increased versatility within the framework. Signed-off-by: qian peng <[email protected]>
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.
Improve the track enable/disable event functionality in the flutter_webrtc library by incorporating additional event callbacks, allowing for better handling and increased versatility within the framework.
Please note that this commit requires merging the related changes in the webrtc-interface repository to ensure proper implementation of the enhanced event handling.