Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: talk/app/webrtc/peerconnectionproxy.h

Issue 1351803002: Exposing RtpSenders and RtpReceivers from PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Adding some stubs so that Chromium build won't break. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/app/webrtc/rtpreceiver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 25 matching lines...) Expand all
36 // Define proxy for PeerConnectionInterface. 36 // Define proxy for PeerConnectionInterface.
37 BEGIN_PROXY_MAP(PeerConnection) 37 BEGIN_PROXY_MAP(PeerConnection)
38 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, 38 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>,
39 local_streams) 39 local_streams)
40 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>, 40 PROXY_METHOD0(rtc::scoped_refptr<StreamCollectionInterface>,
41 remote_streams) 41 remote_streams)
42 PROXY_METHOD1(bool, AddStream, MediaStreamInterface*) 42 PROXY_METHOD1(bool, AddStream, MediaStreamInterface*)
43 PROXY_METHOD1(void, RemoveStream, MediaStreamInterface*) 43 PROXY_METHOD1(void, RemoveStream, MediaStreamInterface*)
44 PROXY_METHOD1(rtc::scoped_refptr<DtmfSenderInterface>, 44 PROXY_METHOD1(rtc::scoped_refptr<DtmfSenderInterface>,
45 CreateDtmfSender, AudioTrackInterface*) 45 CreateDtmfSender, AudioTrackInterface*)
46 PROXY_CONSTMETHOD0(std::vector<rtc::scoped_refptr<RtpSenderInterface>>,
47 GetSenders)
48 PROXY_CONSTMETHOD0(std::vector<rtc::scoped_refptr<RtpReceiverInterface>>,
49 GetReceivers)
46 PROXY_METHOD3(bool, GetStats, StatsObserver*, 50 PROXY_METHOD3(bool, GetStats, StatsObserver*,
47 MediaStreamTrackInterface*, 51 MediaStreamTrackInterface*,
48 StatsOutputLevel) 52 StatsOutputLevel)
49 PROXY_METHOD2(rtc::scoped_refptr<DataChannelInterface>, 53 PROXY_METHOD2(rtc::scoped_refptr<DataChannelInterface>,
50 CreateDataChannel, const std::string&, const DataChannelInit*) 54 CreateDataChannel, const std::string&, const DataChannelInit*)
51 PROXY_CONSTMETHOD0(const SessionDescriptionInterface*, local_description) 55 PROXY_CONSTMETHOD0(const SessionDescriptionInterface*, local_description)
52 PROXY_CONSTMETHOD0(const SessionDescriptionInterface*, remote_description) 56 PROXY_CONSTMETHOD0(const SessionDescriptionInterface*, remote_description)
53 PROXY_METHOD2(void, CreateOffer, CreateSessionDescriptionObserver*, 57 PROXY_METHOD2(void, CreateOffer, CreateSessionDescriptionObserver*,
54 const MediaConstraintsInterface*) 58 const MediaConstraintsInterface*)
55 PROXY_METHOD2(void, CreateAnswer, CreateSessionDescriptionObserver*, 59 PROXY_METHOD2(void, CreateAnswer, CreateSessionDescriptionObserver*,
56 const MediaConstraintsInterface*) 60 const MediaConstraintsInterface*)
57 PROXY_METHOD2(void, SetLocalDescription, SetSessionDescriptionObserver*, 61 PROXY_METHOD2(void, SetLocalDescription, SetSessionDescriptionObserver*,
58 SessionDescriptionInterface*) 62 SessionDescriptionInterface*)
59 PROXY_METHOD2(void, SetRemoteDescription, SetSessionDescriptionObserver*, 63 PROXY_METHOD2(void, SetRemoteDescription, SetSessionDescriptionObserver*,
60 SessionDescriptionInterface*) 64 SessionDescriptionInterface*)
61 PROXY_METHOD2(bool, UpdateIce, const IceServers&, 65 PROXY_METHOD2(bool, UpdateIce, const IceServers&,
62 const MediaConstraintsInterface*) 66 const MediaConstraintsInterface*)
63 PROXY_METHOD1(bool, AddIceCandidate, const IceCandidateInterface*) 67 PROXY_METHOD1(bool, AddIceCandidate, const IceCandidateInterface*)
64 PROXY_METHOD1(void, RegisterUMAObserver, UMAObserver*) 68 PROXY_METHOD1(void, RegisterUMAObserver, UMAObserver*)
65 PROXY_METHOD0(SignalingState, signaling_state) 69 PROXY_METHOD0(SignalingState, signaling_state)
66 PROXY_METHOD0(IceState, ice_state) 70 PROXY_METHOD0(IceState, ice_state)
67 PROXY_METHOD0(IceConnectionState, ice_connection_state) 71 PROXY_METHOD0(IceConnectionState, ice_connection_state)
68 PROXY_METHOD0(IceGatheringState, ice_gathering_state) 72 PROXY_METHOD0(IceGatheringState, ice_gathering_state)
69 PROXY_METHOD0(void, Close) 73 PROXY_METHOD0(void, Close)
70 END_PROXY() 74 END_PROXY()
71 75
72 } // namespace webrtc 76 } // namespace webrtc
73 77
74 #endif // TALK_APP_WEBRTC_PEERCONNECTIONPROXY_H_ 78 #endif // TALK_APP_WEBRTC_PEERCONNECTIONPROXY_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/app/webrtc/rtpreceiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698