pbos@webrtc.org
c11148b352
Compound/reduced-size RTCP in VideoReceiveStream.
...
BUG=2424
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2413004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4987 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-17 14:14:42 +00:00
sprang@webrtc.org
25fce9adc5
Fixed issue with how MTU is calculated.
...
BUG=
R=holmer@google.com , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2410004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4976 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-16 13:29:14 +00:00
sprang@webrtc.org
5d957e29f7
Wired up max packet size and added simple test.
...
BUG=2428
R=mflodman@webrtc.org , pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2384004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4973 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-16 11:37:54 +00:00
pbos@webrtc.org
9b5c807272
Remove ReturnTrace from DeregisterCallback().
...
Should fix deadlock on build bots. Before, TraceImpl called
TraceDispatcher::Print, while TraceDispatcher::Deregister called
TraceImpl through VideoEngine::SetTraceCallback. This violates locking
order as both take their own locks.
BUG=2421
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2340005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4905 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-02 16:22:18 +00:00
pbos@webrtc.org
de74b64184
Implement TraceCallbacks in Call.
...
Uses a global TraceDispatcher in Call. Lazy initialization of it misses
an atomic compare and exchange to be correct. This is expected to work
fine so long as no Calls are created concurrently.
BUG=2421
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2321005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4900 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-02 13:36:09 +00:00
pbos@webrtc.org
b74b96f487
Test multiple send/receive streams in Call.
...
Removes renderer in VideoReceiveStream as it wasn't properly
deregistered before. Makes sure that send/receive streams are properly
wired so that receive streams receive the expected stream.
BUG=2423
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2326004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4891 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-01 11:33:24 +00:00
pbos@webrtc.org
0e63e76781
Enable FEC for VideoSendStream.
...
Test only checks for FEC without NACK. Test for FEC with NACK postponed
until later.
BUG=2230
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2246004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4802 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-20 11:56:26 +00:00
pbos@webrtc.org
e75a1bf45f
Break out glue for old->new Transport.
...
Reduces multiple inheritance and code duplication.
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2239004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4774 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-18 11:52:42 +00:00
pbos@webrtc.org
5860de02aa
Implement NACK over RTX for VideoSendStream.
...
BUG=2231
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2197008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4751 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-16 13:01:47 +00:00
pbos@webrtc.org
5c678eabd9
Implement 'abs-send-time' extension in VideoSendStream.
...
BUG=2229
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2184010
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4727 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-11 19:00:39 +00:00
pbos@webrtc.org
2902328cce
Implement 'toffset' extension in VideoSendStream.
...
BUG=2229
R=holmer@google.com , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2199004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4722 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-11 10:14:56 +00:00
pbos@webrtc.org
841c8a44bb
Rename VideoCall to Call.
...
Call should encompass more than video, there's no point in calling it
VideoCall.
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2191005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4704 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-09 15:04:25 +00:00
pbos@webrtc.org
0181b5f8dd
ExternalVideoDecoder for new VideoEngine API.
...
Implements the ExternalVideoDecoder interface for VideoReceiveStream.
Also adds a FakeDecoder used in tests, removing the overhead of running
the EngineTest tests with VP8 under Memcheck/TSan, allowing us to enable
them under Memcheck/TSan as well.
BUG=2346,2312
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2172004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4702 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-09 08:26:30 +00:00
pbos@webrtc.org
95e51f509c
Remove send and receive streams when destroyed.
...
Fixes crash where packets were sent to a receive stream that had been
destroyed but not removed from the ssrc mapping from call to receiver.
Added a repro case that reliably crashed before the fix.
BUG=
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2161007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4681 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-05 12:38:54 +00:00
pbos@webrtc.org
74fa4893f9
Remove newapi:: namespace for typenames without overlap.
...
Typing newapi:: everywhere is very verbose, and doesn't add any real
value. The new API is still separated from other code by being in
separate directories, such as internal/ or new_include.
BUG=
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2075004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4601 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-23 09:19:30 +00:00
pbos@webrtc.org
013d994583
Enabling and testing RTCP CNAME in new API.
...
BUG=2232
R=holmer@google.com , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2076004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4592 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-22 09:42:17 +00:00
stefan@webrtc.org
360e376872
Adds two tests for verifying padding and ramp-up behavior.
...
BUG=1837
R=pbos@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2073004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4591 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-22 09:29:56 +00:00
pbos@webrtc.org
e7f056ec45
Implementation and testing of PLI in new API.
...
BUG=2174
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2011004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4567 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-19 16:09:34 +00:00
pbos@webrtc.org
3d0019f09a
Remove ViEBase::Init() call from VideoCall.
...
ViEBase::Init() is a no-op in the current implementation. Keeping it
there is just confusing.
BUG=
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2029004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4544 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-14 14:27:11 +00:00
pbos@webrtc.org
fd39e13c80
Remove VideoEngine class from new VideoEngine API.
...
The VideoEngine class had minimal use, so it makes more sense to bake
its functionality and config into VideoCall for a simpler API. The only
thing the VideoEngine class could do was to create VideoCalls.
BUG=2224
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2020004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4543 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-14 13:52:52 +00:00
wu@webrtc.org
9dba525627
* Update libjingle to 50389769.
...
* Together with "Add texture support for i420 video frame." from
wuchengli@chromium.org .
https://webrtc-codereview.appspot.com/1413004
RISK=P1
TESTED=try bots
R=fischman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1967004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4489 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-05 20:36:57 +00:00
pbos@webrtc.org
12dc1a38ca
Switch C++-style C headers with their C equivalents.
...
The C++ headers define the C functions within the std:: namespace, but
we mainly don't use the std:: namespace for C functions. Therefore we
should include the C headers.
BUG=1833
R=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1917004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4486 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-05 16:22:53 +00:00
pbos@webrtc.org
ccdcbae177
Fix implicit int->bool conversion in VideoSendStream::DeliverRtcp.
...
BUG=
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1963004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4484 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-05 13:25:51 +00:00
pbos@webrtc.org
4052370e89
Use RtpHeaderParser in VideoCall implementation.
...
BUG=1827
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1962004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4483 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-05 12:49:22 +00:00
pbos@webrtc.org
bbb07e69e5
Glue code and tests for NACK in new VideoEngine API.
...
The test works by randomly dropping small bursts of packets until enough
NACKs have been sent back by the receiver. Retransmitted packets are
never dropped in order to assure that all packets are eventually
delivered. When enough NACK packets have been received and all dropped
packets retransmitted, the test waits for the receiving side to send a
number of RTCP packets without NACK lists to assure that the receiving
side stops sending NACKs once packets have been retransmitted.
BUG=2043
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1934004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4482 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-05 12:01:36 +00:00
mflodman@webrtc.org
6879c8adad
Hooking up first simple CPU adaptation version.
...
BUG=
R=pbos@webrtc.org , stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1767004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4384 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-23 11:35:00 +00:00
pbos@webrtc.org
af8d5afec9
Initial port of FullStackTest to new VideoEngine API.
...
Deferring network loss, delay and such to a later CL.
BUG=1872
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1756004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4310 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-09 08:02:33 +00:00
pbos@webrtc.org
1819fd711a
RW lock access to ssrc maps in VideoCall.
...
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1640004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4202 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-10 13:48:26 +00:00
pbos@webrtc.org
025f4f152b
Stats+Config moved into VideoSend/ReceiveStreams.
...
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1561006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4182 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-05 11:33:21 +00:00
stefan@webrtc.org
a5cb98cbbd
Breaking out RTP header parsing from the RTP module.
...
This is the first step in order to move bandwidth estimation closer to the network. The goal is to have RTP header parsing and bandwidth estimation before voice and video engine, and have a joint estimate for audio and video.
Moving bandwidth estimation before the RTP module is also required for RTX.
TEST=vie_auto_test, voe_auto_test, trybots.
BUG=1811
R=andresp@webrtc.org , henrika@webrtc.org , mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1545004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4129 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-29 12:12:51 +00:00
pbos@webrtc.org
1ecee9a15a
Break video_engine/new_include/common.h into smaller parts.
...
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1571005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4128 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-29 11:34:32 +00:00
pbos@webrtc.org
9b30348cfc
FrameGenerator class for future fake capture device.
...
BUG=
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1511004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4093 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-23 12:37:11 +00:00
pbos@webrtc.org
f5d4cb1958
Include files from webrtc/.. paths in video_engine/
...
BUG=1662
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1492004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4056 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-17 13:44:48 +00:00
pbos@webrtc.org
29d5839233
New VideoEngine API implementation on top of old one, first steps.
...
BUG=1668
R=mflodman@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1360004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4044 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-16 12:08:03 +00:00