|
| | VideoCodecConfigObserver (VideoCodecType video_codec_type, const char *codec_name) |
| |
| | SendTest (unsigned int timeout_ms) |
| |
| bool | ShouldCreateReceivers () const override |
| |
| | SendTest (unsigned int timeout_ms) |
| |
| bool | ShouldCreateReceivers () const override |
| |
| | BaseTest (unsigned int timeout_ms) |
| |
| virtual | ~BaseTest () |
| |
| virtual size_t | GetNumVideoStreams () const |
| |
| virtual size_t | GetNumAudioStreams () const |
| |
| virtual size_t | GetNumFlexfecStreams () const |
| |
| virtual Call::Config | GetSenderCallConfig () |
| |
| virtual Call::Config | GetReceiverCallConfig () |
| |
| virtual void | OnCallsCreated (Call *sender_call, Call *receiver_call) |
| |
| virtual test::PacketTransport * | CreateSendTransport (Call *sender_call) |
| |
| virtual test::PacketTransport * | CreateReceiveTransport () |
| |
| virtual void | ModifyVideoCaptureStartResolution (int *width, int *heigt, int *frame_rate) |
| |
| virtual void | ModifyAudioConfigs (AudioSendStream::Config *send_config, std::vector< AudioReceiveStream::Config > *receive_configs) |
| |
| virtual void | OnAudioStreamsCreated (AudioSendStream *send_stream, const std::vector< AudioReceiveStream *> &receive_streams) |
| |
| virtual void | ModifyFlexfecConfigs (std::vector< FlexfecReceiveStream::Config > *receive_configs) |
| |
| virtual void | OnFlexfecStreamsCreated (const std::vector< FlexfecReceiveStream *> &receive_streams) |
| |
| virtual void | OnFrameGeneratorCapturerCreated (FrameGeneratorCapturer *frame_generator_capturer) |
| |
| | BaseTest (unsigned int timeout_ms) |
| |
| virtual | ~BaseTest () |
| |
| virtual size_t | GetNumVideoStreams () const |
| |
| virtual size_t | GetNumAudioStreams () const |
| |
| virtual size_t | GetNumFlexfecStreams () const |
| |
| virtual Call::Config | GetSenderCallConfig () |
| |
| virtual Call::Config | GetReceiverCallConfig () |
| |
| virtual void | OnCallsCreated (Call *sender_call, Call *receiver_call) |
| |
| virtual test::PacketTransport * | CreateSendTransport (Call *sender_call) |
| |
| virtual test::PacketTransport * | CreateReceiveTransport () |
| |
| virtual void | ModifyVideoCaptureStartResolution (int *width, int *heigt, int *frame_rate) |
| |
| virtual void | ModifyAudioConfigs (AudioSendStream::Config *send_config, std::vector< AudioReceiveStream::Config > *receive_configs) |
| |
| virtual void | OnAudioStreamsCreated (AudioSendStream *send_stream, const std::vector< AudioReceiveStream *> &receive_streams) |
| |
| virtual void | ModifyFlexfecConfigs (std::vector< FlexfecReceiveStream::Config > *receive_configs) |
| |
| virtual void | OnFlexfecStreamsCreated (const std::vector< FlexfecReceiveStream *> &receive_streams) |
| |
| virtual void | OnFrameGeneratorCapturerCreated (FrameGeneratorCapturer *frame_generator_capturer) |
| |
| virtual | ~RtpRtcpObserver () |
| |
| virtual bool | Wait () |
| |
| virtual Action | OnSendRtp (const uint8_t *packet, size_t length) |
| |
| virtual Action | OnSendRtcp (const uint8_t *packet, size_t length) |
| |
| virtual Action | OnReceiveRtp (const uint8_t *packet, size_t length) |
| |
| virtual Action | OnReceiveRtcp (const uint8_t *packet, size_t length) |
| |
| virtual | ~RtpRtcpObserver () |
| |
| virtual bool | Wait () |
| |
| virtual Action | OnSendRtp (const uint8_t *packet, size_t length) |
| |
| virtual Action | OnSendRtcp (const uint8_t *packet, size_t length) |
| |
| virtual Action | OnReceiveRtp (const uint8_t *packet, size_t length) |
| |
| virtual Action | OnReceiveRtcp (const uint8_t *packet, size_t length) |
| |
| | FakeEncoder (Clock *clock) |
| |
| virtual | ~FakeEncoder ()=default |
| |
| void | SetMaxBitrate (int max_kbps) |
| |
| int32_t | RegisterEncodeCompleteCallback (EncodedImageCallback *callback) override |
| |
| int32_t | Release () override |
| |
| int32_t | SetChannelParameters (uint32_t packet_loss, int64_t rtt) override |
| |
| int32_t | SetRateAllocation (const BitrateAllocation &rate_allocation, uint32_t framerate) override |
| |
| const char * | ImplementationName () const override |
| |
| | FakeEncoder (Clock *clock) |
| |
| virtual | ~FakeEncoder ()=default |
| |
| void | SetMaxBitrate (int max_kbps) |
| |
| int32_t | RegisterEncodeCompleteCallback (EncodedImageCallback *callback) override |
| |
| int32_t | Release () override |
| |
| int32_t | SetChannelParameters (uint32_t packet_loss, int64_t rtt) override |
| |
| int32_t | SetRateAllocation (const BitrateAllocation &rate_allocation, uint32_t framerate) override |
| |
| const char * | ImplementationName () const override |
| |
| virtual | ~VideoEncoder () |
| |
| virtual int32_t | SetRates (uint32_t bitrate, uint32_t framerate) |
| |
| virtual ScalingSettings | GetScalingSettings () const |
| |
| virtual int32_t | SetPeriodicKeyFrames (bool enable) |
| |
| virtual bool | SupportsNativeHandle () const |
| |
| virtual | ~VideoEncoder () |
| |
| virtual int32_t | SetRates (uint32_t bitrate, uint32_t framerate) |
| |
| virtual ScalingSettings | GetScalingSettings () const |
| |
| virtual int32_t | SetPeriodicKeyFrames (bool enable) |
| |
| virtual bool | SupportsNativeHandle () const |
| |
|
| enum | Action { SEND_PACKET,
DROP_PACKET,
SEND_PACKET,
DROP_PACKET
} |
| |
| enum | Action { SEND_PACKET,
DROP_PACKET,
SEND_PACKET,
DROP_PACKET
} |
| |
| enum | EncoderType {
kH264,
kVp8,
kVp9,
kUnsupportedCodec,
kH264,
kVp8,
kVp9,
kUnsupportedCodec
} |
| |
| enum | EncoderType {
kH264,
kVp8,
kVp9,
kUnsupportedCodec,
kH264,
kVp8,
kVp9,
kUnsupportedCodec
} |
| |
| static VideoEncoder * | Create (EncoderType codec_type) |
| |
| static bool | IsSupportedSoftware (EncoderType codec_type) |
| |
| static EncoderType | CodecToEncoderType (VideoCodecType codec_type) |
| |
| static VideoCodecVP8 | GetDefaultVp8Settings () |
| |
| static VideoCodecVP9 | GetDefaultVp9Settings () |
| |
| static VideoCodecH264 | GetDefaultH264Settings () |
| |
| static VideoEncoder * | Create (EncoderType codec_type) |
| |
| static bool | IsSupportedSoftware (EncoderType codec_type) |
| |
| static EncoderType | CodecToEncoderType (VideoCodecType codec_type) |
| |
| static VideoCodecVP8 | GetDefaultVp8Settings () |
| |
| static VideoCodecVP9 | GetDefaultVp9Settings () |
| |
| static VideoCodecH264 | GetDefaultH264Settings () |
| |
| webrtc::RtcEventLogNullImpl | event_log_ |
| |
| static const char * | kImplementationName = "fake_encoder" |
| |
| | RtpRtcpObserver (int event_timeout_ms) |
| |
| | RtpRtcpObserver (int event_timeout_ms) |
| |
| VideoCodec config_ | GUARDED_BY (crit_sect_) |
| |
| EncodedImageCallback *callback_ | GUARDED_BY (crit_sect_) |
| |
| BitrateAllocation target_bitrate_ | GUARDED_BY (crit_sect_) |
| |
| int max_target_bitrate_kbps_ | GUARDED_BY (crit_sect_) |
| |
| int64_t last_encode_time_ms_ | GUARDED_BY (crit_sect_) |
| |
| VideoCodec config_ | GUARDED_BY (crit_sect_) |
| |
| EncodedImageCallback *callback_ | GUARDED_BY (crit_sect_) |
| |
| BitrateAllocation target_bitrate_ | GUARDED_BY (crit_sect_) |
| |
| int max_target_bitrate_kbps_ | GUARDED_BY (crit_sect_) |
| |
| int64_t last_encode_time_ms_ | GUARDED_BY (crit_sect_) |
| |
| rtc::Event | observation_complete_ |
| |
| const std::unique_ptr< RtpHeaderParser > | parser_ |
| |
| Clock *const | clock_ |
| |
| rtc::CriticalSection | crit_sect_ |
| |
| uint8_t | encoded_buffer_ [100000] |
| |