Skip to content
Snippets Groups Projects
Commit 351856e7 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud
Browse files

recorder: subscribe to audio/video sources

Makes the MediaRecorder an observer on AudioInput, AudioReceiveThread,
VideoInput and VideoReceiveThread, so they no longer need a reference
to the recorder.

Makes sure the framerate is set for the recorder by adding a way to get
the stream parameters from the video receiver and input, since AVFrame
does not carry framerate and time base information.

Adds way to detach the recorder from the media sources, so it can be
reattached on subsequent records.

Change-Id: I71bac0825541f6445861f4f949288e1c62416f05
parent af39787f
Branches
No related tags found
No related merge requests found
Showing
with 195 additions and 213 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment