This enables PeerConnection tests to use LoopbackMediaTransport to test data-channel-over-media-transport code. Also changes LoopbackMediaTransport to invoke callbacks asynchronously. This is more accurate, as these callbacks are triggered by network events. The caller should not block while the callback executes. Since LoopbackMediaTransport is used for testing, it provides a FlushAsyncInvokes() method which may be used to ensure that callbacks occur deterministically (eg. before checking that data has been received). Bug: webrtc:9719 Change-Id: Ib8ea9aebf4a0ad3d5934a6fe4ab33432c68523fd Tbr: stefan@webrtc.org Reviewed-on: https://webrtc-review.googlesource.com/c/109060 Commit-Queue: Bjorn Mellem <mellem@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25489}
14 lines
234 B
Python
14 lines
234 B
Python
specific_include_rules = {
|
|
".*": [
|
|
"+modules/video_coding",
|
|
],
|
|
".*": [
|
|
"+video"
|
|
],
|
|
"loopback_media_transport\.h": [
|
|
"+rtc_base/asyncinvoker.h",
|
|
"+rtc_base/criticalsection.h",
|
|
"+rtc_base/thread.h",
|
|
],
|
|
}
|