webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::AndroidVideoTrackSource Class Reference

#include <androidvideotracksource.h>

Inheritance diagram for webrtc::AndroidVideoTrackSource:
rtc::AdaptedVideoTrackSource rtc::AdaptedVideoTrackSource webrtc::Notifier< webrtc::VideoTrackSourceInterface > webrtc::Notifier< webrtc::VideoTrackSourceInterface > webrtc::Notifier< webrtc::VideoTrackSourceInterface > webrtc::Notifier< webrtc::VideoTrackSourceInterface > webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface

Public Member Functions

 AndroidVideoTrackSource (rtc::Thread *signaling_thread, JNIEnv *jni, jobject j_egl_context, bool is_screencast=false)
 
bool is_screencast () const override
 
rtc::Optional< bool > needs_denoising () const override
 
void SetState (SourceState state)
 
SourceState state () const override
 
bool remote () const override
 
void OnByteBufferFrameCaptured (const void *frame_data, int length, int width, int height, int rotation, int64_t timestamp_ns)
 
void OnTextureFrameCaptured (int width, int height, int rotation, int64_t timestamp_ns, const webrtc_jni::NativeHandleImpl &handle)
 
void OnOutputFormatRequest (int width, int height, int fps)
 
rtc::scoped_refptr< webrtc_jni::SurfaceTextureHelpersurface_texture_helper ()
 
 AndroidVideoTrackSource (rtc::Thread *signaling_thread, JNIEnv *jni, jobject j_egl_context, bool is_screencast=false)
 
bool is_screencast () const override
 
rtc::Optional< bool > needs_denoising () const override
 
void SetState (SourceState state)
 
SourceState state () const override
 
bool remote () const override
 
void OnByteBufferFrameCaptured (const void *frame_data, int length, int width, int height, int rotation, int64_t timestamp_ns)
 
void OnTextureFrameCaptured (int width, int height, int rotation, int64_t timestamp_ns, const webrtc_jni::NativeHandleImpl &handle)
 
void OnOutputFormatRequest (int width, int height, int fps)
 
rtc::scoped_refptr< webrtc_jni::SurfaceTextureHelpersurface_texture_helper ()
 
- Public Member Functions inherited from rtc::AdaptedVideoTrackSource
 AdaptedVideoTrackSource ()
 
 AdaptedVideoTrackSource ()
 
- Public Member Functions inherited from webrtc::Notifier< webrtc::VideoTrackSourceInterface >
 Notifier ()
 
 Notifier ()
 
virtual void RegisterObserver (ObserverInterface *observer)
 
virtual void RegisterObserver (ObserverInterface *observer)
 
virtual void UnregisterObserver (ObserverInterface *observer)
 
virtual void UnregisterObserver (ObserverInterface *observer)
 
void FireOnChanged ()
 
void FireOnChanged ()
 
- Public Member Functions inherited from rtc::RefCountInterface
virtual int AddRef () const =0
 
virtual int Release () const =0
 
virtual int AddRef () const =0
 
virtual int Release () const =0
 
- Public Member Functions inherited from webrtc::NotifierInterface
virtual ~NotifierInterface ()
 
virtual ~NotifierInterface ()
 
- Public Member Functions inherited from rtc::VideoSourceInterface< VideoFrame >
virtual void AddOrUpdateSink (VideoSinkInterface< VideoFrame > *sink, const VideoSinkWants &wants)=0
 
virtual void AddOrUpdateSink (VideoSinkInterface< VideoFrame > *sink, const VideoSinkWants &wants)=0
 
virtual void RemoveSink (VideoSinkInterface< VideoFrame > *sink)=0
 
virtual void RemoveSink (VideoSinkInterface< VideoFrame > *sink)=0
 

Additional Inherited Members

- Public Types inherited from webrtc::MediaSourceInterface
enum  SourceState {
  kInitializing, kLive, kEnded, kMuted,
  kInitializing, kLive, kEnded, kMuted
}
 
enum  SourceState {
  kInitializing, kLive, kEnded, kMuted,
  kInitializing, kLive, kEnded, kMuted
}
 
- Protected Member Functions inherited from rtc::AdaptedVideoTrackSource
 AdaptedVideoTrackSource (int required_alignment)
 
void OnFrame (const webrtc::VideoFrame &frame)
 
bool AdaptFrame (int width, int height, int64_t time_us, int *out_width, int *out_height, int *crop_width, int *crop_height, int *crop_x, int *crop_y)
 
bool apply_rotation ()
 
cricket::VideoAdaptervideo_adapter ()
 
 AdaptedVideoTrackSource (int required_alignment)
 
void OnFrame (const webrtc::VideoFrame &frame)
 
