Skip to content

Conversation

Brazol
Copy link

@Brazol Brazol commented Oct 9, 2025

No description provided.

jawad1257 and others added 30 commits July 10, 2025 15:09
* Update frame cryptor symbol change

* Enable audio engine mode

* Observe device changes

* Lib to 125.6422.09

* Generated

* Update lib

* Update gitignore

* Re-apply gitignore
* Update frame cryptor symbol change

* Enable audio engine mode

* Observe device changes

* Lib to 125.6422.09

* Generated

* Update lib

* Update gitignore

* Re-apply gitignore

* Fix warnings
* add audio file renderer to MediaRecorderImpl.java using Claude Vibe Coding

* add audio file renderer to MediaRecorderImpl.java using Claude Vibe Coding

* add audio file renderer to MediaRecorderImpl.java using Claude Vibe Coding

* fixed duplicated line from previous commit

* audio record fixed

* remove wrong comment

---------

Co-authored-by: Aul16 <[email protected]>
…webrtc#1886)

* create new thread before releasing the renderer

* wait for the new thread to finish before passing the callback

* testing for android 14

* add null protection e countdown latch
* feat: Upgrade libwebrtc to m137.

* bump version for webrtc.

* update.

* update.

* update.

* update win dll.

* update linux so.

* fix lint.

* android.

* bump libwebrtc for android.

* Update build.gradle

* update.

* update.

* update.

* fix dart fmt.
* release: 1.0.0.

* Update CHANGELOG.md
…zes on low-end Android devices (flutter-webrtc#1900)

* add fallback resolutions

* add missing imports
Paired with flutter-webrtc/webrtc-interface#33
Tested on web with chrome, never tested other platforms but since
already presented Helper class do it can't see any problems with that. I
thought it's actually may be of use, can't imagine production ready app
without this functionality present clear where you expect it to find.

---------

Co-authored-by: mr.occultus <[email protected]>
…flutter-webrtc#1912)

This PR addresses two major issues related to recording:

- **Long delay when stopping the recording:** The timeout used in
dequeueOutputBuffer was set to 10 seconds, which caused significant
delays during stop. Reducing it to 1 second eliminated the issue
- **Frequent crashes due to MediaCodec out-of-memory errors:** The
encoder was crashing with the following error:

> E/MediaCodec(26452): Codec reported err 0xfffffff4/NO_MEMORY,
actionCode 0, while in state 5/STARTING
E/AndroidRuntime(26452): FATAL EXCEPTION: VideoFileRendererRenderThread
E/AndroidRuntime(26452): android.media.MediaCodec$CodecException: start
failed
E/AndroidRuntime(26452): at android.media.MediaCodec.native_start(Native
Method)
E/AndroidRuntime(26452): at
android.media.MediaCodec.start(MediaCodec.java:2322)
E/AndroidRuntime(26452): at
com.cloudwebrtc.webrtc.record.VideoFileRenderer.drainEncoder(VideoFileRenderer.java:232)
E/AndroidRuntime(26452): at
com.cloudwebrtc.webrtc.record.VideoFileRenderer.renderFrameOnRenderThread(VideoFileRenderer.java:171)
E/AndroidRuntime(26452): at
com.cloudwebrtc.webrtc.record.VideoFileRenderer.lambda$onFrame$1$com-cloudwebrtc-webrtc-record-VideoFileRenderer(VideoFileRenderer.java:156)

This was caused by missing configuration steps before calling start() on
the encoder. The issue was resolved by moving additional configuration
logic prior to starting the encoder.
for platforms:
- android
- macos
- ios
- linux - waiting for rtc_logger
- windows - waiting for rtc_logger

Co-authored-by: Igor Ponomarenko <[email protected]>
[1.1.0] - 2025-08-20

* [Apple/Android] feat: Add H265/HEVC support.
* [Mobile/Desktop] feat: Support write logs with Logger (logger package)
(flutter-webrtc#1891)
* [Android] fix: Reduce Recording Stop Delay and Prevent Encoder OOM
Crashes (Android) (flutter-webrtc#1912)
* [Native/Web] feat: small setVolume addition (flutter-webrtc#1904)
* [Web] feat: Add texture-based video rendering for web (flutter-webrtc#1911)
* [Android] fix: RECORDINGS - Add fallback resolutions for unsupported
stream frame sizes on low-end Android devices (flutter-webrtc#1900)
* [Android] fix: Update proguard-rules.pro (flutter-webrtc#1902)
…webrtc#1925)

Without this android app with ndk 28 isn't compiling and 16kb page
support is made mandatory by google as it is supported from ndk 28 this
minor fix makes app working again
startLocalRecording & stopLocalRecording for Darwin / Android
# Conflicts:
#	.gitignore
#	CHANGELOG.md
#	android/build.gradle
#	android/src/main/java/io/getstream/webrtc/flutter/FlutterDataPacketCryptor.java
#	android/src/main/java/io/getstream/webrtc/flutter/record/AudioFileRenderer.java
#	android/src/main/java/io/getstream/webrtc/flutter/record/EncoderConfig.java
#	common/cpp/src/flutter_webrtc.cc
#	common/darwin/Classes/FlutterWebRTCPlugin.m
#	example/android/settings.gradle
#	example/ios/Runner.xcodeproj/project.pbxproj
#	example/macos/Runner.xcodeproj/project.pbxproj
#	ios/stream_webrtc_flutter.podspec
#	lib/src/helper.dart
#	lib/src/native/factory_impl.dart
#	macos/stream_webrtc_flutter.podspec
#	pubspec.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.