Skip to content

Commit

Permalink
android: simplified code
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Nov 9, 2021
1 parent de0708b commit d93dd7d
Show file tree
Hide file tree
Showing 2 changed files with 191 additions and 262 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@ void getUserMedia(
final ReadableMap constraints,
final Callback successCallback,
final Callback errorCallback) {
// TODO: change getUserMedia constraints format to support new syntax
// constraint format seems changed, and there is no mandatory any more.
// and has a new syntax/attrs to specify resolution
// should change `parseConstraints()` according
// see: https://www.w3.org/TR/mediacapture-streams/#idl-def-MediaTrackConstraints

AudioTrack audioTrack = null;
VideoTrack videoTrack = null;
Expand Down
Loading

0 comments on commit d93dd7d

Please sign in to comment.