bool AdaptFrame (int width, int height, int64_t time_us, int *out_width, int *out_height, int *crop_width, int *crop_height, int *crop_x, int *crop_y)
 
bool apply_rotation ()
 
cricket::VideoAdaptervideo_adapter ()
 
- Protected Member Functions inherited from webrtc::VideoTrackSourceInterface
virtual ~VideoTrackSourceInterface ()
 
virtual ~VideoTrackSourceInterface ()
 
- Protected Member Functions inherited from webrtc::MediaSourceInterface
virtual ~MediaSourceInterface ()
 
virtual ~MediaSourceInterface ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 
- Protected Member Functions inherited from rtc::VideoSourceInterface< VideoFrame >
virtual ~VideoSourceInterface ()
 
virtual ~VideoSourceInterface ()
 
- Protected Attributes inherited from webrtc::Notifier< webrtc::VideoTrackSourceInterface >
std::list< ObserverInterface *> observers_
 

Constructor & Destructor Documentation

◆ AndroidVideoTrackSource() [1/2]

webrtc::AndroidVideoTrackSource::AndroidVideoTrackSource ( rtc::Thread signaling_thread,
JNIEnv *  jni,
jobject  j_egl_context,
bool  is_screencast = false 
)

◆ AndroidVideoTrackSource() [2/2]

webrtc::AndroidVideoTrackSource::AndroidVideoTrackSource ( rtc::Thread signaling_thread,
JNIEnv *  jni,
jobject  j_egl_context,
bool  is_screencast = false 
)

Member Function Documentation

◆ is_screencast() [1/2]

bool webrtc::AndroidVideoTrackSource::is_screencast ( ) const
inlineoverridevirtual

◆ is_screencast() [2/2]

bool webrtc::AndroidVideoTrackSource::is_screencast ( ) const
inlineoverridevirtual

◆ needs_denoising() [1/2]

rtc::Optional<bool> webrtc::AndroidVideoTrackSource::needs_denoising ( ) const
inlineoverridevirtual

◆ needs_denoising() [2/2]

rtc::Optional<bool> webrtc::AndroidVideoTrackSource::needs_denoising ( ) const
inlineoverridevirtual

◆ OnByteBufferFrameCaptured() [1/2]

void webrtc::AndroidVideoTrackSource::OnByteBufferFrameCaptured ( const void frame_data,
int  length,
int  width,
int  height,
int  rotation,
int64_t  timestamp_ns 
)

◆ OnByteBufferFrameCaptured() [2/2]

void webrtc::AndroidVideoTrackSource::OnByteBufferFrameCaptured ( const void frame_data,
int  length,
int  width,
int  height,
int  rotation,
int64_t  timestamp_ns 
)

◆ OnOutputFormatRequest() [1/2]

void webrtc::AndroidVideoTrackSource::OnOutputFormatRequest ( int  width,
int  height,
int  fps 
)

◆ OnOutputFormatRequest() [2/2]

void webrtc::AndroidVideoTrackSource::OnOutputFormatRequest ( int  width,
int  height,
int  fps 
)

◆ OnTextureFrameCaptured() [1/2]

void webrtc::AndroidVideoTrackSource::OnTextureFrameCaptured ( int  width,
int  height,
int  rotation,
int64_t  timestamp_ns,
const webrtc_jni::NativeHandleImpl handle 
)

◆ OnTextureFrameCaptured() [2/2]

void webrtc::AndroidVideoTrackSource::OnTextureFrameCaptured ( int  width,
int  height,
int  rotation,
int64_t  timestamp_ns,
const webrtc_jni::NativeHandleImpl handle 
)

◆ remote() [1/2]

bool webrtc::AndroidVideoTrackSource::remote ( ) const
inlineoverridevirtual

◆ remote() [2/2]

bool webrtc::AndroidVideoTrackSource::remote ( ) const
inlineoverridevirtual

◆ SetState() [1/2]

void webrtc::AndroidVideoTrackSource::SetState ( SourceState  state)

◆ SetState() [2/2]

void webrtc::AndroidVideoTrackSource::SetState ( SourceState  state)

◆ state() [1/2]

SourceState webrtc::AndroidVideoTrackSource::state ( ) const
inlineoverridevirtual

◆ state() [2/2]

SourceState webrtc::AndroidVideoTrackSource::state ( ) const
inlineoverridevirtual

◆ surface_texture_helper() [1/2]

rtc::scoped_refptr<webrtc_jni::SurfaceTextureHelper> webrtc::AndroidVideoTrackSource::surface_texture_helper ( )
inline

◆ surface_texture_helper() [2/2]

rtc::scoped_refptr<webrtc_jni::SurfaceTextureHelper> webrtc::AndroidVideoTrackSource::surface_texture_helper ( )
inline

The documentation for this class was generated from the following files: