Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
media_streaming_source_i.h
1//
2// Agora SDK
3// Copyright (c) 2019 Agora.io. All rights reserved.
4//
5// Created by xiaohua.lu in 2020-03.
6// CodeStyle: Google C++
7//
8
9#pragma once
10
11#include "IAgoraMediaStreamingSource.h"
12 // for agora::utils::worker_type
13
14
15
16 namespace agora {
17
18 namespace base {
19 class IAgoraService;
20} // namespace base
21
22 namespace rtc {
23
24 class IAudioEncodedFrameSender;
25 class IVideoEncodedImageSender;
26
27 class IMediaStreamingSourceEx : public IMediaStreamingSource {
28 protected:
29 virtual ~IMediaStreamingSourceEx() = default;
30
31 public:
32 static agora_refptr<IMediaStreamingSource> Create(base::IAgoraService *agora_service);
33
34 virtual agora_refptr<IAudioEncodedFrameSender> getEncodedAudioFrameSender() = 0;
35 virtual agora_refptr<IVideoEncodedImageSender> getEncodedVideoFrameSender() = 0;
36};
37
38} // namespace rtc
39} // namespace agora
agora::agora_refptr
Definition AgoraRefPtr.h:44
agora::base::IAgoraService
Definition IAgoraService.h:413
agora::rtc::IAudioEncodedFrameSender
Definition NGIAgoraMediaNode.h:277
agora::rtc::IMediaStreamingSourceEx
Definition media_streaming_source_i.h:27
agora::rtc::IMediaStreamingSourceEx::~IMediaStreamingSourceEx
virtual ~IMediaStreamingSourceEx()=default
agora::rtc::IMediaStreamingSourceEx::getEncodedVideoFrameSender
virtual agora_refptr< IVideoEncodedImageSender > getEncodedVideoFrameSender()=0
agora::rtc::IMediaStreamingSourceEx::getEncodedAudioFrameSender
virtual agora_refptr< IAudioEncodedFrameSender > getEncodedAudioFrameSender()=0
agora::rtc::IMediaStreamingSourceEx::Create
static agora_refptr< IMediaStreamingSource > Create(base::IAgoraService *agora_service)
agora::rtc::IMediaStreamingSource
The IMediaStreamingSource class provides access to a media streaming source demuxer....
Definition IAgoraMediaStreamingSource.h:97
agora::rtc::IVideoEncodedImageSender
Definition NGIAgoraMediaNode.h:470
agora::base
Definition IAgoraService.h:73
agora::rtc
Definition AgoraExtensions.h:5
agora
Definition AgoraAtomicOps.h:21