tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

rtp_receiver_interface.cc (1519B)


      1 /*
      2 *  Copyright 2018 The WebRTC Project Authors. All rights reserved.
      3 *
      4 *  Use of this source code is governed by a BSD-style license
      5 *  that can be found in the LICENSE file in the root of the source
      6 *  tree. An additional intellectual property rights grant can be found
      7 *  in the file PATENTS.  All contributing project authors may
      8 *  be found in the AUTHORS file in the root of the source tree.
      9 */
     10 
     11 #include "api/rtp_receiver_interface.h"
     12 
     13 #include <string>
     14 #include <vector>
     15 
     16 #include "api/crypto/frame_decryptor_interface.h"
     17 #include "api/dtls_transport_interface.h"
     18 #include "api/frame_transformer_interface.h"
     19 #include "api/media_stream_interface.h"
     20 #include "api/scoped_refptr.h"
     21 #include "api/transport/rtp/rtp_source.h"
     22 
     23 namespace webrtc {
     24 
     25 std::vector<std::string> RtpReceiverInterface::stream_ids() const {
     26  return {};
     27 }
     28 
     29 std::vector<scoped_refptr<MediaStreamInterface>> RtpReceiverInterface::streams()
     30    const {
     31  return {};
     32 }
     33 
     34 std::vector<RtpSource> RtpReceiverInterface::GetSources() const {
     35  return {};
     36 }
     37 
     38 void RtpReceiverInterface::SetFrameDecryptor(
     39    scoped_refptr<FrameDecryptorInterface> /* frame_decryptor */) {}
     40 
     41 scoped_refptr<FrameDecryptorInterface> RtpReceiverInterface::GetFrameDecryptor()
     42    const {
     43  return nullptr;
     44 }
     45 
     46 scoped_refptr<DtlsTransportInterface> RtpReceiverInterface::dtls_transport()
     47    const {
     48  return nullptr;
     49 }
     50 
     51 void RtpReceiverInterface::SetFrameTransformer(
     52    scoped_refptr<FrameTransformerInterface> /* frame_transformer */) {}
     53 
     54 }  // namespace webrtc