• Philippe Gorley's avatar
    recorder: refactor and simplify · f1088fa8
    Philippe Gorley authored
    1. Adds constness to streams in MediaRecorder; the latter shouldn't change
    stream parameters.
    2. addStream is called from recordData to simplify workflow; users need
    only check that MediaRecorder is recording.
    3. Fixes regression where multiple records couldn't happen in the same
    call.
    4. Fixes AudioSender not sending starting timestamp to help mix audio.
    5. MediaStream::name is now used as key for the streams_ map, so it must
    be constant, filter names are no longer hardcoded in the recorder.
    6. fromPeer parameter is determined by checking if MediaStream::name
    contains the string "remote".
    7. Adds copy constructor to MediaStream.
    8. Renames incrementStreams to incrementExpectedStreams to better reflect
    what it does.
    9. Removes keyframe triggers when starting a video record; we are
    recording raw frames, so it doesn't matter if they're keyframes or not.
    10. MediaRecorder supports more than 2 audio streams, but not video.
    11. Move preview to very bottom right corner.
    12. Fix potential Unchecked Return Value to NULL Pointer Dereference in
    recordData() (CWE-690).
    
    Gitlab: #39
    
    Change-Id: Id2fae4e9bb2072994c065e4843cc3ad832f89efc
    f1088fa8
Name
Last commit
Last update
MSVC Loading commit data...
bin Loading commit data...
contrib Loading commit data...
doc Loading commit data...
docker Loading commit data...
extras/tools Loading commit data...
m4 Loading commit data...
man Loading commit data...
ringtones Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
AUTHORS Loading commit data...
CODING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
astylerc Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
globals.mk Loading commit data...