};
VcmPayloadSinkFactory::VcmPayloadSinkFactory(
- const std::string& base_out_filename, Clock* clock, bool protection_enabled,
- VCMVideoProtection protection_method, uint32_t rtt_ms,
- uint32_t render_delay_ms, uint32_t min_playout_delay_ms)
+ const std::string& base_out_filename,
+ Clock* clock,
+ bool protection_enabled,
+ VCMVideoProtection protection_method,
+ uint32_t rtt_ms,
+ uint32_t render_delay_ms,
+ uint32_t min_playout_delay_ms)
: base_out_filename_(base_out_filename),
clock_(clock),
protection_enabled_(protection_enabled),
min_playout_delay_ms_(min_playout_delay_ms),
null_event_factory_(new NullEventFactory()),
crit_sect_(CriticalSectionWrapper::CreateCriticalSection()),
- sinks_(),
- next_id_(1) {
+ sinks_() {
assert(clock);
assert(crit_sect_.get());
}
CriticalSectionScoped cs(crit_sect_.get());
scoped_ptr<VideoCodingModule> vcm(
- VideoCodingModule::Create(next_id_++, clock_, null_event_factory_.get()));
+ VideoCodingModule::Create(clock_, null_event_factory_.get()));
if (vcm.get() == NULL) {
return NULL;
}