Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9ddf680

Browse files
daniel-g-favoreto-oplrostopira
andauthored
Media recording changes (#31)
* [WIP] Add MediaRecorder for iOS and OSX Don't merge yet! Work in progress. PR will be ready soon. * Add rotation parameter and changeVideoTrack Those will be implemented soon * add album name * update albumName * review changes --------- Co-authored-by: Dima Rostopira <rostopiradv@gmail.com>
1 parent d516169 commit 9ddf680

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎lib/src/media_recorder.dart‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import 'media_stream.dart';
33
import 'media_stream_track.dart';
44

55
abstract class MediaRecorder {
6-
/// For Android use audioChannel param
7-
/// For iOS use audioTrack
6+
/// Starts recording to file at [path].
7+
/// Optionally, on Android choose [audioChannel] to record.
8+
/// On web platform use [startWeb] instead.
89
Future<void> start(
910
String path, {
1011
MediaStreamTrack? videoTrack,
@@ -19,5 +20,5 @@ abstract class MediaRecorder {
1920
int timeSlice = 1000,
2021
});
2122

22-
Future<dynamic> stop();
23+
Future<dynamic> stop({String? albumName});
2324
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /