This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* libjingle | |
* Copyright 2012, Google Inc. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* 2. Redistributions in binary form must reproduce the above copyright notice, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bits = 16; | |
var channels = 1; | |
var sampleRate = 8000; | |
var sampleSize = bits / 8 * channels; | |
var frameSamples = sampleRate / 100; // RTC accepts only 10ms frames so sample rate/1000ms * 10 | |
var duration = 100; // Jitter buffer cache, it should be multiple of 10s | |
var processDelay = 0; | |
var renderedTime = 0L; | |
var syncTime = Stopwatch.StartNew(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "audiorenderer.h" | |
#include "videorenderer.h" | |
#include "audiocapturemodule.h" | |
#include "yuvframecapture.h" | |
#include "conductor.h" | |
#include "webrtc/api/test/fakeconstraints.h" | |
#include "webrtc/video_encoder.h" | |
#include "webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h" |