-
- Downloads
encoder: cleanup and simplify
Cleans up the encoder a bit and removes methods that weren't used or did nothing. In any case, it should not be the encoder's responsibility to mute audio/video. Removes direct accesses to private data. All these options are accessible through the av_opt_* API with the AV_OPT_SEARCH_CHILDREN flag. Adding streams to the encoder is now done separately than opening an RTP output in an effort to streamline the encoder setup (file vs RTP). Change-Id: I7a868d098fa942697cfbe3246f368fb9fc7bfb0f
Showing
- src/media/audio/audio_sender.cpp 5 additions, 5 deletionssrc/media/audio/audio_sender.cpp
- src/media/media_encoder.cpp 66 additions, 97 deletionssrc/media/media_encoder.cpp
- src/media/media_encoder.h 5 additions, 14 deletionssrc/media/media_encoder.h
- src/media/media_recorder.cpp 3 additions, 3 deletionssrc/media/media_recorder.cpp
- src/media/video/video_sender.cpp 5 additions, 9 deletionssrc/media/video/video_sender.cpp
- src/media/video/video_sender.h 0 additions, 1 deletionsrc/media/video/video_sender.h
- test/unitTest/media/test_media_encoder.cpp 3 additions, 3 deletionstest/unitTest/media/test_media_encoder.cpp
Loading
Please register or sign in to comment