├── .gitattributes ├── .gitignore ├── README.md ├── Win32Project ├── Win32Project.sln ├── Win32Project │ ├── ReadMe.txt │ ├── Resource.h │ ├── Win32Project.cpp │ ├── Win32Project.h │ ├── Win32Project.ico │ ├── Win32Project.rc │ ├── Win32Project.vcxproj │ ├── Win32Project.vcxproj.filters │ ├── small.ico │ ├── stdafx.cpp │ ├── stdafx.h │ ├── targetver.h │ ├── utils.cpp │ ├── utils.h │ └── webrtc-wrapper │ │ ├── enginewrapper.cpp │ │ ├── enginewrapper.h │ │ ├── video_capture.cpp │ │ ├── video_capture.h │ │ ├── video_render.cpp │ │ └── video_render.h ├── webrtc-headers │ ├── third_party │ │ └── libyuv │ │ │ └── include │ │ │ ├── libyuv.h │ │ │ └── libyuv │ │ │ ├── basic_types.h │ │ │ ├── compare.h │ │ │ ├── compare_row.h │ │ │ ├── convert.h │ │ │ ├── convert_argb.h │ │ │ ├── convert_from.h │ │ │ ├── convert_from_argb.h │ │ │ ├── cpu_id.h │ │ │ ├── macros_msa.h │ │ │ ├── mjpeg_decoder.h │ │ │ ├── planar_functions.h │ │ │ ├── rotate.h │ │ │ ├── rotate_argb.h │ │ │ ├── rotate_row.h │ │ │ ├── row.h │ │ │ ├── scale.h │ │ │ ├── scale_argb.h │ │ │ ├── scale_row.h │ │ │ ├── version.h │ │ │ └── video_common.h │ └── webrtc │ │ ├── api │ │ ├── audio │ │ │ └── audio_mixer.h │ │ ├── call │ │ │ ├── audio_sink.h │ │ │ └── transport.h │ │ ├── datachannel.h │ │ ├── datachannelinterface.h │ │ ├── dtmfsenderinterface.h │ │ ├── fakemetricsobserver.h │ │ ├── jsep.h │ │ ├── jsepicecandidate.h │ │ ├── jsepsessiondescription.h │ │ ├── mediaconstraintsinterface.h │ │ ├── mediacontroller.h │ │ ├── mediastream.h │ │ ├── mediastreaminterface.h │ │ ├── mediastreamproxy.h │ │ ├── mediastreamtrack.h │ │ ├── mediastreamtrackproxy.h │ │ ├── mediatypes.h │ │ ├── notifier.h │ │ ├── ortcfactoryinterface.h │ │ ├── peerconnectionfactoryproxy.h │ │ ├── peerconnectioninterface.h │ │ ├── peerconnectionproxy.h │ │ ├── proxy.h │ │ ├── rtpparameters.h │ │ ├── rtpreceiverinterface.h │ │ ├── rtpsender.h │ │ ├── rtpsenderinterface.h │ │ ├── stats │ │ │ ├── rtcstats.h │ │ │ ├── rtcstats_objects.h │ │ │ ├── rtcstatscollectorcallback.h │ │ │ └── rtcstatsreport.h │ │ ├── statstypes.h │ │ ├── streamcollection.h │ │ ├── test │ │ │ ├── fakeconstraints.h │ │ │ ├── mock_audio_mixer.h │ │ │ ├── mock_rtpreceiver.h │ │ │ └── mock_rtpsender.h │ │ ├── trackmediainfomap.h │ │ ├── udptransportinterface.h │ │ ├── umametrics.h │ │ ├── video │ │ │ ├── i420_buffer.h │ │ │ ├── video_frame.h │ │ │ ├── video_frame_buffer.h │ │ │ └── video_rotation.h │ │ ├── videosourceproxy.h │ │ ├── videotracksource.h │ │ └── webrtcsdp.h │ │ ├── audio │ │ ├── audio_receive_stream.h │ │ ├── audio_send_stream.h │ │ ├── audio_state.h │ │ ├── audio_transport_proxy.h │ │ ├── conversion.h │ │ ├── scoped_voe_interface.h │ │ └── utility │ │ │ └── audio_frame_operations.h │ │ ├── base │ │ ├── array_view.h │ │ ├── arraysize.h │ │ ├── asyncinvoker-inl.h │ │ ├── asyncinvoker.h │ │ ├── asyncpacketsocket.h │ │ ├── asyncresolverinterface.h │ │ ├── asyncsocket.h │ │ ├── asynctcpsocket.h │ │ ├── asyncudpsocket.h │ │ ├── atomicops.h │ │ ├── base64.h │ │ ├── basictypes.h │ │ ├── bind.h │ │ ├── bitbuffer.h │ │ ├── buffer.h │ │ ├── bufferqueue.h │ │ ├── bytebuffer.h │ │ ├── byteorder.h │ │ ├── callback.h │ │ ├── checks.h │ │ ├── constructormagic.h │ │ ├── copyonwritebuffer.h │ │ ├── cpu_time.h │ │ ├── crc32.h │ │ ├── criticalsection.h │ │ ├── cryptstring.h │ │ ├── deprecation.h │ │ ├── dscp.h │ │ ├── event.h │ │ ├── event_tracer.h │ │ ├── fakeclock.h │ │ ├── fakenetwork.h │ │ ├── fakesslidentity.h │ │ ├── file.h │ │ ├── filerotatingstream.h │ │ ├── fileutils.h │ │ ├── firewallsocketserver.h │ │ ├── flags.h │ │ ├── format_macros.h │ │ ├── function_view.h │ │ ├── gtest_prod_util.h │ │ ├── gunit.h │ │ ├── gunit_prod.h │ │ ├── helpers.h │ │ ├── httpbase.h │ │ ├── httpcommon-inl.h │ │ ├── httpcommon.h │ │ ├── httpserver.h │ │ ├── ifaddrs-android.h │ │ ├── ifaddrs_converter.h │ │ ├── ignore_wundef.h │ │ ├── ipaddress.h │ │ ├── json.h │ │ ├── keep_ref_until_done.h │ │ ├── location.h │ │ ├── logging.h │ │ ├── logsinks.h │ │ ├── macutils.h │ │ ├── mathutils.h │ │ ├── md5.h │ │ ├── md5digest.h │ │ ├── memory_usage.h │ │ ├── messagedigest.h │ │ ├── messagehandler.h │ │ ├── messagequeue.h │ │ ├── mod_ops.h │ │ ├── natserver.h │ │ ├── natsocketfactory.h │ │ ├── nattypes.h │ │ ├── nethelpers.h │ │ ├── network.h │ │ ├── networkmonitor.h │ │ ├── networkroute.h │ │ ├── nullsocketserver.h │ │ ├── numerics │ │ │ ├── exp_filter.h │ │ │ └── percentile_filter.h │ │ ├── onetimeevent.h │ │ ├── openssl.h │ │ ├── openssladapter.h │ │ ├── openssldigest.h │ │ ├── opensslidentity.h │ │ ├── opensslstreamadapter.h │ │ ├── optional.h │ │ ├── optionsfile.h │ │ ├── pathutils.h │ │ ├── physicalsocketserver.h │ │ ├── platform_file.h │ │ ├── platform_thread.h │ │ ├── platform_thread_types.h │ │ ├── protobuf_utils.h │ │ ├── proxyinfo.h │ │ ├── proxyserver.h │ │ ├── ptr_util.h │ │ ├── race_checker.h │ │ ├── random.h │ │ ├── rate_limiter.h │ │ ├── rate_statistics.h │ │ ├── ratelimiter.h │ │ ├── ratetracker.h │ │ ├── refcount.h │ │ ├── refcountedobject.h │ │ ├── rollingaccumulator.h │ │ ├── rtccertificate.h │ │ ├── rtccertificategenerator.h │ │ ├── safe_compare.h │ │ ├── safe_conversions.h │ │ ├── safe_conversions_impl.h │ │ ├── sanitizer.h │ │ ├── scoped_ref_ptr.h │ │ ├── scopedptrcollection.h │ │ ├── sequenced_task_checker.h │ │ ├── sequenced_task_checker_impl.h │ │ ├── sha1.h │ │ ├── sha1digest.h │ │ ├── sharedexclusivelock.h │ │ ├── signalthread.h │ │ ├── sigslot.h │ │ ├── sigslotrepeater.h │ │ ├── sigslottester.h │ │ ├── socket.h │ │ ├── socket_unittest.h │ │ ├── socketadapters.h │ │ ├── socketaddress.h │ │ ├── socketaddresspair.h │ │ ├── socketfactory.h │ │ ├── socketserver.h │ │ ├── socketstream.h │ │ ├── ssladapter.h │ │ ├── sslfingerprint.h │ │ ├── sslidentity.h │ │ ├── sslroots.h │ │ ├── sslstreamadapter.h │ │ ├── stream.h │ │ ├── string_to_number.h │ │ ├── stringencode.h │ │ ├── stringutils.h │ │ ├── swap_queue.h │ │ ├── task_queue.h │ │ ├── task_queue_posix.h │ │ ├── template_util.h │ │ ├── testbase64.h │ │ ├── testclient.h │ │ ├── testechoserver.h │ │ ├── testutils.h │ │ ├── thread.h │ │ ├── thread_annotations.h │ │ ├── thread_checker.h │ │ ├── thread_checker_impl.h │ │ ├── timedelta.h │ │ ├── timestampaligner.h │ │ ├── timeutils.h │ │ ├── trace_event.h │ │ ├── transformadapter.h │ │ ├── type_traits.h │ │ ├── unixfilesystem.h │ │ ├── virtualsocketserver.h │ │ ├── weak_ptr.h │ │ ├── win32.h │ │ ├── win32filesystem.h │ │ ├── win32socketinit.h │ │ ├── win32socketserver.h │ │ ├── win32window.h │ │ ├── window.h │ │ └── winping.h │ │ ├── call.h │ │ ├── call │ │ ├── audio_receive_stream.h │ │ ├── audio_send_stream.h │ │ ├── audio_state.h │ │ ├── bitrate_allocator.h │ │ ├── call.h │ │ ├── flexfec_receive_stream.h │ │ ├── flexfec_receive_stream_impl.h │ │ ├── rampup_tests.h │ │ └── syncable.h │ │ ├── common_audio │ │ ├── audio_converter.h │ │ ├── audio_ring_buffer.h │ │ ├── blocker.h │ │ ├── channel_buffer.h │ │ ├── fft4g.h │ │ ├── fir_filter.h │ │ ├── fir_filter_neon.h │ │ ├── fir_filter_sse.h │ │ ├── include │ │ │ └── audio_util.h │ │ ├── lapped_transform.h │ │ ├── mocks │ │ │ └── mock_smoothing_filter.h │ │ ├── real_fourier.h │ │ ├── real_fourier_ooura.h │ │ ├── real_fourier_openmax.h │ │ ├── resampler │ │ │ ├── include │ │ │ │ ├── push_resampler.h │ │ │ │ └── resampler.h │ │ │ ├── push_sinc_resampler.h │ │ │ ├── sinc_resampler.h │ │ │ └── sinusoidal_linear_chirp_source.h │ │ ├── ring_buffer.h │ │ ├── signal_processing │ │ │ ├── complex_fft_tables.h │ │ │ ├── include │ │ │ │ ├── real_fft.h │ │ │ │ ├── signal_processing_library.h │ │ │ │ ├── spl_inl.h │ │ │ │ ├── spl_inl_armv7.h │ │ │ │ └── spl_inl_mips.h │ │ │ └── resample_by_2_internal.h │ │ ├── smoothing_filter.h │ │ ├── sparse_fir_filter.h │ │ ├── vad │ │ │ ├── include │ │ │ │ ├── vad.h │ │ │ │ └── webrtc_vad.h │ │ │ ├── mock │ │ │ │ └── mock_vad.h │ │ │ ├── vad_core.h │ │ │ ├── vad_filterbank.h │ │ │ ├── vad_gmm.h │ │ │ ├── vad_sp.h │ │ │ └── vad_unittest.h │ │ ├── wav_file.h │ │ ├── wav_header.h │ │ └── window_generator.h │ │ ├── common_types.h │ │ ├── common_video │ │ ├── h264 │ │ │ ├── h264_bitstream_parser.h │ │ │ ├── h264_common.h │ │ │ ├── pps_parser.h │ │ │ ├── profile_level_id.h │ │ │ ├── sps_parser.h │ │ │ └── sps_vui_rewriter.h │ │ ├── include │ │ │ ├── bitrate_adjuster.h │ │ │ ├── corevideo_frame_buffer.h │ │ │ ├── frame_callback.h │ │ │ ├── i420_buffer_pool.h │ │ │ ├── incoming_video_stream.h │ │ │ ├── video_bitrate_allocator.h │ │ │ ├── video_frame_buffer.h │ │ │ └── video_image.h │ │ ├── libyuv │ │ │ └── include │ │ │ │ └── webrtc_libyuv.h │ │ ├── rotation.h │ │ └── video_render_frames.h │ │ ├── config.h │ │ ├── examples │ │ ├── objc │ │ │ └── AppRTCMobile │ │ │ │ ├── ARDAppClient+Internal.h │ │ │ │ ├── ARDAppClient.h │ │ │ │ ├── ARDAppEngineClient.h │ │ │ │ ├── ARDBitrateTracker.h │ │ │ │ ├── ARDJoinResponse+Internal.h │ │ │ │ ├── ARDJoinResponse.h │ │ │ │ ├── ARDMessageResponse+Internal.h │ │ │ │ ├── ARDMessageResponse.h │ │ │ │ ├── ARDRoomServerClient.h │ │ │ │ ├── ARDSDPUtils.h │ │ │ │ ├── ARDSignalingChannel.h │ │ │ │ ├── ARDSignalingMessage.h │ │ │ │ ├── ARDStatsBuilder.h │ │ │ │ ├── ARDTURNClient+Internal.h │ │ │ │ ├── ARDTURNClient.h │ │ │ │ ├── ARDWebSocketChannel.h │ │ │ │ ├── RTCIceCandidate+JSON.h │ │ │ │ ├── RTCIceServer+JSON.h │ │ │ │ ├── RTCMediaConstraints+JSON.h │ │ │ │ ├── RTCSessionDescription+JSON.h │ │ │ │ ├── common │ │ │ │ └── ARDUtilities.h │ │ │ │ ├── ios │ │ │ │ ├── ARDAppDelegate.h │ │ │ │ ├── ARDMainView.h │ │ │ │ ├── ARDMainViewController.h │ │ │ │ ├── ARDSettingsModel+Private.h │ │ │ │ ├── ARDSettingsModel.h │ │ │ │ ├── ARDSettingsStore.h │ │ │ │ ├── ARDSettingsViewController.h │ │ │ │ ├── ARDStatsView.h │ │ │ │ ├── ARDVideoCallView.h │ │ │ │ ├── ARDVideoCallViewController.h │ │ │ │ └── UIImage+ARDUtilities.h │ │ │ │ ├── mac │ │ │ │ ├── APPRTCAppDelegate.h │ │ │ │ └── APPRTCViewController.h │ │ │ │ └── third_party │ │ │ │ └── SocketRocket │ │ │ │ └── SRWebSocket.h │ │ └── peerconnection │ │ │ ├── client │ │ │ ├── conductor.h │ │ │ ├── defaults.h │ │ │ ├── flagdefs.h │ │ │ ├── linux │ │ │ │ └── main_wnd.h │ │ │ ├── main_wnd.h │ │ │ └── peer_connection_client.h │ │ │ └── server │ │ │ ├── data_socket.h │ │ │ ├── peer_channel.h │ │ │ └── utils.h │ │ ├── logging │ │ └── rtc_event_log │ │ │ ├── mock │ │ │ └── mock_rtc_event_log.h │ │ │ ├── ringbuffer.h │ │ │ ├── rtc_event_log.h │ │ │ ├── rtc_event_log_helper_thread.h │ │ │ ├── rtc_event_log_parser.h │ │ │ └── rtc_event_log_unittest_helper.h │ │ ├── media │ │ ├── base │ │ │ ├── adaptedvideotracksource.h │ │ │ ├── audiosource.h │ │ │ ├── codec.h │ │ │ ├── cryptoparams.h │ │ │ ├── device.h │ │ │ ├── fakemediaengine.h │ │ │ ├── fakenetworkinterface.h │ │ │ ├── fakertp.h │ │ │ ├── fakevideocapturer.h │ │ │ ├── fakevideorenderer.h │ │ │ ├── mediachannel.h │ │ │ ├── mediaconstants.h │ │ │ ├── mediaengine.h │ │ │ ├── rtpdataengine.h │ │ │ ├── rtputils.h │ │ │ ├── streamparams.h │ │ │ ├── test │ │ │ │ └── mock_mediachannel.h │ │ │ ├── testutils.h │ │ │ ├── turnutils.h │ │ │ ├── videoadapter.h │ │ │ ├── videobroadcaster.h │ │ │ ├── videocapturer.h │ │ │ ├── videocapturerfactory.h │ │ │ ├── videocommon.h │ │ │ ├── videoengine_unittest.h │ │ │ ├── videoframe.h │ │ │ ├── videosinkinterface.h │ │ │ ├── videosourcebase.h │ │ │ └── videosourceinterface.h │ │ ├── engine │ │ │ ├── constants.h │ │ │ ├── fakewebrtccall.h │ │ │ ├── fakewebrtcdeviceinfo.h │ │ │ ├── fakewebrtcvcmfactory.h │ │ │ ├── fakewebrtcvideocapturemodule.h │ │ │ ├── fakewebrtcvideoengine.h │ │ │ ├── fakewebrtcvoiceengine.h │ │ │ ├── internaldecoderfactory.h │ │ │ ├── internalencoderfactory.h │ │ │ ├── nullwebrtcvideoengine.h │ │ │ ├── payload_type_mapper.h │ │ │ ├── simulcast.h │ │ │ ├── videodecodersoftwarefallbackwrapper.h │ │ │ ├── videoencodersoftwarefallbackwrapper.h │ │ │ ├── webrtccommon.h │ │ │ ├── webrtcmediaengine.h │ │ │ ├── webrtcvideocapturer.h │ │ │ ├── webrtcvideocapturerfactory.h │ │ │ ├── webrtcvideodecoderfactory.h │ │ │ ├── webrtcvideoencoderfactory.h │ │ │ ├── webrtcvideoengine2.h │ │ │ ├── webrtcvideoframe.h │ │ │ ├── webrtcvoe.h │ │ │ └── webrtcvoiceengine.h │ │ └── sctp │ │ │ ├── sctptransport.h │ │ │ └── sctptransportinternal.h │ │ ├── modules │ │ ├── audio_coding │ │ │ ├── acm2 │ │ │ │ ├── acm_codec_database.h │ │ │ │ ├── acm_common_defs.h │ │ │ │ ├── acm_receive_test.h │ │ │ │ ├── acm_receiver.h │ │ │ │ ├── acm_resampler.h │ │ │ │ ├── acm_send_test.h │ │ │ │ ├── call_statistics.h │ │ │ │ ├── codec_manager.h │ │ │ │ └── rent_a_codec.h │ │ │ ├── audio_network_adaptor │ │ │ │ ├── audio_network_adaptor_impl.h │ │ │ │ ├── bitrate_controller.h │ │ │ │ ├── channel_controller.h │ │ │ │ ├── controller.h │ │ │ │ ├── controller_manager.h │ │ │ │ ├── debug_dump_writer.h │ │ │ │ ├── dtx_controller.h │ │ │ │ ├── event_log_writer.h │ │ │ │ ├── fec_controller.h │ │ │ │ ├── frame_length_controller.h │ │ │ │ ├── include │ │ │ │ │ └── audio_network_adaptor.h │ │ │ │ └── mock │ │ │ │ │ ├── mock_audio_network_adaptor.h │ │ │ │ │ ├── mock_controller.h │ │ │ │ │ ├── mock_controller_manager.h │ │ │ │ │ └── mock_debug_dump_writer.h │ │ │ ├── codecs │ │ │ │ ├── audio_decoder.h │ │ │ │ ├── audio_decoder_factory.h │ │ │ │ ├── audio_encoder.h │ │ │ │ ├── audio_format.h │ │ │ │ ├── audio_format_conversion.h │ │ │ │ ├── builtin_audio_decoder_factory.h │ │ │ │ ├── cng │ │ │ │ │ ├── audio_encoder_cng.h │ │ │ │ │ └── webrtc_cng.h │ │ │ │ ├── g711 │ │ │ │ │ ├── audio_decoder_pcm.h │ │ │ │ │ ├── audio_encoder_pcm.h │ │ │ │ │ ├── g711.h │ │ │ │ │ └── g711_interface.h │ │ │ │ ├── g722 │ │ │ │ │ ├── audio_decoder_g722.h │ │ │ │ │ ├── audio_encoder_g722.h │ │ │ │ │ ├── g722_enc_dec.h │ │ │ │ │ └── g722_interface.h │ │ │ │ ├── ilbc │ │ │ │ │ ├── abs_quant.h │ │ │ │ │ ├── abs_quant_loop.h │ │ │ │ │ ├── audio_decoder_ilbc.h │ │ │ │ │ ├── audio_encoder_ilbc.h │ │ │ │ │ ├── augmented_cb_corr.h │ │ │ │ │ ├── bw_expand.h │ │ │ │ │ ├── cb_construct.h │ │ │ │ │ ├── cb_mem_energy.h │ │ │ │ │ ├── cb_mem_energy_augmentation.h │ │ │ │ │ ├── cb_mem_energy_calc.h │ │ │ │ │ ├── cb_search.h │ │ │ │ │ ├── cb_search_core.h │ │ │ │ │ ├── cb_update_best_index.h │ │ │ │ │ ├── chebyshev.h │ │ │ │ │ ├── comp_corr.h │ │ │ │ │ ├── constants.h │ │ │ │ │ ├── create_augmented_vec.h │ │ │ │ │ ├── decode.h │ │ │ │ │ ├── decode_residual.h │ │ │ │ │ ├── decoder_interpolate_lsf.h │ │ │ │ │ ├── defines.h │ │ │ │ │ ├── do_plc.h │ │ │ │ │ ├── encode.h │ │ │ │ │ ├── energy_inverse.h │ │ │ │ │ ├── enh_upsample.h │ │ │ │ │ ├── enhancer.h │ │ │ │ │ ├── enhancer_interface.h │ │ │ │ │ ├── filtered_cb_vecs.h │ │ │ │ │ ├── frame_classify.h │ │ │ │ │ ├── gain_dequant.h │ │ │ │ │ ├── gain_quant.h │ │ │ │ │ ├── get_cd_vec.h │ │ │ │ │ ├── get_lsp_poly.h │ │ │ │ │ ├── get_sync_seq.h │ │ │ │ │ ├── hp_input.h │ │ │ │ │ ├── hp_output.h │ │ │ │ │ ├── ilbc.h │ │ │ │ │ ├── index_conv_dec.h │ │ │ │ │ ├── index_conv_enc.h │ │ │ │ │ ├── init_decode.h │ │ │ │ │ ├── init_encode.h │ │ │ │ │ ├── interpolate.h │ │ │ │ │ ├── interpolate_samples.h │ │ │ │ │ ├── lpc_encode.h │ │ │ │ │ ├── lsf_check.h │ │ │ │ │ ├── lsf_interpolate_to_poly_dec.h │ │ │ │ │ ├── lsf_interpolate_to_poly_enc.h │ │ │ │ │ ├── lsf_to_lsp.h │ │ │ │ │ ├── lsf_to_poly.h │ │ │ │ │ ├── lsp_to_lsf.h │ │ │ │ │ ├── my_corr.h │ │ │ │ │ ├── nearest_neighbor.h │ │ │ │ │ ├── pack_bits.h │ │ │ │ │ ├── poly_to_lsf.h │ │ │ │ │ ├── poly_to_lsp.h │ │ │ │ │ ├── refiner.h │ │ │ │ │ ├── simple_interpolate_lsf.h │ │ │ │ │ ├── simple_lpc_analysis.h │ │ │ │ │ ├── simple_lsf_dequant.h │ │ │ │ │ ├── simple_lsf_quant.h │ │ │ │ │ ├── smooth.h │ │ │ │ │ ├── smooth_out_data.h │ │ │ │ │ ├── sort_sq.h │ │ │ │ │ ├── split_vq.h │ │ │ │ │ ├── state_construct.h │ │ │ │ │ ├── state_search.h │ │ │ │ │ ├── swap_bytes.h │ │ │ │ │ ├── unpack_bits.h │ │ │ │ │ ├── vq3.h │ │ │ │ │ ├── vq4.h │ │ │ │ │ ├── window32_w32.h │ │ │ │ │ └── xcorr_coef.h │ │ │ │ ├── isac │ │ │ │ │ ├── audio_decoder_isac_t.h │ │ │ │ │ ├── audio_decoder_isac_t_impl.h │ │ │ │ │ ├── audio_encoder_isac_t.h │ │ │ │ │ ├── audio_encoder_isac_t_impl.h │ │ │ │ │ ├── bandwidth_info.h │ │ │ │ │ ├── fix │ │ │ │ │ │ ├── include │ │ │ │ │ │ │ ├── audio_decoder_isacfix.h │ │ │ │ │ │ │ ├── audio_encoder_isacfix.h │ │ │ │ │ │ │ └── isacfix.h │ │ │ │ │ │ └── source │ │ │ │ │ │ │ ├── arith_routins.h │ │ │ │ │ │ │ ├── bandwidth_estimator.h │ │ │ │ │ │ │ ├── codec.h │ │ │ │ │ │ │ ├── entropy_coding.h │ │ │ │ │ │ │ ├── fft.h │ │ │ │ │ │ │ ├── filterbank_internal.h │ │ │ │ │ │ │ ├── filterbank_tables.h │ │ │ │ │ │ │ ├── isac_fix_type.h │ │ │ │ │ │ │ ├── lpc_masking_model.h │ │ │ │ │ │ │ ├── lpc_tables.h │ │ │ │ │ │ │ ├── pitch_estimator.h │ │ │ │ │ │ │ ├── pitch_gain_tables.h │ │ │ │ │ │ │ ├── pitch_lag_tables.h │ │ │ │ │ │ │ ├── settings.h │ │ │ │ │ │ │ ├── spectrum_ar_model_tables.h │ │ │ │ │ │ │ └── structs.h │ │ │ │ │ ├── locked_bandwidth_info.h │ │ │ │ │ └── main │ │ │ │ │ │ ├── include │ │ │ │ │ │ ├── audio_decoder_isac.h │ │ │ │ │ │ ├── audio_encoder_isac.h │ │ │ │ │ │ └── isac.h │ │ │ │ │ │ ├── source │ │ │ │ │ │ ├── arith_routines.h │ │ │ │ │ │ ├── bandwidth_estimator.h │ │ │ │ │ │ ├── codec.h │ │ │ │ │ │ ├── crc.h │ │ │ │ │ │ ├── encode_lpc_swb.h │ │ │ │ │ │ ├── entropy_coding.h │ │ │ │ │ │ ├── fft.h │ │ │ │ │ │ ├── filterbank_tables.h │ │ │ │ │ │ ├── isac_float_type.h │ │ │ │ │ │ ├── lpc_analysis.h │ │ │ │ │ │ ├── lpc_gain_swb_tables.h │ │ │ │ │ │ ├── lpc_shape_swb12_tables.h │ │ │ │ │ │ ├── lpc_shape_swb16_tables.h │ │ │ │ │ │ ├── lpc_tables.h │ │ │ │ │ │ ├── os_specific_inline.h │ │ │ │ │ │ ├── pitch_estimator.h │ │ │ │ │ │ ├── pitch_gain_tables.h │ │ │ │ │ │ ├── pitch_lag_tables.h │ │ │ │ │ │ ├── settings.h │ │ │ │ │ │ ├── spectrum_ar_model_tables.h │ │ │ │ │ │ └── structs.h │ │ │ │ │ │ └── util │ │ │ │ │ │ └── utility.h │ │ │ │ ├── legacy_encoded_audio_frame.h │ │ │ │ ├── mock │ │ │ │ │ ├── mock_audio_decoder_factory.h │ │ │ │ │ └── mock_audio_encoder.h │ │ │ │ ├── opus │ │ │ │ │ ├── audio_decoder_opus.h │ │ │ │ │ ├── audio_encoder_opus.h │ │ │ │ │ ├── opus_inst.h │ │ │ │ │ └── opus_interface.h │ │ │ │ ├── pcm16b │ │ │ │ │ ├── audio_decoder_pcm16b.h │ │ │ │ │ ├── audio_encoder_pcm16b.h │ │ │ │ │ └── pcm16b.h │ │ │ │ ├── red │ │ │ │ │ └── audio_encoder_copy_red.h │ │ │ │ └── tools │ │ │ │ │ └── audio_codec_speed_test.h │ │ │ ├── include │ │ │ │ ├── audio_coding_module.h │ │ │ │ └── audio_coding_module_typedefs.h │ │ │ ├── neteq │ │ │ │ ├── accelerate.h │ │ │ │ ├── audio_decoder_impl.h │ │ │ │ ├── audio_multi_vector.h │ │ │ │ ├── audio_vector.h │ │ │ │ ├── background_noise.h │ │ │ │ ├── buffer_level_filter.h │ │ │ │ ├── comfort_noise.h │ │ │ │ ├── cross_correlation.h │ │ │ │ ├── decision_logic.h │ │ │ │ ├── decision_logic_fax.h │ │ │ │ ├── decision_logic_normal.h │ │ │ │ ├── decoder_database.h │ │ │ │ ├── defines.h │ │ │ │ ├── delay_manager.h │ │ │ │ ├── delay_peak_detector.h │ │ │ │ ├── dsp_helper.h │ │ │ │ ├── dtmf_buffer.h │ │ │ │ ├── dtmf_tone_generator.h │ │ │ │ ├── expand.h │ │ │ │ ├── include │ │ │ │ │ └── neteq.h │ │ │ │ ├── merge.h │ │ │ │ ├── mock │ │ │ │ │ ├── mock_audio_decoder.h │ │ │ │ │ ├── mock_buffer_level_filter.h │ │ │ │ │ ├── mock_decoder_database.h │ │ │ │ │ ├── mock_delay_manager.h │ │ │ │ │ ├── mock_delay_peak_detector.h │ │ │ │ │ ├── mock_dtmf_buffer.h │ │ │ │ │ ├── mock_dtmf_tone_generator.h │ │ │ │ │ ├── mock_expand.h │ │ │ │ │ ├── mock_external_decoder_pcm16b.h │ │ │ │ │ ├── mock_packet_buffer.h │ │ │ │ │ └── mock_red_payload_splitter.h │ │ │ │ ├── nack_tracker.h │ │ │ │ ├── neteq_impl.h │ │ │ │ ├── normal.h │ │ │ │ ├── packet.h │ │ │ │ ├── packet_buffer.h │ │ │ │ ├── post_decode_vad.h │ │ │ │ ├── preemptive_expand.h │ │ │ │ ├── random_vector.h │ │ │ │ ├── red_payload_splitter.h │ │ │ │ ├── rtcp.h │ │ │ │ ├── statistics_calculator.h │ │ │ │ ├── sync_buffer.h │ │ │ │ ├── test │ │ │ │ │ ├── NETEQTEST_DummyRTPpacket.h │ │ │ │ │ ├── NETEQTEST_RTPpacket.h │ │ │ │ │ └── PayloadTypes.h │ │ │ │ ├── tick_timer.h │ │ │ │ ├── time_stretch.h │ │ │ │ ├── timestamp_scaler.h │ │ │ │ └── tools │ │ │ │ │ ├── audio_checksum.h │ │ │ │ │ ├── audio_loop.h │ │ │ │ │ ├── audio_sink.h │ │ │ │ │ ├── constant_pcm_packet_source.h │ │ │ │ │ ├── encode_neteq_input.h │ │ │ │ │ ├── fake_decode_from_file.h │ │ │ │ │ ├── input_audio_file.h │ │ │ │ │ ├── neteq_external_decoder_test.h │ │ │ │ │ ├── neteq_input.h │ │ │ │ │ ├── neteq_packet_source_input.h │ │ │ │ │ ├── neteq_performance_test.h │ │ │ │ │ ├── neteq_quality_test.h │ │ │ │ │ ├── neteq_replacement_input.h │ │ │ │ │ ├── neteq_test.h │ │ │ │ │ ├── output_audio_file.h │ │ │ │ │ ├── output_wav_file.h │ │ │ │ │ ├── packet.h │ │ │ │ │ ├── packet_source.h │ │ │ │ │ ├── resample_input_audio_file.h │ │ │ │ │ ├── rtc_event_log_source.h │ │ │ │ │ ├── rtp_file_source.h │ │ │ │ │ └── rtp_generator.h │ │ │ └── test │ │ │ │ ├── ACMTest.h │ │ │ │ ├── APITest.h │ │ │ │ ├── Channel.h │ │ │ │ ├── EncodeDecodeTest.h │ │ │ │ ├── PCMFile.h │ │ │ │ ├── PacketLossTest.h │ │ │ │ ├── RTPFile.h │ │ │ │ ├── TestAllCodecs.h │ │ │ │ ├── TestRedFec.h │ │ │ │ ├── TestStereo.h │ │ │ │ ├── TestVADDTX.h │ │ │ │ ├── TwoWayCommunication.h │ │ │ │ ├── iSACTest.h │ │ │ │ ├── opus_test.h │ │ │ │ └── utility.h │ │ ├── audio_conference_mixer │ │ │ ├── include │ │ │ │ ├── audio_conference_mixer.h │ │ │ │ └── audio_conference_mixer_defines.h │ │ │ └── source │ │ │ │ ├── audio_conference_mixer_impl.h │ │ │ │ ├── audio_frame_manipulator.h │ │ │ │ ├── memory_pool.h │ │ │ │ ├── memory_pool_posix.h │ │ │ │ ├── memory_pool_win.h │ │ │ │ └── time_scheduler.h │ │ ├── audio_device │ │ │ ├── android │ │ │ │ ├── audio_common.h │ │ │ │ ├── audio_device_template.h │ │ │ │ ├── audio_manager.h │ │ │ │ ├── audio_record_jni.h │ │ │ │ ├── audio_track_jni.h │ │ │ │ ├── build_info.h │ │ │ │ ├── ensure_initialized.h │ │ │ │ ├── opensles_common.h │ │ │ │ ├── opensles_player.h │ │ │ │ └── opensles_recorder.h │ │ │ ├── audio_device_buffer.h │ │ │ ├── audio_device_config.h │ │ │ ├── audio_device_generic.h │ │ │ ├── audio_device_impl.h │ │ │ ├── dummy │ │ │ │ ├── audio_device_dummy.h │ │ │ │ ├── file_audio_device.h │ │ │ │ └── file_audio_device_factory.h │ │ │ ├── fine_audio_buffer.h │ │ │ ├── include │ │ │ │ ├── audio_device.h │ │ │ │ ├── audio_device_defines.h │ │ │ │ ├── fake_audio_device.h │ │ │ │ ├── mock_audio_device.h │ │ │ │ └── mock_audio_transport.h │ │ │ ├── ios │ │ │ │ ├── audio_device_ios.h │ │ │ │ ├── audio_session_observer.h │ │ │ │ ├── objc │ │ │ │ │ ├── RTCAudioSession+Private.h │ │ │ │ │ ├── RTCAudioSession.h │ │ │ │ │ ├── RTCAudioSessionConfiguration.h │ │ │ │ │ └── RTCAudioSessionDelegateAdapter.h │ │ │ │ └── voice_processing_audio_unit.h │ │ │ ├── linux │ │ │ │ ├── alsasymboltable_linux.h │ │ │ │ ├── audio_device_alsa_linux.h │ │ │ │ ├── audio_device_pulse_linux.h │ │ │ │ ├── audio_mixer_manager_alsa_linux.h │ │ │ │ ├── audio_mixer_manager_pulse_linux.h │ │ │ │ ├── latebindingsymboltable_linux.h │ │ │ │ └── pulseaudiosymboltable_linux.h │ │ │ ├── mac │ │ │ │ ├── audio_device_mac.h │ │ │ │ ├── audio_mixer_manager_mac.h │ │ │ │ └── portaudio │ │ │ │ │ ├── pa_memorybarrier.h │ │ │ │ │ └── pa_ringbuffer.h │ │ │ ├── mock_audio_device_buffer.h │ │ │ ├── test │ │ │ │ └── audio_device_test_defines.h │ │ │ └── win │ │ │ │ ├── audio_device_core_win.h │ │ │ │ ├── audio_device_wave_win.h │ │ │ │ └── audio_mixer_manager_win.h │ │ ├── audio_mixer │ │ │ ├── audio_frame_manipulator.h │ │ │ ├── audio_mixer_impl.h │ │ │ ├── default_output_rate_calculator.h │ │ │ └── output_rate_calculator.h │ │ ├── audio_processing │ │ │ ├── aec │ │ │ │ ├── aec_common.h │ │ │ │ ├── aec_core.h │ │ │ │ ├── aec_core_optimized_methods.h │ │ │ │ ├── aec_resampler.h │ │ │ │ └── echo_cancellation.h │ │ │ ├── aec3 │ │ │ │ ├── aec3_constants.h │ │ │ │ ├── block_framer.h │ │ │ │ ├── block_processor.h │ │ │ │ ├── cascaded_biquad_filter.h │ │ │ │ ├── echo_canceller3.h │ │ │ │ ├── echo_path_delay_estimator.h │ │ │ │ ├── echo_path_variability.h │ │ │ │ ├── echo_remover.h │ │ │ │ ├── frame_blocker.h │ │ │ │ ├── mock │ │ │ │ │ ├── mock_block_processor.h │ │ │ │ │ ├── mock_echo_remover.h │ │ │ │ │ ├── mock_render_delay_buffer.h │ │ │ │ │ └── mock_render_delay_controller.h │ │ │ │ ├── render_delay_buffer.h │ │ │ │ └── render_delay_controller.h │ │ │ ├── aecm │ │ │ │ ├── aecm_core.h │ │ │ │ ├── aecm_defines.h │ │ │ │ └── echo_control_mobile.h │ │ │ ├── agc │ │ │ │ ├── agc.h │ │ │ │ ├── agc_manager_direct.h │ │ │ │ ├── gain_map_internal.h │ │ │ │ ├── legacy │ │ │ │ │ ├── analog_agc.h │ │ │ │ │ ├── digital_agc.h │ │ │ │ │ └── gain_control.h │ │ │ │ ├── loudness_histogram.h │ │ │ │ ├── mock_agc.h │ │ │ │ └── utility.h │ │ │ ├── audio_buffer.h │ │ │ ├── audio_processing_impl.h │ │ │ ├── beamformer │ │ │ │ ├── array_util.h │ │ │ │ ├── complex_matrix.h │ │ │ │ ├── covariance_matrix_generator.h │ │ │ │ ├── matrix.h │ │ │ │ ├── matrix_test_helpers.h │ │ │ │ ├── mock_nonlinear_beamformer.h │ │ │ │ └── nonlinear_beamformer.h │ │ │ ├── common.h │ │ │ ├── echo_cancellation_impl.h │ │ │ ├── echo_control_mobile_impl.h │ │ │ ├── echo_detector │ │ │ │ ├── circular_buffer.h │ │ │ │ ├── mean_variance_estimator.h │ │ │ │ ├── moving_max.h │ │ │ │ └── normalized_covariance_estimator.h │ │ │ ├── gain_control_for_experimental_agc.h │ │ │ ├── gain_control_impl.h │ │ │ ├── include │ │ │ │ ├── audio_processing.h │ │ │ │ ├── config.h │ │ │ │ └── mock_audio_processing.h │ │ │ ├── intelligibility │ │ │ │ ├── intelligibility_enhancer.h │ │ │ │ └── intelligibility_utils.h │ │ │ ├── level_controller │ │ │ │ ├── biquad_filter.h │ │ │ │ ├── down_sampler.h │ │ │ │ ├── gain_applier.h │ │ │ │ ├── gain_selector.h │ │ │ │ ├── level_controller.h │ │ │ │ ├── level_controller_constants.h │ │ │ │ ├── noise_level_estimator.h │ │ │ │ ├── noise_spectrum_estimator.h │ │ │ │ ├── peak_level_estimator.h │ │ │ │ ├── saturating_gain_estimator.h │ │ │ │ └── signal_classifier.h │ │ │ ├── level_estimator_impl.h │ │ │ ├── logging │ │ │ │ └── apm_data_dumper.h │ │ │ ├── low_cut_filter.h │ │ │ ├── noise_suppression_impl.h │ │ │ ├── ns │ │ │ │ ├── defines.h │ │ │ │ ├── noise_suppression.h │ │ │ │ ├── noise_suppression_x.h │ │ │ │ ├── ns_core.h │ │ │ │ ├── nsx_core.h │ │ │ │ ├── nsx_defines.h │ │ │ │ └── windows_private.h │ │ │ ├── render_queue_item_verifier.h │ │ │ ├── residual_echo_detector.h │ │ │ ├── rms_level.h │ │ │ ├── splitting_filter.h │ │ │ ├── test │ │ │ │ ├── aec_dump_based_simulator.h │ │ │ │ ├── audio_buffer_tools.h │ │ │ │ ├── audio_processing_simulator.h │ │ │ │ ├── bitexactness_tools.h │ │ │ │ ├── debug_dump_replayer.h │ │ │ │ ├── echo_canceller_test_tools.h │ │ │ │ ├── performance_timer.h │ │ │ │ ├── protobuf_utils.h │ │ │ │ ├── simulator_buffers.h │ │ │ │ ├── test_utils.h │ │ │ │ └── wav_based_simulator.h │ │ │ ├── three_band_filter_bank.h │ │ │ ├── transient │ │ │ │ ├── common.h │ │ │ │ ├── daubechies_8_wavelet_coeffs.h │ │ │ │ ├── dyadic_decimator.h │ │ │ │ ├── file_utils.h │ │ │ │ ├── moving_moments.h │ │ │ │ ├── transient_detector.h │ │ │ │ ├── transient_suppressor.h │ │ │ │ ├── wpd_node.h │ │ │ │ └── wpd_tree.h │ │ │ ├── typing_detection.h │ │ │ ├── utility │ │ │ │ ├── block_mean_calculator.h │ │ │ │ ├── delay_estimator.h │ │ │ │ ├── delay_estimator_internal.h │ │ │ │ ├── delay_estimator_wrapper.h │ │ │ │ ├── ooura_fft.h │ │ │ │ ├── ooura_fft_tables_common.h │ │ │ │ └── ooura_fft_tables_neon_sse2.h │ │ │ ├── vad │ │ │ │ ├── common.h │ │ │ │ ├── gmm.h │ │ │ │ ├── noise_gmm_tables.h │ │ │ │ ├── pitch_based_vad.h │ │ │ │ ├── pitch_internal.h │ │ │ │ ├── pole_zero_filter.h │ │ │ │ ├── standalone_vad.h │ │ │ │ ├── vad_audio_proc.h │ │ │ │ ├── vad_audio_proc_internal.h │ │ │ │ ├── vad_circular_buffer.h │ │ │ │ ├── voice_activity_detector.h │ │ │ │ └── voice_gmm_tables.h │ │ │ └── voice_detection_impl.h │ │ ├── bitrate_controller │ │ │ ├── bitrate_controller_impl.h │ │ │ ├── include │ │ │ │ ├── bitrate_controller.h │ │ │ │ └── mock │ │ │ │ │ └── mock_bitrate_controller.h │ │ │ └── send_side_bandwidth_estimation.h │ │ ├── congestion_controller │ │ │ ├── delay_based_bwe.h │ │ │ ├── delay_based_bwe_unittest_helper.h │ │ │ ├── include │ │ │ │ ├── congestion_controller.h │ │ │ │ └── mock │ │ │ │ │ └── mock_congestion_controller.h │ │ │ ├── median_slope_estimator.h │ │ │ ├── probe_bitrate_estimator.h │ │ │ ├── probe_controller.h │ │ │ ├── probing_interval_estimator.h │ │ │ ├── transport_feedback_adapter.h │ │ │ └── trendline_estimator.h │ │ ├── desktop_capture │ │ │ ├── cropped_desktop_frame.h │ │ │ ├── cropping_window_capturer.h │ │ │ ├── desktop_and_cursor_composer.h │ │ │ ├── desktop_capture_options.h │ │ │ ├── desktop_capture_types.h │ │ │ ├── desktop_capturer.h │ │ │ ├── desktop_capturer_differ_wrapper.h │ │ │ ├── desktop_frame.h │ │ │ ├── desktop_frame_generator.h │ │ │ ├── desktop_frame_rotation.h │ │ │ ├── desktop_frame_win.h │ │ │ ├── desktop_geometry.h │ │ │ ├── desktop_region.h │ │ │ ├── differ_block.h │ │ │ ├── differ_vector_sse2.h │ │ │ ├── fake_desktop_capturer.h │ │ │ ├── mac │ │ │ │ ├── desktop_configuration.h │ │ │ │ ├── desktop_configuration_monitor.h │ │ │ │ ├── full_screen_chrome_window_detector.h │ │ │ │ ├── scoped_pixel_buffer_object.h │ │ │ │ └── window_list_utils.h │ │ │ ├── mock_desktop_capturer_callback.h │ │ │ ├── mouse_cursor.h │ │ │ ├── mouse_cursor_monitor.h │ │ │ ├── rgba_color.h │ │ │ ├── screen_capture_frame_queue.h │ │ │ ├── screen_capturer_helper.h │ │ │ ├── screen_drawer.h │ │ │ ├── shared_desktop_frame.h │ │ │ ├── shared_memory.h │ │ │ ├── test_utils.h │ │ │ ├── win │ │ │ │ ├── cursor.h │ │ │ │ ├── cursor_unittest_resources.h │ │ │ │ ├── d3d_device.h │ │ │ │ ├── desktop.h │ │ │ │ ├── dxgi_adapter_duplicator.h │ │ │ │ ├── dxgi_duplicator_controller.h │ │ │ │ ├── dxgi_output_duplicator.h │ │ │ │ ├── dxgi_texture.h │ │ │ │ ├── dxgi_texture_mapping.h │ │ │ │ ├── dxgi_texture_staging.h │ │ │ │ ├── scoped_gdi_object.h │ │ │ │ ├── scoped_thread_desktop.h │ │ │ │ ├── screen_capture_utils.h │ │ │ │ ├── screen_capturer_win_directx.h │ │ │ │ ├── screen_capturer_win_gdi.h │ │ │ │ ├── screen_capturer_win_magnifier.h │ │ │ │ └── window_capture_utils.h │ │ │ └── x11 │ │ │ │ ├── shared_x_display.h │ │ │ │ ├── x_error_trap.h │ │ │ │ └── x_server_pixel_buffer.h │ │ ├── include │ │ │ ├── module.h │ │ │ └── module_common_types.h │ │ ├── media_file │ │ │ ├── media_file.h │ │ │ ├── media_file_defines.h │ │ │ ├── media_file_impl.h │ │ │ └── media_file_utility.h │ │ ├── pacing │ │ │ ├── alr_detector.h │ │ │ ├── bitrate_prober.h │ │ │ ├── mock │ │ │ │ └── mock_paced_sender.h │ │ │ ├── paced_sender.h │ │ │ └── packet_router.h │ │ ├── remote_bitrate_estimator │ │ │ ├── aimd_rate_control.h │ │ │ ├── include │ │ │ │ ├── bwe_defines.h │ │ │ │ ├── mock │ │ │ │ │ ├── mock_aimd_rate_control.h │ │ │ │ │ ├── mock_remote_bitrate_estimator.h │ │ │ │ │ └── mock_remote_bitrate_observer.h │ │ │ │ ├── remote_bitrate_estimator.h │ │ │ │ └── send_time_history.h │ │ │ ├── inter_arrival.h │ │ │ ├── overuse_detector.h │ │ │ ├── overuse_estimator.h │ │ │ ├── remote_bitrate_estimator_abs_send_time.h │ │ │ ├── remote_bitrate_estimator_single_stream.h │ │ │ ├── remote_bitrate_estimator_unittest_helper.h │ │ │ ├── remote_estimator_proxy.h │ │ │ ├── test │ │ │ │ ├── bwe.h │ │ │ │ ├── bwe_test.h │ │ │ │ ├── bwe_test_baselinefile.h │ │ │ │ ├── bwe_test_fileutils.h │ │ │ │ ├── bwe_test_framework.h │ │ │ │ ├── bwe_test_logging.h │ │ │ │ ├── estimators │ │ │ │ │ ├── nada.h │ │ │ │ │ ├── remb.h │ │ │ │ │ ├── send_side.h │ │ │ │ │ └── tcp.h │ │ │ │ ├── metric_recorder.h │ │ │ │ ├── packet.h │ │ │ │ ├── packet_receiver.h │ │ │ │ └── packet_sender.h │ │ │ └── tools │ │ │ │ └── bwe_rtp.h │ │ ├── rtp_rtcp │ │ │ ├── include │ │ │ │ ├── flexfec_receiver.h │ │ │ │ ├── flexfec_sender.h │ │ │ │ ├── receive_statistics.h │ │ │ │ ├── remote_ntp_time_estimator.h │ │ │ │ ├── rtp_cvo.h │ │ │ │ ├── rtp_header_parser.h │ │ │ │ ├── rtp_payload_registry.h │ │ │ │ ├── rtp_receiver.h │ │ │ │ ├── rtp_rtcp.h │ │ │ │ ├── rtp_rtcp_defines.h │ │ │ │ └── ulpfec_receiver.h │ │ │ ├── mocks │ │ │ │ ├── mock_recovered_packet_receiver.h │ │ │ │ ├── mock_rtcp_rtt_stats.h │ │ │ │ └── mock_rtp_rtcp.h │ │ │ ├── source │ │ │ │ ├── byte_io.h │ │ │ │ ├── dtmf_queue.h │ │ │ │ ├── fec_private_tables_bursty.h │ │ │ │ ├── fec_private_tables_random.h │ │ │ │ ├── fec_test_helper.h │ │ │ │ ├── flexfec_header_reader_writer.h │ │ │ │ ├── forward_error_correction.h │ │ │ │ ├── forward_error_correction_internal.h │ │ │ │ ├── packet_loss_stats.h │ │ │ │ ├── playout_delay_oracle.h │ │ │ │ ├── receive_statistics_impl.h │ │ │ │ ├── rtcp_packet.h │ │ │ │ ├── rtcp_packet │ │ │ │ │ ├── app.h │ │ │ │ │ ├── bye.h │ │ │ │ │ ├── common_header.h │ │ │ │ │ ├── compound_packet.h │ │ │ │ │ ├── dlrr.h │ │ │ │ │ ├── extended_jitter_report.h │ │ │ │ │ ├── extended_reports.h │ │ │ │ │ ├── fir.h │ │ │ │ │ ├── nack.h │ │ │ │ │ ├── pli.h │ │ │ │ │ ├── psfb.h │ │ │ │ │ ├── rapid_resync_request.h │ │ │ │ │ ├── receiver_report.h │ │ │ │ │ ├── remb.h │ │ │ │ │ ├── report_block.h │ │ │ │ │ ├── rpsi.h │ │ │ │ │ ├── rrtr.h │ │ │ │ │ ├── rtpfb.h │ │ │ │ │ ├── sdes.h │ │ │ │ │ ├── sender_report.h │ │ │ │ │ ├── sli.h │ │ │ │ │ ├── target_bitrate.h │ │ │ │ │ ├── tmmb_item.h │ │ │ │ │ ├── tmmbn.h │ │ │ │ │ ├── tmmbr.h │ │ │ │ │ ├── transport_feedback.h │ │ │ │ │ └── voip_metric.h │ │ │ │ ├── rtcp_receiver.h │ │ │ │ ├── rtcp_sender.h │ │ │ │ ├── rtcp_utility.h │ │ │ │ ├── rtp_format.h │ │ │ │ ├── rtp_format_h264.h │ │ │ │ ├── rtp_format_video_generic.h │ │ │ │ ├── rtp_format_vp8.h │ │ │ │ ├── rtp_format_vp8_test_helper.h │ │ │ │ ├── rtp_format_vp9.h │ │ │ │ ├── rtp_header_extension.h │ │ │ │ ├── rtp_header_extensions.h │ │ │ │ ├── rtp_packet.h │ │ │ │ ├── rtp_packet_history.h │ │ │ │ ├── rtp_packet_received.h │ │ │ │ ├── rtp_packet_to_send.h │ │ │ │ ├── rtp_receiver_audio.h │ │ │ │ ├── rtp_receiver_impl.h │ │ │ │ ├── rtp_receiver_strategy.h │ │ │ │ ├── rtp_receiver_video.h │ │ │ │ ├── rtp_rtcp_config.h │ │ │ │ ├── rtp_rtcp_impl.h │ │ │ │ ├── rtp_sender.h │ │ │ │ ├── rtp_sender_audio.h │ │ │ │ ├── rtp_sender_video.h │ │ │ │ ├── rtp_utility.h │ │ │ │ ├── ssrc_database.h │ │ │ │ ├── time_util.h │ │ │ │ ├── tmmbr_help.h │ │ │ │ ├── ulpfec_generator.h │ │ │ │ ├── ulpfec_header_reader_writer.h │ │ │ │ ├── ulpfec_receiver_impl.h │ │ │ │ ├── video_codec_information.h │ │ │ │ └── vp8_partition_aggregator.h │ │ │ └── test │ │ │ │ ├── testAPI │ │ │ │ └── test_api.h │ │ │ │ └── testFec │ │ │ │ └── average_residual_loss_xor_codes.h │ │ ├── utility │ │ │ ├── include │ │ │ │ ├── audio_frame_operations.h │ │ │ │ ├── helpers_android.h │ │ │ │ ├── jvm_android.h │ │ │ │ ├── mock │ │ │ │ │ └── mock_process_thread.h │ │ │ │ └── process_thread.h │ │ │ └── source │ │ │ │ └── process_thread_impl.h │ │ ├── video_capture │ │ │ ├── device_info_impl.h │ │ │ ├── linux │ │ │ │ ├── device_info_linux.h │ │ │ │ └── video_capture_linux.h │ │ │ ├── objc │ │ │ │ ├── device_info.h │ │ │ │ ├── device_info_objc.h │ │ │ │ ├── rtc_video_capture_objc.h │ │ │ │ └── video_capture.h │ │ │ ├── video_capture.h │ │ │ ├── video_capture_config.h │ │ │ ├── video_capture_defines.h │ │ │ ├── video_capture_delay.h │ │ │ ├── video_capture_factory.h │ │ │ ├── video_capture_impl.h │ │ │ └── windows │ │ │ │ ├── device_info_ds.h │ │ │ │ ├── device_info_mf.h │ │ │ │ ├── help_functions_ds.h │ │ │ │ ├── sink_filter_ds.h │ │ │ │ ├── video_capture_ds.h │ │ │ │ └── video_capture_mf.h │ │ ├── video_coding │ │ │ ├── codec_database.h │ │ │ ├── codec_timer.h │ │ │ ├── codecs │ │ │ │ ├── h264 │ │ │ │ │ ├── h264_decoder_impl.h │ │ │ │ │ ├── h264_encoder_impl.h │ │ │ │ │ └── include │ │ │ │ │ │ ├── h264.h │ │ │ │ │ │ └── h264_globals.h │ │ │ │ ├── i420 │ │ │ │ │ └── include │ │ │ │ │ │ └── i420.h │ │ │ │ ├── interface │ │ │ │ │ ├── common_constants.h │ │ │ │ │ ├── mock │ │ │ │ │ │ └── mock_video_codec_interface.h │ │ │ │ │ ├── video_codec_interface.h │ │ │ │ │ └── video_error_codes.h │ │ │ │ ├── test │ │ │ │ │ ├── mock │ │ │ │ │ │ └── mock_packet_manipulator.h │ │ │ │ │ ├── packet_manipulator.h │ │ │ │ │ ├── predictive_packet_manipulator.h │ │ │ │ │ ├── stats.h │ │ │ │ │ └── videoprocessor.h │ │ │ │ ├── vp8 │ │ │ │ │ ├── default_temporal_layers.h │ │ │ │ │ ├── include │ │ │ │ │ │ ├── vp8.h │ │ │ │ │ │ ├── vp8_common_types.h │ │ │ │ │ │ └── vp8_globals.h │ │ │ │ │ ├── reference_picture_selection.h │ │ │ │ │ ├── screenshare_layers.h │ │ │ │ │ ├── simulcast_encoder_adapter.h │ │ │ │ │ ├── simulcast_unittest.h │ │ │ │ │ ├── temporal_layers.h │ │ │ │ │ └── vp8_impl.h │ │ │ │ └── vp9 │ │ │ │ │ ├── include │ │ │ │ │ ├── vp9.h │ │ │ │ │ └── vp9_globals.h │ │ │ │ │ ├── screenshare_layers.h │ │ │ │ │ ├── vp9_frame_buffer_pool.h │ │ │ │ │ └── vp9_impl.h │ │ │ ├── decoding_state.h │ │ │ ├── encoded_frame.h │ │ │ ├── fec_rate_table.h │ │ │ ├── frame_buffer.h │ │ │ ├── frame_buffer2.h │ │ │ ├── frame_object.h │ │ │ ├── generic_decoder.h │ │ │ ├── generic_encoder.h │ │ │ ├── h264_sprop_parameter_sets.h │ │ │ ├── h264_sps_pps_tracker.h │ │ │ ├── histogram.h │ │ │ ├── include │ │ │ │ ├── mock │ │ │ │ │ ├── mock_vcm_callbacks.h │ │ │ │ │ └── mock_video_codec_interface.h │ │ │ │ ├── video_codec_initializer.h │ │ │ │ ├── video_codec_interface.h │ │ │ │ ├── video_coding.h │ │ │ │ ├── video_coding_defines.h │ │ │ │ └── video_error_codes.h │ │ │ ├── inter_frame_delay.h │ │ │ ├── internal_defines.h │ │ │ ├── jitter_buffer.h │ │ │ ├── jitter_buffer_common.h │ │ │ ├── jitter_estimator.h │ │ │ ├── media_opt_util.h │ │ │ ├── media_optimization.h │ │ │ ├── nack_fec_tables.h │ │ │ ├── nack_module.h │ │ │ ├── packet.h │ │ │ ├── packet_buffer.h │ │ │ ├── protection_bitrate_calculator.h │ │ │ ├── receiver.h │ │ │ ├── rtp_frame_reference_finder.h │ │ │ ├── rtt_filter.h │ │ │ ├── sequence_number_util.h │ │ │ ├── session_info.h │ │ │ ├── test │ │ │ │ ├── receiver_tests.h │ │ │ │ ├── rtp_player.h │ │ │ │ ├── stream_generator.h │ │ │ │ ├── test_util.h │ │ │ │ └── vcm_payload_sink_factory.h │ │ │ ├── timestamp_map.h │ │ │ ├── timing.h │ │ │ ├── utility │ │ │ │ ├── default_video_bitrate_allocator.h │ │ │ │ ├── frame_dropper.h │ │ │ │ ├── ivf_file_writer.h │ │ │ │ ├── mock │ │ │ │ │ └── mock_frame_dropper.h │ │ │ │ ├── moving_average.h │ │ │ │ ├── qp_parser.h │ │ │ │ ├── quality_scaler.h │ │ │ │ ├── simulcast_rate_allocator.h │ │ │ │ └── vp8_header_parser.h │ │ │ └── video_coding_impl.h │ │ └── video_processing │ │ │ ├── util │ │ │ ├── denoiser_filter.h │ │ │ ├── denoiser_filter_c.h │ │ │ ├── denoiser_filter_neon.h │ │ │ ├── denoiser_filter_sse2.h │ │ │ ├── noise_estimation.h │ │ │ └── skin_detection.h │ │ │ └── video_denoiser.h │ │ ├── p2p │ │ ├── base │ │ │ ├── asyncstuntcpsocket.h │ │ │ ├── basicpacketsocketfactory.h │ │ │ ├── candidate.h │ │ │ ├── candidatepairinterface.h │ │ │ ├── common.h │ │ │ ├── dtlstransportchannel.h │ │ │ ├── dtlstransportinternal.h │ │ │ ├── fakecandidatepair.h │ │ │ ├── fakedtlstransport.h │ │ │ ├── fakeicetransport.h │ │ │ ├── fakepackettransport.h │ │ │ ├── fakeportallocator.h │ │ │ ├── faketransportcontroller.h │ │ │ ├── icetransportinternal.h │ │ │ ├── jseptransport.h │ │ │ ├── mockicetransport.h │ │ │ ├── p2pconstants.h │ │ │ ├── p2ptransportchannel.h │ │ │ ├── packetsocketfactory.h │ │ │ ├── packettransportinterface.h │ │ │ ├── port.h │ │ │ ├── portallocator.h │ │ │ ├── portinterface.h │ │ │ ├── pseudotcp.h │ │ │ ├── relayport.h │ │ │ ├── relayserver.h │ │ │ ├── session.h │ │ │ ├── sessiondescription.h │ │ │ ├── stun.h │ │ │ ├── stunport.h │ │ │ ├── stunrequest.h │ │ │ ├── stunserver.h │ │ │ ├── tcpport.h │ │ │ ├── testrelayserver.h │ │ │ ├── teststunserver.h │ │ │ ├── testturnserver.h │ │ │ ├── transport.h │ │ │ ├── transportchannelimpl.h │ │ │ ├── transportcontroller.h │ │ │ ├── transportdescription.h │ │ │ ├── transportdescriptionfactory.h │ │ │ ├── transportinfo.h │ │ │ ├── turnport.h │ │ │ ├── turnserver.h │ │ │ ├── udpport.h │ │ │ └── udptransport.h │ │ ├── client │ │ │ ├── basicportallocator.h │ │ │ └── socketmonitor.h │ │ ├── quic │ │ │ ├── quicconnectionhelper.h │ │ │ ├── quicsession.h │ │ │ ├── quictransport.h │ │ │ ├── quictransportchannel.h │ │ │ └── reliablequicstream.h │ │ └── stunprober │ │ │ └── stunprober.h │ │ ├── pc │ │ ├── audiomonitor.h │ │ ├── audiotrack.h │ │ ├── bundlefilter.h │ │ ├── channel.h │ │ ├── channelmanager.h │ │ ├── currentspeakermonitor.h │ │ ├── datachannel.h │ │ ├── dtmfsender.h │ │ ├── externalhmac.h │ │ ├── fakemediacontroller.h │ │ ├── localaudiosource.h │ │ ├── mediacontroller.h │ │ ├── mediamonitor.h │ │ ├── mediasession.h │ │ ├── mediastream.h │ │ ├── mediastreamobserver.h │ │ ├── mediastreamtrack.h │ │ ├── ortcfactory.h │ │ ├── peerconnection.h │ │ ├── peerconnectionfactory.h │ │ ├── quicdatachannel.h │ │ ├── quicdatatransport.h │ │ ├── remoteaudiosource.h │ │ ├── rtcpmuxfilter.h │ │ ├── rtcstatscollector.h │ │ ├── rtpreceiver.h │ │ ├── rtpsender.h │ │ ├── sctputils.h │ │ ├── srtpfilter.h │ │ ├── statscollector.h │ │ ├── streamcollection.h │ │ ├── test │ │ │ ├── androidtestinitializer.h │ │ │ ├── fakeaudiocapturemodule.h │ │ │ ├── fakedatachannelprovider.h │ │ │ ├── fakeperiodicvideocapturer.h │ │ │ ├── fakertccertificategenerator.h │ │ │ ├── fakevideotrackrenderer.h │ │ │ ├── fakevideotracksource.h │ │ │ ├── mock_datachannel.h │ │ │ ├── mock_peerconnection.h │ │ │ ├── mock_webrtcsession.h │ │ │ ├── mockpeerconnectionobservers.h │ │ │ ├── peerconnectiontestwrapper.h │ │ │ ├── rtcstatsobtainer.h │ │ │ └── testsdpstrings.h │ │ ├── videocapturertracksource.h │ │ ├── videotrack.h │ │ ├── videotracksource.h │ │ ├── voicechannel.h │ │ ├── webrtcsdp.h │ │ ├── webrtcsession.h │ │ └── webrtcsessiondescriptionfactory.h │ │ ├── sdk │ │ ├── android │ │ │ └── src │ │ │ │ └── jni │ │ │ │ ├── androidmediacodeccommon.h │ │ │ │ ├── androidmediadecoder_jni.h │ │ │ │ ├── androidmediaencoder_jni.h │ │ │ │ ├── androidnetworkmonitor_jni.h │ │ │ │ ├── androidvideotracksource.h │ │ │ │ ├── classreferenceholder.h │ │ │ │ ├── jni_helpers.h │ │ │ │ ├── native_handle_impl.h │ │ │ │ └── surfacetexturehelper_jni.h │ │ └── objc │ │ │ └── Framework │ │ │ ├── Classes │ │ │ ├── NSString+StdString.h │ │ │ ├── RTCAVFoundationVideoCapturerInternal.h │ │ │ ├── RTCAVFoundationVideoSource+Private.h │ │ │ ├── RTCAudioSource+Private.h │ │ │ ├── RTCAudioTrack+Private.h │ │ │ ├── RTCConfiguration+Private.h │ │ │ ├── RTCDataChannel+Private.h │ │ │ ├── RTCDataChannelConfiguration+Private.h │ │ │ ├── RTCDispatcher+Private.h │ │ │ ├── RTCIceCandidate+Private.h │ │ │ ├── RTCIceServer+Private.h │ │ │ ├── RTCLegacyStatsReport+Private.h │ │ │ ├── RTCMediaConstraints+Private.h │ │ │ ├── RTCMediaSource+Private.h │ │ │ ├── RTCMediaStream+Private.h │ │ │ ├── RTCMediaStreamTrack+Private.h │ │ │ ├── RTCMetricsSampleInfo+Private.h │ │ │ ├── RTCOpenGLDefines.h │ │ │ ├── RTCOpenGLVideoRenderer.h │ │ │ ├── RTCPeerConnection+Private.h │ │ │ ├── RTCPeerConnectionFactory+Private.h │ │ │ ├── RTCRtpCodecParameters+Private.h │ │ │ ├── RTCRtpEncodingParameters+Private.h │ │ │ ├── RTCRtpParameters+Private.h │ │ │ ├── RTCRtpReceiver+Private.h │ │ │ ├── RTCRtpSender+Private.h │ │ │ ├── RTCSessionDescription+Private.h │ │ │ ├── RTCShader+Private.h │ │ │ ├── RTCShader.h │ │ │ ├── RTCUIApplication.h │ │ │ ├── RTCVideoFrame+Private.h │ │ │ ├── RTCVideoRendererAdapter+Private.h │ │ │ ├── RTCVideoRendererAdapter.h │ │ │ ├── RTCVideoSource+Private.h │ │ │ ├── RTCVideoTrack+Private.h │ │ │ ├── avfoundationformatmapper.h │ │ │ ├── avfoundationvideocapturer.h │ │ │ ├── h264_video_toolbox_decoder.h │ │ │ ├── h264_video_toolbox_encoder.h │ │ │ ├── h264_video_toolbox_nalu.h │ │ │ ├── helpers.h │ │ │ └── videotoolboxvideocodecfactory.h │ │ │ └── Headers │ │ │ └── WebRTC │ │ │ ├── RTCAVFoundationVideoSource.h │ │ │ ├── RTCAudioSource.h │ │ │ ├── RTCAudioTrack.h │ │ │ ├── RTCCameraPreviewView.h │ │ │ ├── RTCConfiguration.h │ │ │ ├── RTCDataChannel.h │ │ │ ├── RTCDataChannelConfiguration.h │ │ │ ├── RTCDispatcher.h │ │ │ ├── RTCEAGLVideoView.h │ │ │ ├── RTCFieldTrials.h │ │ │ ├── RTCFileLogger.h │ │ │ ├── RTCIceCandidate.h │ │ │ ├── RTCIceServer.h │ │ │ ├── RTCLegacyStatsReport.h │ │ │ ├── RTCLogging.h │ │ │ ├── RTCMacros.h │ │ │ ├── RTCMediaConstraints.h │ │ │ ├── RTCMediaSource.h │ │ │ ├── RTCMediaStream.h │ │ │ ├── RTCMediaStreamTrack.h │ │ │ ├── RTCMetrics.h │ │ │ ├── RTCMetricsSampleInfo.h │ │ │ ├── RTCNSGLVideoView.h │ │ │ ├── RTCPeerConnection.h │ │ │ ├── RTCPeerConnectionFactory.h │ │ │ ├── RTCRtpCodecParameters.h │ │ │ ├── RTCRtpEncodingParameters.h │ │ │ ├── RTCRtpParameters.h │ │ │ ├── RTCRtpReceiver.h │ │ │ ├── RTCRtpSender.h │ │ │ ├── RTCSSLAdapter.h │ │ │ ├── RTCSessionDescription.h │ │ │ ├── RTCTracing.h │ │ │ ├── RTCVideoFrame.h │ │ │ ├── RTCVideoRenderer.h │ │ │ ├── RTCVideoSource.h │ │ │ ├── RTCVideoTrack.h │ │ │ ├── UIDevice+RTCDevice.h │ │ │ └── WebRTC.h │ │ ├── stats │ │ └── test │ │ │ └── rtcteststats.h │ │ ├── system_wrappers │ │ ├── include │ │ │ ├── aligned_array.h │ │ │ ├── aligned_malloc.h │ │ │ ├── asm_defines.h │ │ │ ├── atomic32.h │ │ │ ├── clock.h │ │ │ ├── compile_assert_c.h │ │ │ ├── cpu_features_wrapper.h │ │ │ ├── cpu_info.h │ │ │ ├── critical_section_wrapper.h │ │ │ ├── event_wrapper.h │ │ │ ├── field_trial.h │ │ │ ├── field_trial_default.h │ │ │ ├── file_wrapper.h │ │ │ ├── fix_interlocked_exchange_pointer_win.h │ │ │ ├── logcat_trace_context.h │ │ │ ├── logging.h │ │ │ ├── metrics.h │ │ │ ├── metrics_default.h │ │ │ ├── ntp_time.h │ │ │ ├── rtp_to_ntp_estimator.h │ │ │ ├── rw_lock_wrapper.h │ │ │ ├── sleep.h │ │ │ ├── static_instance.h │ │ │ ├── stringize_macros.h │ │ │ ├── timestamp_extrapolator.h │ │ │ ├── trace.h │ │ │ └── utf_util_win.h │ │ └── source │ │ │ ├── condition_variable_event_win.h │ │ │ ├── event_timer_posix.h │ │ │ ├── event_timer_win.h │ │ │ ├── rw_lock_posix.h │ │ │ ├── rw_lock_win.h │ │ │ ├── rw_lock_winxp_win.h │ │ │ ├── trace_impl.h │ │ │ ├── trace_posix.h │ │ │ └── trace_win.h │ │ ├── test │ │ ├── call_test.h │ │ ├── configurable_frame_size_encoder.h │ │ ├── constants.h │ │ ├── direct_transport.h │ │ ├── drifting_clock.h │ │ ├── encoder_settings.h │ │ ├── fake_audio_device.h │ │ ├── fake_decoder.h │ │ ├── fake_encoder.h │ │ ├── fake_network_pipe.h │ │ ├── fake_texture_frame.h │ │ ├── fake_videorenderer.h │ │ ├── field_trial.h │ │ ├── frame_generator.h │ │ ├── frame_generator_capturer.h │ │ ├── frame_utils.h │ │ ├── fuzzers │ │ │ └── audio_decoder_fuzzer.h │ │ ├── gl │ │ │ └── gl_renderer.h │ │ ├── gmock.h │ │ ├── gtest.h │ │ ├── layer_filtering_transport.h │ │ ├── linux │ │ │ └── glx_renderer.h │ │ ├── mac │ │ │ └── video_renderer_mac.h │ │ ├── mock_transport.h │ │ ├── mock_voe_channel_proxy.h │ │ ├── mock_voice_engine.h │ │ ├── null_transport.h │ │ ├── rtcp_packet_parser.h │ │ ├── rtp_file_reader.h │ │ ├── rtp_file_writer.h │ │ ├── rtp_rtcp_observer.h │ │ ├── run_loop.h │ │ ├── run_test.h │ │ ├── statistics.h │ │ ├── testsupport │ │ │ ├── fileutils.h │ │ │ ├── frame_reader.h │ │ │ ├── frame_writer.h │ │ │ ├── isolated_output.h │ │ │ ├── metrics │ │ │ │ └── video_metrics.h │ │ │ ├── mock │ │ │ │ ├── mock_frame_reader.h │ │ │ │ └── mock_frame_writer.h │ │ │ ├── packet_reader.h │ │ │ ├── perf_test.h │ │ │ ├── trace_to_stderr.h │ │ │ └── unittest_utils.h │ │ ├── vcm_capturer.h │ │ ├── video_capturer.h │ │ ├── video_renderer.h │ │ └── win │ │ │ └── d3d_renderer.h │ │ ├── tools │ │ ├── converter │ │ │ └── converter.h │ │ ├── event_log_visualizer │ │ │ ├── analyzer.h │ │ │ ├── plot_base.h │ │ │ ├── plot_protobuf.h │ │ │ └── plot_python.h │ │ ├── frame_analyzer │ │ │ ├── reference_less_video_analysis_lib.h │ │ │ └── video_quality_analysis.h │ │ ├── frame_editing │ │ │ └── frame_editing_lib.h │ │ └── simple_command_line_parser.h │ │ ├── typedefs.h │ │ ├── video │ │ ├── call_stats.h │ │ ├── encoder_rtcp_feedback.h │ │ ├── overuse_frame_detector.h │ │ ├── payload_router.h │ │ ├── quality_threshold.h │ │ ├── receive_statistics_proxy.h │ │ ├── report_block_stats.h │ │ ├── rtp_stream_receiver.h │ │ ├── rtp_streams_synchronizer.h │ │ ├── send_delay_stats.h │ │ ├── send_statistics_proxy.h │ │ ├── stats_counter.h │ │ ├── stream_synchronization.h │ │ ├── transport_adapter.h │ │ ├── video_quality_test.h │ │ ├── video_receive_stream.h │ │ ├── video_send_stream.h │ │ ├── video_stream_decoder.h │ │ ├── vie_encoder.h │ │ └── vie_remb.h │ │ ├── video_decoder.h │ │ ├── video_encoder.h │ │ ├── video_frame.h │ │ ├── video_receive_stream.h │ │ ├── video_send_stream.h │ │ └── voice_engine │ │ ├── channel.h │ │ ├── channel_manager.h │ │ ├── channel_proxy.h │ │ ├── coder.h │ │ ├── file_player.h │ │ ├── file_recorder.h │ │ ├── include │ │ ├── voe_audio_processing.h │ │ ├── voe_base.h │ │ ├── voe_codec.h │ │ ├── voe_errors.h │ │ ├── voe_external_media.h │ │ ├── voe_file.h │ │ ├── voe_hardware.h │ │ ├── voe_neteq_stats.h │ │ ├── voe_network.h │ │ ├── voe_rtp_rtcp.h │ │ ├── voe_video_sync.h │ │ └── voe_volume_control.h │ │ ├── level_indicator.h │ │ ├── mock │ │ └── mock_voe_observer.h │ │ ├── monitor_module.h │ │ ├── output_mixer.h │ │ ├── shared_data.h │ │ ├── statistics.h │ │ ├── test │ │ ├── auto_test │ │ │ ├── automated_mode.h │ │ │ ├── fakes │ │ │ │ ├── conference_transport.h │ │ │ │ ├── fake_media_process.h │ │ │ │ └── loudest_filter.h │ │ │ ├── fixtures │ │ │ │ ├── after_initialization_fixture.h │ │ │ │ ├── after_streaming_fixture.h │ │ │ │ ├── before_initialization_fixture.h │ │ │ │ └── before_streaming_fixture.h │ │ │ ├── voe_cpu_test.h │ │ │ ├── voe_standard_test.h │ │ │ ├── voe_stress_test.h │ │ │ ├── voe_test_common.h │ │ │ ├── voe_test_defines.h │ │ │ └── voe_test_interface.h │ │ └── channel_transport │ │ │ ├── channel_transport.h │ │ │ ├── traffic_control_win.h │ │ │ ├── udp_socket2_manager_win.h │ │ │ ├── udp_socket2_win.h │ │ │ ├── udp_socket_manager_posix.h │ │ │ ├── udp_socket_manager_wrapper.h │ │ │ ├── udp_socket_posix.h │ │ │ ├── udp_socket_wrapper.h │ │ │ ├── udp_transport.h │ │ │ └── udp_transport_impl.h │ │ ├── transmit_mixer.h │ │ ├── transport_feedback_packet_loss_tracker.h │ │ ├── utility.h │ │ ├── voe_audio_processing_impl.h │ │ ├── voe_base_impl.h │ │ ├── voe_codec_impl.h │ │ ├── voe_external_media_impl.h │ │ ├── voe_file_impl.h │ │ ├── voe_hardware_impl.h │ │ ├── voe_neteq_stats_impl.h │ │ ├── voe_network_impl.h │ │ ├── voe_rtp_rtcp_impl.h │ │ ├── voe_video_sync_impl.h │ │ ├── voe_volume_control_impl.h │ │ ├── voice_engine_defines.h │ │ ├── voice_engine_fixture.h │ │ └── voice_engine_impl.h └── webrtc-static-lib │ ├── field_trial_default.lib │ └── webrtc.lib └── webrtc-projects-dependency.png /.gitattributes: -------------------------------------------------------------------------------- 1 | *.lib filter=lfs diff=lfs merge=lfs -text 2 | -------------------------------------------------------------------------------- /Win32Project/Win32Project/Resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Win32Project.rc 4 | // 5 | 6 | #define IDS_APP_TITLE 103 7 | 8 | #define IDR_MAINFRAME 128 9 | #define IDD_WIN32PROJECT_DIALOG 102 10 | #define IDD_ABOUTBOX 103 11 | #define IDM_ABOUT 104 12 | #define IDM_EXIT 105 13 | #define IDI_WIN32PROJECT 107 14 | #define IDI_SMALL 108 15 | #define IDC_WIN32PROJECT 109 16 | #define IDC_MYICON 2 17 | #ifndef IDC_STATIC 18 | #define IDC_STATIC -1 19 | #endif 20 | // Next default values for new objects 21 | // 22 | #ifdef APSTUDIO_INVOKED 23 | #ifndef APSTUDIO_READONLY_SYMBOLS 24 | 25 | #define _APS_NO_MFC 130 26 | #define _APS_NEXT_RESOURCE_VALUE 129 27 | #define _APS_NEXT_COMMAND_VALUE 32771 28 | #define _APS_NEXT_CONTROL_VALUE 1000 29 | #define _APS_NEXT_SYMED_VALUE 110 30 | #endif 31 | #endif 32 | -------------------------------------------------------------------------------- /Win32Project/Win32Project/Win32Project.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "resource.h" 4 | -------------------------------------------------------------------------------- /Win32Project/Win32Project/Win32Project.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xjsXjtu/webrtc-native-demo-win/19adbe054dcce3ef89455309a9b217edb44d1ec8/Win32Project/Win32Project/Win32Project.ico -------------------------------------------------------------------------------- /Win32Project/Win32Project/Win32Project.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xjsXjtu/webrtc-native-demo-win/19adbe054dcce3ef89455309a9b217edb44d1ec8/Win32Project/Win32Project/Win32Project.rc -------------------------------------------------------------------------------- /Win32Project/Win32Project/small.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xjsXjtu/webrtc-native-demo-win/19adbe054dcce3ef89455309a9b217edb44d1ec8/Win32Project/Win32Project/small.ico -------------------------------------------------------------------------------- /Win32Project/Win32Project/stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // Win32Project.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /Win32Project/Win32Project/stdafx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | #include "targetver.h" 9 | 10 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 11 | // Windows Header Files: 12 | #include 13 | 14 | // C RunTime Header Files 15 | #include 16 | #include 17 | #include 18 | #include 19 | 20 | 21 | // TODO: reference additional headers your program requires here 22 | -------------------------------------------------------------------------------- /Win32Project/Win32Project/targetver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // Including SDKDDKVer.h defines the highest available Windows platform. 4 | 5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and 6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. 7 | 8 | #include 9 | -------------------------------------------------------------------------------- /Win32Project/Win32Project/utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // szPathName : Specifies the pathname 4 | // lpBits : Specifies the bitmap bits 5 | // w : Specifies the image width 6 | // h : Specifies the image height 7 | bool SaveBitMap(const char* szPathName, void* lpBits, int w, int h); -------------------------------------------------------------------------------- /Win32Project/Win32Project/webrtc-wrapper/enginewrapper.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | #include "enginewrapper.h" 4 | 5 | namespace demo { 6 | 7 | bool EngineWrapper::StartEngine(HWND hWnd) { 8 | capture_ = demo::VideoCapture::Create(); 9 | if (!capture_) return false; 10 | render_ = new demo::VideoRenderer(hWnd); 11 | capture_->AddOrUpdateSink(render_); 12 | capture_->Start(); 13 | return true; 14 | } 15 | 16 | void EngineWrapper::StopEngine() { 17 | capture_->Stop(); 18 | delete capture_; 19 | delete render_; 20 | } 21 | } -------------------------------------------------------------------------------- /Win32Project/Win32Project/webrtc-wrapper/enginewrapper.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "video_capture.h" 4 | #include "video_render.h" 5 | 6 | namespace demo { 7 | class EngineWrapper { 8 | public: 9 | EngineWrapper():capture_(NULL), render_(NULL) {} 10 | ~EngineWrapper() { 11 | StopEngine(); 12 | } 13 | 14 | bool StartEngine(HWND hWnd); 15 | 16 | void StopEngine(); 17 | 18 | VideoRenderer *GetVideoRender() const { 19 | return render_; 20 | } 21 | 22 | private: 23 | VideoCapture *capture_; 24 | VideoRenderer *render_; 25 | 26 | }; 27 | 28 | } 29 | -------------------------------------------------------------------------------- /Win32Project/Win32Project/webrtc-wrapper/video_capture.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "webrtc/media/engine/webrtcvideocapturer.h" 4 | #include "webrtc/media/engine/webrtcvideocapturerfactory.h" 5 | #include "webrtc/modules/video_capture/video_capture_factory.h" 6 | #include "webrtc/api/video/video_frame.h" 7 | 8 | namespace demo{ 9 | 10 | static const cricket::VideoFormat kDefaultFormat = { 11 | 640, 480, FPS_TO_INTERVAL(30), cricket::FOURCC_ANY }; 12 | 13 | class VideoCapture : public sigslot::has_slots<> { 14 | public: 15 | static VideoCapture* Create(); 16 | 17 | void AddOrUpdateSink(rtc::VideoSinkInterface* sink); 18 | 19 | bool Start(); 20 | 21 | void Stop(); 22 | 23 | private: 24 | VideoCapture(cricket::VideoCapturer *capture) :capture_(capture) {} 25 | // from VideoCapturerTrackSource, but do nothing here 26 | void OnStateChange(cricket::VideoCapturer* capturer, cricket::CaptureState capture_state) {} 27 | 28 | cricket::VideoCapturer *capture_; 29 | std::vector*> sinks_; 30 | }; 31 | } -------------------------------------------------------------------------------- /Win32Project/Win32Project/webrtc-wrapper/video_render.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "stdafx.h" 4 | #include "webrtc/media/base/videosinkinterface.h" 5 | #include "webrtc/api/video/video_frame.h" 6 | #include "webrtc/base/criticalsection.h" 7 | 8 | namespace demo { 9 | class VideoRenderer : public rtc::VideoSinkInterface { 10 | public: 11 | VideoRenderer(HWND wnd); 12 | virtual ~VideoRenderer(); 13 | 14 | // VideoSinkInterface implementation 15 | void OnFrame(const webrtc::VideoFrame& frame) override; 16 | 17 | const BITMAPINFO& bmi() const { return bmi_; } 18 | const uint8_t* image() const { return image_.get(); } 19 | 20 | protected: 21 | void SetSize(int width, int height); 22 | 23 | HWND wnd_; 24 | BITMAPINFO bmi_; 25 | std::unique_ptr image_; 26 | rtc::CriticalSection buffer_lock_; 27 | }; 28 | } -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/third_party/libyuv/include/libyuv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 The LibYuv 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 | #ifndef INCLUDE_LIBYUV_H_ 12 | #define INCLUDE_LIBYUV_H_ 13 | 14 | #include "libyuv/basic_types.h" 15 | #include "libyuv/compare.h" 16 | #include "libyuv/convert.h" 17 | #include "libyuv/convert_argb.h" 18 | #include "libyuv/convert_from.h" 19 | #include "libyuv/convert_from_argb.h" 20 | #include "libyuv/cpu_id.h" 21 | #include "libyuv/mjpeg_decoder.h" 22 | #include "libyuv/planar_functions.h" 23 | #include "libyuv/rotate.h" 24 | #include "libyuv/rotate_argb.h" 25 | #include "libyuv/row.h" 26 | #include "libyuv/scale.h" 27 | #include "libyuv/scale_argb.h" 28 | #include "libyuv/scale_row.h" 29 | #include "libyuv/version.h" 30 | #include "libyuv/video_common.h" 31 | 32 | #endif // INCLUDE_LIBYUV_H_ 33 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/third_party/libyuv/include/libyuv/rotate_argb.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 The LibYuv 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 | #ifndef INCLUDE_LIBYUV_ROTATE_ARGB_H_ 12 | #define INCLUDE_LIBYUV_ROTATE_ARGB_H_ 13 | 14 | #include "libyuv/basic_types.h" 15 | #include "libyuv/rotate.h" // For RotationMode. 16 | 17 | #ifdef __cplusplus 18 | namespace libyuv { 19 | extern "C" { 20 | #endif 21 | 22 | // Rotate ARGB frame 23 | LIBYUV_API 24 | int ARGBRotate(const uint8* src_argb, 25 | int src_stride_argb, 26 | uint8* dst_argb, 27 | int dst_stride_argb, 28 | int src_width, 29 | int src_height, 30 | enum RotationMode mode); 31 | 32 | #ifdef __cplusplus 33 | } // extern "C" 34 | } // namespace libyuv 35 | #endif 36 | 37 | #endif // INCLUDE_LIBYUV_ROTATE_ARGB_H_ 38 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/third_party/libyuv/include/libyuv/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 The LibYuv 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 | #ifndef INCLUDE_LIBYUV_VERSION_H_ 12 | #define INCLUDE_LIBYUV_VERSION_H_ 13 | 14 | #define LIBYUV_VERSION 1637 15 | 16 | #endif // INCLUDE_LIBYUV_VERSION_H_ 17 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/datachannel.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 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 | #ifndef WEBRTC_API_DATACHANNEL_H_ 12 | #define WEBRTC_API_DATACHANNEL_H_ 13 | 14 | // Including this file is deprecated. It is no longer part of the public API. 15 | // This only includes the file in its new location for backwards compatibility. 16 | #include "webrtc/pc/datachannel.h" 17 | 18 | #endif // WEBRTC_API_DATACHANNEL_H_ 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/mediacontroller.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #ifndef WEBRTC_API_MEDIACONTROLLER_H_ 12 | #define WEBRTC_API_MEDIACONTROLLER_H_ 13 | 14 | // Including this file is deprecated. It is no longer part of the public API. 15 | // This only includes the file in its new location for backwards compatibility. 16 | #include "webrtc/pc/mediacontroller.h" 17 | 18 | #endif // WEBRTC_API_MEDIACONTROLLER_H_ 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/mediastream.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #ifndef WEBRTC_API_MEDIASTREAM_H_ 12 | #define WEBRTC_API_MEDIASTREAM_H_ 13 | 14 | // Including this file is deprecated. It is no longer part of the public API. 15 | // This only includes the file in its new location for backwards compatibility. 16 | #include "webrtc/pc/mediastream.h" 17 | 18 | #endif // WEBRTC_API_MEDIASTREAM_H_ 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/mediastreamtrack.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 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 | #ifndef WEBRTC_API_MEDIASTREAMTRACK_H_ 12 | #define WEBRTC_API_MEDIASTREAMTRACK_H_ 13 | 14 | // Including this file is deprecated. It is no longer part of the public API. 15 | // This only includes the file in its new location for backwards compatibility. 16 | #include "webrtc/pc/mediastreamtrack.h" 17 | 18 | #endif // WEBRTC_API_MEDIASTREAMTRACK_H_ 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/mediatypes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #ifndef WEBRTC_API_MEDIATYPES_H_ 12 | #define WEBRTC_API_MEDIATYPES_H_ 13 | 14 | #include 15 | 16 | namespace cricket { 17 | 18 | enum MediaType { 19 | MEDIA_TYPE_AUDIO, 20 | MEDIA_TYPE_VIDEO, 21 | MEDIA_TYPE_DATA 22 | }; 23 | 24 | std::string MediaTypeToString(MediaType type); 25 | 26 | } // namespace cricket 27 | 28 | #endif // WEBRTC_API_MEDIATYPES_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/rtpsender.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #ifndef WEBRTC_API_RTPSENDER_H_ 12 | #define WEBRTC_API_RTPSENDER_H_ 13 | 14 | // Including this file is deprecated. It is no longer part of the public API. 15 | // This only includes the file in its new location for backwards compatibility. 16 | #include "webrtc/pc/rtpsender.h" 17 | 18 | #endif // WEBRTC_API_RTPSENDER_H_ 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/stats/rtcstatscollectorcallback.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #ifndef WEBRTC_API_STATS_RTCSTATSCOLLECTORCALLBACK_H_ 12 | #define WEBRTC_API_STATS_RTCSTATSCOLLECTORCALLBACK_H_ 13 | 14 | #include "webrtc/api/stats/rtcstatsreport.h" 15 | #include "webrtc/base/refcount.h" 16 | #include "webrtc/base/scoped_ref_ptr.h" 17 | 18 | namespace webrtc { 19 | 20 | class RTCStatsCollectorCallback : public virtual rtc::RefCountInterface { 21 | public: 22 | virtual ~RTCStatsCollectorCallback() {} 23 | 24 | virtual void OnStatsDelivered( 25 | const rtc::scoped_refptr& report) = 0; 26 | }; 27 | 28 | } // namespace webrtc 29 | 30 | #endif // WEBRTC_API_STATS_RTCSTATSCOLLECTORCALLBACK_H_ 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/streamcollection.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 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 | #ifndef WEBRTC_API_STREAMCOLLECTION_H_ 12 | #define WEBRTC_API_STREAMCOLLECTION_H_ 13 | 14 | // Including this file is deprecated. It is no longer part of the public API. 15 | // This only includes the file in its new location for backwards compatibility. 16 | #include "webrtc/pc/streamcollection.h" 17 | 18 | #endif // WEBRTC_API_STREAMCOLLECTION_H_ 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/test/mock_audio_mixer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_API_TEST_MOCK_AUDIO_MIXER_H_ 12 | #define WEBRTC_API_TEST_MOCK_AUDIO_MIXER_H_ 13 | 14 | #include "webrtc/api/audio/audio_mixer.h" 15 | 16 | #include "webrtc/test/gmock.h" 17 | 18 | namespace webrtc { 19 | namespace test { 20 | 21 | class MockAudioMixer : public AudioMixer { 22 | public: 23 | MOCK_METHOD1(AddSource, bool(Source* audio_source)); 24 | MOCK_METHOD1(RemoveSource, void(Source* audio_source)); 25 | MOCK_METHOD2(Mix, 26 | void(size_t number_of_channels, 27 | AudioFrame* audio_frame_for_mixing)); 28 | }; 29 | } // namespace test 30 | } // namespace webrtc 31 | 32 | #endif // WEBRTC_API_TEST_MOCK_AUDIO_MIXER_H_ 33 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/video/video_rotation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | #ifndef WEBRTC_API_VIDEO_VIDEO_ROTATION_H_ 12 | #define WEBRTC_API_VIDEO_VIDEO_ROTATION_H_ 13 | 14 | namespace webrtc { 15 | 16 | // enum for clockwise rotation. 17 | enum VideoRotation { 18 | kVideoRotation_0 = 0, 19 | kVideoRotation_90 = 90, 20 | kVideoRotation_180 = 180, 21 | kVideoRotation_270 = 270 22 | }; 23 | 24 | } // namespace webrtc 25 | 26 | #endif // WEBRTC_API_VIDEO_VIDEO_ROTATION_H_ 27 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/videotracksource.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #ifndef WEBRTC_API_VIDEOTRACKSOURCE_H_ 12 | #define WEBRTC_API_VIDEOTRACKSOURCE_H_ 13 | 14 | // Including this file is deprecated. It is no longer part of the public API. 15 | // This only includes the file in its new location for backwards compatibility. 16 | #include "webrtc/pc/videotracksource.h" 17 | 18 | #endif // WEBRTC_API_VIDEOTRACKSOURCE_H_ 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/api/webrtcsdp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 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 | #ifndef WEBRTC_API_WEBRTCSDP_H_ 12 | #define WEBRTC_API_WEBRTCSDP_H_ 13 | 14 | // Including this file is deprecated. It is no longer part of the public API. 15 | // This only includes the file in its new location for backwards compatibility. 16 | #include "webrtc/pc/webrtcsdp.h" 17 | 18 | #endif // WEBRTC_API_WEBRTCSDP_H_ 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/audio/conversion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | #ifndef WEBRTC_AUDIO_CONVERSION_H_ 12 | #define WEBRTC_AUDIO_CONVERSION_H_ 13 | 14 | namespace webrtc { 15 | 16 | // Convert fixed point number with 8 bit fractional part, to floating point. 17 | inline float Q8ToFloat(uint32_t v) { 18 | return static_cast(v) / (1 << 8); 19 | } 20 | 21 | // Convert fixed point number with 14 bit fractional part, to floating point. 22 | inline float Q14ToFloat(uint32_t v) { 23 | return static_cast(v) / (1 << 14); 24 | } 25 | } // namespace webrtc 26 | 27 | #endif // WEBRTC_AUDIO_CONVERSION_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/cpu_time.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 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 | #ifndef WEBRTC_BASE_CPU_TIME_H_ 12 | #define WEBRTC_BASE_CPU_TIME_H_ 13 | 14 | #include 15 | 16 | namespace rtc { 17 | 18 | // Returns total CPU time of a current process in nanoseconds. 19 | // Time base is unknown, therefore use only to calculate deltas. 20 | int64_t GetProcessCpuTimeNanos(); 21 | 22 | // Returns total CPU time of a current thread in nanoseconds. 23 | // Time base is unknown, therefore use only to calculate deltas. 24 | int64_t GetThreadCpuTimeNanos(); 25 | 26 | } // namespace rtc 27 | 28 | #endif // WEBRTC_BASE_CPU_TIME_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/crc32.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 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 | #ifndef WEBRTC_BASE_CRC32_H_ 12 | #define WEBRTC_BASE_CRC32_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/base/basictypes.h" 17 | 18 | namespace rtc { 19 | 20 | // Updates a CRC32 checksum with |len| bytes from |buf|. |initial| holds the 21 | // checksum result from the previous update; for the first call, it should be 0. 22 | uint32_t UpdateCrc32(uint32_t initial, const void* buf, size_t len); 23 | 24 | // Computes a CRC32 checksum using |len| bytes from |buf|. 25 | inline uint32_t ComputeCrc32(const void* buf, size_t len) { 26 | return UpdateCrc32(0, buf, len); 27 | } 28 | inline uint32_t ComputeCrc32(const std::string& str) { 29 | return ComputeCrc32(str.c_str(), str.size()); 30 | } 31 | 32 | } // namespace rtc 33 | 34 | #endif // WEBRTC_BASE_CRC32_H_ 35 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/gunit_prod.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 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 | #ifndef WEBRTC_BASE_GUNIT_PROD_H_ 12 | #define WEBRTC_BASE_GUNIT_PROD_H_ 13 | 14 | #if defined(WEBRTC_ANDROID) 15 | // Android doesn't use gtest at all, so anything that relies on gtest should 16 | // check this define first. 17 | #define NO_GTEST 18 | #elif defined (GTEST_RELATIVE_PATH) 19 | #include "gtest/gtest_prod.h" 20 | #else 21 | #include "testing/base/gunit_prod.h" 22 | #endif 23 | 24 | #endif // WEBRTC_BASE_GUNIT_PROD_H_ 25 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/md5digest.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 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 | #ifndef WEBRTC_BASE_MD5DIGEST_H_ 12 | #define WEBRTC_BASE_MD5DIGEST_H_ 13 | 14 | #include "webrtc/base/md5.h" 15 | #include "webrtc/base/messagedigest.h" 16 | 17 | namespace rtc { 18 | 19 | // A simple wrapper for our MD5 implementation. 20 | class Md5Digest : public MessageDigest { 21 | public: 22 | enum { kSize = 16 }; 23 | Md5Digest() { 24 | MD5Init(&ctx_); 25 | } 26 | size_t Size() const override; 27 | void Update(const void* buf, size_t len) override; 28 | size_t Finish(void* buf, size_t len) override; 29 | 30 | private: 31 | MD5Context ctx_; 32 | }; 33 | 34 | } // namespace rtc 35 | 36 | #endif // WEBRTC_BASE_MD5DIGEST_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/memory_usage.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 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 | #ifndef WEBRTC_BASE_MEMORY_USAGE_H_ 11 | #define WEBRTC_BASE_MEMORY_USAGE_H_ 12 | 13 | #include 14 | 15 | namespace rtc { 16 | 17 | // Returns current memory used by the process in bytes (working set size on 18 | // Windows and resident set size on other platforms). 19 | // Returns -1 on failure. 20 | int64_t GetProcessResidentSizeBytes(); 21 | 22 | } // namespace rtc 23 | 24 | #endif // WEBRTC_BASE_MEMORY_USAGE_H_ 25 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/nullsocketserver.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 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 | #ifndef WEBRTC_BASE_NULLSOCKETSERVER_H_ 12 | #define WEBRTC_BASE_NULLSOCKETSERVER_H_ 13 | 14 | #include "webrtc/base/event.h" 15 | #include "webrtc/base/socketserver.h" 16 | 17 | namespace rtc { 18 | 19 | class NullSocketServer : public SocketServer { 20 | public: 21 | NullSocketServer(); 22 | ~NullSocketServer() override; 23 | 24 | bool Wait(int cms, bool process_io) override; 25 | void WakeUp() override; 26 | 27 | Socket* CreateSocket(int type) override; 28 | Socket* CreateSocket(int family, int type) override; 29 | AsyncSocket* CreateAsyncSocket(int type) override; 30 | AsyncSocket* CreateAsyncSocket(int family, int type) override; 31 | 32 | private: 33 | Event event_; 34 | }; 35 | 36 | } // namespace rtc 37 | 38 | #endif // WEBRTC_BASE_NULLSOCKETSERVER_H_ 39 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/openssl.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 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 | #ifndef WEBRTC_BASE_OPENSSL_H_ 12 | #define WEBRTC_BASE_OPENSSL_H_ 13 | 14 | #include 15 | 16 | #if (OPENSSL_VERSION_NUMBER < 0x10000000L) 17 | #error OpenSSL is older than 1.0.0, which is the minimum supported version. 18 | #endif 19 | 20 | #endif // WEBRTC_BASE_OPENSSL_H_ 21 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/platform_thread_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | #ifndef WEBRTC_BASE_PLATFORM_THREAD_TYPES_H_ 12 | #define WEBRTC_BASE_PLATFORM_THREAD_TYPES_H_ 13 | 14 | #if defined(WEBRTC_WIN) 15 | #include 16 | #include 17 | #elif defined(WEBRTC_POSIX) 18 | #include 19 | #include 20 | #endif 21 | 22 | namespace rtc { 23 | #if defined(WEBRTC_WIN) 24 | typedef DWORD PlatformThreadId; 25 | typedef DWORD PlatformThreadRef; 26 | #elif defined(WEBRTC_POSIX) 27 | typedef pid_t PlatformThreadId; 28 | typedef pthread_t PlatformThreadRef; 29 | #endif 30 | } // namespace rtc 31 | 32 | #endif // WEBRTC_BASE_PLATFORM_THREAD_TYPES_H_ 33 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/protobuf_utils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 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 12 | 13 | #ifndef WEBRTC_BASE_PROTOBUF_UTILS_H_ 14 | #define WEBRTC_BASE_PROTOBUF_UTILS_H_ 15 | 16 | namespace webrtc { 17 | 18 | using ProtoString = std::string; 19 | 20 | } // namespace webrtc 21 | 22 | #if WEBRTC_ENABLE_PROTOBUF 23 | 24 | #include "third_party/protobuf/src/google/protobuf/message_lite.h" 25 | #include "third_party/protobuf/src/google/protobuf/repeated_field.h" 26 | 27 | namespace webrtc { 28 | 29 | using google::protobuf::MessageLite; 30 | using google::protobuf::RepeatedPtrField; 31 | 32 | } // namespace webrtc 33 | 34 | #endif // WEBRTC_ENABLE_PROTOBUF 35 | 36 | #endif // WEBRTC_BASE_PROTOBUF_UTILS_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/proxyinfo.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2004 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 | #ifndef WEBRTC_BASE_PROXYINFO_H__ 12 | #define WEBRTC_BASE_PROXYINFO_H__ 13 | 14 | #include 15 | #include "webrtc/base/socketaddress.h" 16 | #include "webrtc/base/cryptstring.h" 17 | 18 | namespace rtc { 19 | 20 | enum ProxyType { 21 | PROXY_NONE, 22 | PROXY_HTTPS, 23 | PROXY_SOCKS5, 24 | PROXY_UNKNOWN 25 | }; 26 | const char * ProxyToString(ProxyType proxy); 27 | 28 | struct ProxyInfo { 29 | ProxyType type; 30 | SocketAddress address; 31 | std::string autoconfig_url; 32 | bool autodetect; 33 | std::string bypass_list; 34 | std::string username; 35 | CryptString password; 36 | 37 | ProxyInfo(); 38 | ~ProxyInfo(); 39 | }; 40 | 41 | } // namespace rtc 42 | 43 | #endif // WEBRTC_BASE_PROXYINFO_H__ 44 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/refcount.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 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 | #ifndef WEBRTC_BASE_REFCOUNT_H_ 11 | #define WEBRTC_BASE_REFCOUNT_H_ 12 | 13 | #include "webrtc/base/refcountedobject.h" 14 | 15 | namespace rtc { 16 | 17 | // Reference count interface. 18 | class RefCountInterface { 19 | public: 20 | virtual int AddRef() const = 0; 21 | virtual int Release() const = 0; 22 | 23 | protected: 24 | virtual ~RefCountInterface() {} 25 | }; 26 | 27 | } // namespace rtc 28 | 29 | #endif // WEBRTC_BASE_REFCOUNT_H_ 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/sha1.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SHA-1 in C 3 | * By Steve Reid 4 | * 100% Public Domain 5 | * 6 | */ 7 | 8 | // Ported to C++, Google style, under namespace rtc. 9 | 10 | #ifndef WEBRTC_BASE_SHA1_H_ 11 | #define WEBRTC_BASE_SHA1_H_ 12 | 13 | #include 14 | #include 15 | 16 | namespace rtc { 17 | 18 | struct SHA1_CTX { 19 | uint32_t state[5]; 20 | // TODO: Change bit count to uint64_t. 21 | uint32_t count[2]; // Bit count of input. 22 | uint8_t buffer[64]; 23 | }; 24 | 25 | #define SHA1_DIGEST_SIZE 20 26 | 27 | void SHA1Init(SHA1_CTX* context); 28 | void SHA1Update(SHA1_CTX* context, const uint8_t* data, size_t len); 29 | void SHA1Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]); 30 | 31 | #endif // WEBRTC_BASE_SHA1_H_ 32 | 33 | } // namespace rtc 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/sha1digest.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 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 | #ifndef WEBRTC_BASE_SHA1DIGEST_H_ 12 | #define WEBRTC_BASE_SHA1DIGEST_H_ 13 | 14 | #include "webrtc/base/messagedigest.h" 15 | #include "webrtc/base/sha1.h" 16 | 17 | namespace rtc { 18 | 19 | // A simple wrapper for our SHA-1 implementation. 20 | class Sha1Digest : public MessageDigest { 21 | public: 22 | enum { kSize = SHA1_DIGEST_SIZE }; 23 | Sha1Digest() { 24 | SHA1Init(&ctx_); 25 | } 26 | size_t Size() const override; 27 | void Update(const void* buf, size_t len) override; 28 | size_t Finish(void* buf, size_t len) override; 29 | 30 | private: 31 | SHA1_CTX ctx_; 32 | }; 33 | 34 | } // namespace rtc 35 | 36 | #endif // WEBRTC_BASE_SHA1DIGEST_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/task_queue_posix.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #ifndef WEBRTC_BASE_TASK_QUEUE_POSIX_H_ 12 | #define WEBRTC_BASE_TASK_QUEUE_POSIX_H_ 13 | 14 | #include 15 | 16 | namespace rtc { 17 | 18 | class TaskQueue; 19 | 20 | namespace internal { 21 | 22 | class AutoSetCurrentQueuePtr { 23 | public: 24 | explicit AutoSetCurrentQueuePtr(TaskQueue* q); 25 | ~AutoSetCurrentQueuePtr(); 26 | 27 | private: 28 | TaskQueue* const prev_; 29 | }; 30 | 31 | pthread_key_t GetQueuePtrTls(); 32 | 33 | } // namespace internal 34 | } // namespace rtc 35 | 36 | #endif // WEBRTC_BASE_TASK_QUEUE_POSIX_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/base/win32socketinit.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 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 | #ifndef WEBRTC_BASE_WIN32SOCKETINIT_H_ 12 | #define WEBRTC_BASE_WIN32SOCKETINIT_H_ 13 | 14 | namespace rtc { 15 | 16 | void EnsureWinsockInit(); 17 | 18 | } // namespace rtc 19 | 20 | #endif // WEBRTC_BASE_WIN32SOCKETINIT_H_ 21 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/call.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | // This file is deprecated. It has been moved to the location below. Please 12 | // update your includes! See: http://bugs.webrtc.org/6716 13 | #include "webrtc/call/call.h" 14 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/common_audio/fft4g.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_COMMON_AUDIO_FFT4G_H_ 12 | #define WEBRTC_COMMON_AUDIO_FFT4G_H_ 13 | 14 | #if defined(__cplusplus) 15 | extern "C" { 16 | #endif 17 | 18 | // Refer to fft4g.c for documentation. 19 | void WebRtc_rdft(size_t n, int isgn, float *a, size_t *ip, float *w); 20 | 21 | #if defined(__cplusplus) 22 | } 23 | #endif 24 | 25 | #endif // WEBRTC_COMMON_AUDIO_FFT4G_H_ 26 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/common_audio/mocks/mock_smoothing_filter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_COMMON_AUDIO_MOCKS_MOCK_SMOOTHING_FILTER_H_ 12 | #define WEBRTC_COMMON_AUDIO_MOCKS_MOCK_SMOOTHING_FILTER_H_ 13 | 14 | #include "webrtc/common_audio/smoothing_filter.h" 15 | #include "webrtc/test/gmock.h" 16 | 17 | namespace webrtc { 18 | 19 | class MockSmoothingFilter : public SmoothingFilter { 20 | public: 21 | MOCK_METHOD1(AddSample, void(float)); 22 | MOCK_METHOD0(GetAverage, rtc::Optional()); 23 | MOCK_METHOD1(SetTimeConstantMs, bool(int)); 24 | }; 25 | 26 | } // namespace webrtc 27 | 28 | #endif // WEBRTC_COMMON_AUDIO_MOCKS_MOCK_SMOOTHING_FILTER_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/common_audio/vad/mock/mock_vad.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_COMMON_AUDIO_VAD_MOCK_MOCK_VAD_H_ 12 | #define WEBRTC_COMMON_AUDIO_VAD_MOCK_MOCK_VAD_H_ 13 | 14 | #include "webrtc/common_audio/vad/include/vad.h" 15 | #include "webrtc/test/gmock.h" 16 | 17 | namespace webrtc { 18 | 19 | class MockVad : public Vad { 20 | public: 21 | virtual ~MockVad() { Die(); } 22 | MOCK_METHOD0(Die, void()); 23 | 24 | MOCK_METHOD3(VoiceActivity, 25 | enum Activity(const int16_t* audio, 26 | size_t num_samples, 27 | int sample_rate_hz)); 28 | MOCK_METHOD0(Reset, void()); 29 | }; 30 | 31 | } // namespace webrtc 32 | 33 | #endif // WEBRTC_COMMON_AUDIO_VAD_MOCK_MOCK_VAD_H_ 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/common_audio/window_generator.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_COMMON_AUDIO_WINDOW_GENERATOR_H_ 12 | #define WEBRTC_COMMON_AUDIO_WINDOW_GENERATOR_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/base/constructormagic.h" 17 | 18 | namespace webrtc { 19 | 20 | // Helper class with generators for various signal transform windows. 21 | class WindowGenerator { 22 | public: 23 | static void Hanning(int length, float* window); 24 | static void KaiserBesselDerived(float alpha, size_t length, float* window); 25 | 26 | private: 27 | RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WindowGenerator); 28 | }; 29 | 30 | } // namespace webrtc 31 | 32 | #endif // WEBRTC_COMMON_AUDIO_WINDOW_GENERATOR_H_ 33 | 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/common_video/include/video_image.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_IMAGE_H_ 12 | #define WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_IMAGE_H_ 13 | 14 | // TODO(pbos): Remove this file and include webrtc/video_frame.h instead. 15 | #include "webrtc/video_frame.h" 16 | 17 | #endif // WEBRTC_COMMON_VIDEO_INCLUDE_VIDEO_IMAGE_H_ 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/common_video/rotation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | // TODO(nisse): Delete this file, once downstream code is updated. 12 | 13 | #ifndef WEBRTC_COMMON_VIDEO_ROTATION_H_ 14 | #define WEBRTC_COMMON_VIDEO_ROTATION_H_ 15 | 16 | #include "webrtc/api/video/video_rotation.h" 17 | 18 | #endif // WEBRTC_COMMON_VIDEO_ROTATION_H_ 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ARDAppEngineClient.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import "ARDRoomServerClient.h" 12 | 13 | @interface ARDAppEngineClient : NSObject 14 | @end 15 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ARDJoinResponse+Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import "ARDJoinResponse.h" 12 | 13 | @interface ARDJoinResponse () 14 | 15 | @property(nonatomic, assign) ARDJoinResultType result; 16 | @property(nonatomic, assign) BOOL isInitiator; 17 | @property(nonatomic, strong) NSString *roomId; 18 | @property(nonatomic, strong) NSString *clientId; 19 | @property(nonatomic, strong) NSArray *messages; 20 | @property(nonatomic, strong) NSURL *webSocketURL; 21 | @property(nonatomic, strong) NSURL *webSocketRestURL; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ARDJoinResponse.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import 12 | 13 | typedef NS_ENUM(NSInteger, ARDJoinResultType) { 14 | kARDJoinResultTypeUnknown, 15 | kARDJoinResultTypeSuccess, 16 | kARDJoinResultTypeFull 17 | }; 18 | 19 | // Result of joining a room on the room server. 20 | @interface ARDJoinResponse : NSObject 21 | 22 | @property(nonatomic, readonly) ARDJoinResultType result; 23 | @property(nonatomic, readonly) BOOL isInitiator; 24 | @property(nonatomic, readonly) NSString *roomId; 25 | @property(nonatomic, readonly) NSString *clientId; 26 | @property(nonatomic, readonly) NSArray *messages; 27 | @property(nonatomic, readonly) NSURL *webSocketURL; 28 | @property(nonatomic, readonly) NSURL *webSocketRestURL; 29 | 30 | + (ARDJoinResponse *)responseFromJSONData:(NSData *)data; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ARDMessageResponse+Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import "ARDMessageResponse.h" 12 | 13 | @interface ARDMessageResponse () 14 | 15 | @property(nonatomic, assign) ARDMessageResultType result; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ARDMessageResponse.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import 12 | 13 | typedef NS_ENUM(NSInteger, ARDMessageResultType) { 14 | kARDMessageResultTypeUnknown, 15 | kARDMessageResultTypeSuccess, 16 | kARDMessageResultTypeInvalidRoom, 17 | kARDMessageResultTypeInvalidClient 18 | }; 19 | 20 | @interface ARDMessageResponse : NSObject 21 | 22 | @property(nonatomic, readonly) ARDMessageResultType result; 23 | 24 | + (ARDMessageResponse *)responseFromJSONData:(NSData *)data; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ARDSDPUtils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | @class RTCSessionDescription; 14 | 15 | @interface ARDSDPUtils : NSObject 16 | 17 | // Updates the original SDP description to instead prefer the specified video 18 | // codec. We do this by placing the specified codec at the beginning of the 19 | // codec list if it exists in the sdp. 20 | + (RTCSessionDescription *) 21 | descriptionForDescription:(RTCSessionDescription *)description 22 | preferredVideoCodec:(NSString *)codec; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ARDStatsBuilder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | @class RTCLegacyStatsReport; 14 | 15 | /** Class used to accumulate stats information into a single displayable string. 16 | */ 17 | @interface ARDStatsBuilder : NSObject 18 | 19 | /** String that represents the accumulated stats reports passed into this 20 | * class. 21 | */ 22 | @property(nonatomic, readonly) NSString *statsString; 23 | 24 | /** Parses the information in the stats report into an appropriate internal 25 | * format used to generate the stats string. 26 | */ 27 | - (void)parseStatsReport:(RTCLegacyStatsReport *)statsReport; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ARDTURNClient+Internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import "ARDTURNClient.h" 12 | 13 | @interface ARDTURNClient : NSObject 14 | 15 | - (instancetype)initWithURL:(NSURL *)url; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ARDTURNClient.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import 12 | 13 | @class RTCIceServer; 14 | 15 | @protocol ARDTURNClient 16 | 17 | // Returns TURN server urls if successful. 18 | - (void)requestServersWithCompletionHandler: 19 | (void (^)(NSArray *turnServers, 20 | NSError *error))completionHandler; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/RTCIceCandidate+JSON.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import "WebRTC/RTCIceCandidate.h" 12 | 13 | @interface RTCIceCandidate (JSON) 14 | 15 | + (RTCIceCandidate *)candidateFromJSONDictionary:(NSDictionary *)dictionary; 16 | + (NSArray *)candidatesFromJSONDictionary: 17 | (NSDictionary *)dictionary; 18 | + (NSData *)JSONDataForIceCandidates:(NSArray *)candidates 19 | withType:(NSString *)typeValue; 20 | - (NSData *)JSONData; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/RTCIceServer+JSON.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import "WebRTC/RTCIceServer.h" 12 | 13 | @interface RTCIceServer (JSON) 14 | 15 | + (RTCIceServer *)serverFromJSONDictionary:(NSDictionary *)dictionary; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/RTCMediaConstraints+JSON.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import "WebRTC/RTCMediaConstraints.h" 12 | 13 | @interface RTCMediaConstraints (JSON) 14 | 15 | + (RTCMediaConstraints *)constraintsFromJSONDictionary: 16 | (NSDictionary *)dictionary; 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/RTCSessionDescription+JSON.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import "WebRTC/RTCSessionDescription.h" 12 | 13 | @interface RTCSessionDescription (JSON) 14 | 15 | + (RTCSessionDescription *)descriptionFromJSONDictionary: 16 | (NSDictionary *)dictionary; 17 | - (NSData *)JSONData; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ios/ARDAppDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 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 | #import 12 | 13 | // The main application class of the AppRTCMobile iOS app demonstrating 14 | // interoperability between the Objective C implementation of PeerConnection 15 | // and the appr.tc demo webapp. 16 | @interface ARDAppDelegate : NSObject 17 | @end 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ios/ARDMainViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | @interface ARDMainViewController : UIViewController 14 | @end 15 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import 12 | #import "ARDSettingsModel.h" 13 | 14 | @class ARDSettingsStore; 15 | 16 | NS_ASSUME_NONNULL_BEGIN 17 | @interface ARDSettingsModel () 18 | - (ARDSettingsStore *)settingsStore; 19 | - (nullable NSString *)currentVideoResolutionWidthFromStore; 20 | - (nullable NSString *)currentVideoResolutionHeightFromStore; 21 | @end 22 | NS_ASSUME_NONNULL_END 23 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import 12 | 13 | @class ARDSettingsModel; 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | /** 17 | * Displays settings options. 18 | */ 19 | @interface ARDSettingsViewController : UITableViewController 20 | 21 | /** 22 | * Creates new instance. 23 | * 24 | * @param style the table view style that should be used 25 | * @param settingsModel model class for the user settings. 26 | */ 27 | - (instancetype)initWithStyle:(UITableViewStyle)style 28 | settingsModel:(ARDSettingsModel *)settingsModel; 29 | 30 | #pragma mark - Unavailable 31 | 32 | - (instancetype)initWithStyle:(UITableViewStyle)style NS_UNAVAILABLE; 33 | - (instancetype)init NS_UNAVAILABLE; 34 | + (instancetype) new NS_UNAVAILABLE; 35 | 36 | @end 37 | NS_ASSUME_NONNULL_END 38 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ios/ARDStatsView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | @interface ARDStatsView : UIView 14 | 15 | - (void)setStats:(NSArray *)stats; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ios/ARDVideoCallViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | @class ARDVideoCallViewController; 14 | @protocol ARDVideoCallViewControllerDelegate 15 | 16 | - (void)viewControllerDidFinish:(ARDVideoCallViewController *)viewController; 17 | 18 | @end 19 | 20 | @interface ARDVideoCallViewController : UIViewController 21 | 22 | @property(nonatomic, weak) id delegate; 23 | 24 | - (instancetype)initForRoom:(NSString *)room 25 | isLoopback:(BOOL)isLoopback 26 | isAudioOnly:(BOOL)isAudioOnly 27 | shouldMakeAecDump:(BOOL)shouldMakeAecDump 28 | shouldUseLevelControl:(BOOL)shouldUseLevelControl 29 | delegate:(id)delegate; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/ios/UIImage+ARDUtilities.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | @interface UIImage (ARDUtilities) 14 | 15 | // Returns an color tinted version for the given image resource. 16 | + (UIImage *)imageForName:(NSString *)name color:(UIColor *)color; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import 12 | 13 | @interface APPRTCAppDelegate : NSObject 14 | @end 15 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 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 | #import 12 | 13 | @interface APPRTCViewController : NSViewController 14 | 15 | - (void)windowWillClose:(NSNotification*)notification; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/peerconnection/client/defaults.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 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 | #ifndef WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_DEFAULTS_H_ 12 | #define WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_DEFAULTS_H_ 13 | #pragma once 14 | 15 | #include 16 | 17 | #include 18 | 19 | extern const char kAudioLabel[]; 20 | extern const char kVideoLabel[]; 21 | extern const char kStreamLabel[]; 22 | extern const uint16_t kDefaultServerPort; 23 | 24 | std::string GetEnvVarOrDefault(const char* env_var_name, 25 | const char* default_value); 26 | std::string GetPeerConnectionString(); 27 | std::string GetDefaultServerName(); 28 | std::string GetPeerName(); 29 | 30 | #endif // WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_DEFAULTS_H_ 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/examples/peerconnection/server/utils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 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 | #ifndef WEBRTC_EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_ 12 | #define WEBRTC_EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_ 13 | #pragma once 14 | 15 | #include 16 | #include 17 | 18 | #ifndef ARRAYSIZE 19 | #define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0])) 20 | #endif 21 | 22 | std::string int2str(int i); 23 | std::string size_t2str(size_t i); 24 | 25 | #endif // WEBRTC_EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_ 26 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/media/base/device.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_MEDIA_BASE_DEVICE_H_ 12 | #define WEBRTC_MEDIA_BASE_DEVICE_H_ 13 | 14 | #include "webrtc/base/stringencode.h" 15 | 16 | namespace cricket { 17 | 18 | // Used to represent an audio or video capture or render device. 19 | struct Device { 20 | Device() {} 21 | Device(const std::string& name, int id) 22 | : name(name), 23 | id(rtc::ToString(id)) { 24 | } 25 | Device(const std::string& name, const std::string& id) 26 | : name(name), id(id) {} 27 | 28 | std::string name; 29 | std::string id; 30 | }; 31 | 32 | } // namespace cricket 33 | 34 | #endif // WEBRTC_MEDIA_BASE_DEVICE_H_ 35 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/media/base/turnutils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MEDIA_BASE_TURNUTILS_H_ 12 | #define WEBRTC_MEDIA_BASE_TURNUTILS_H_ 13 | 14 | #include 15 | #include 16 | 17 | namespace cricket { 18 | 19 | struct PacketOptions; 20 | 21 | // Finds data location within a TURN Channel Message or TURN Send Indication 22 | // message. 23 | bool UnwrapTurnPacket(const uint8_t* packet, 24 | size_t packet_size, 25 | size_t* content_position, 26 | size_t* content_size); 27 | 28 | } // namespace cricket 29 | 30 | #endif // WEBRTC_MEDIA_BASE_TURNUTILS_H_ 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/media/base/videocapturerfactory.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_MEDIA_BASE_VIDEOCAPTURERFACTORY_H_ 12 | #define WEBRTC_MEDIA_BASE_VIDEOCAPTURERFACTORY_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/media/base/device.h" 17 | 18 | namespace cricket { 19 | 20 | class VideoCapturer; 21 | 22 | class VideoDeviceCapturerFactory { 23 | public: 24 | VideoDeviceCapturerFactory() {} 25 | virtual ~VideoDeviceCapturerFactory() {} 26 | 27 | virtual std::unique_ptr Create(const Device& device) = 0; 28 | }; 29 | 30 | } // namespace cricket 31 | 32 | #endif // WEBRTC_MEDIA_BASE_VIDEOCAPTURERFACTORY_H_ 33 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/media/base/videosinkinterface.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MEDIA_BASE_VIDEOSINKINTERFACE_H_ 12 | #define WEBRTC_MEDIA_BASE_VIDEOSINKINTERFACE_H_ 13 | 14 | // TODO(nisse): Consider moving this interface (and possibly 15 | // VideoSourceInterface too) from media/base to common_video, to 16 | // reduce dependency cycles. 17 | namespace rtc { 18 | 19 | template 20 | class VideoSinkInterface { 21 | public: 22 | virtual ~VideoSinkInterface() {} 23 | 24 | virtual void OnFrame(const VideoFrameT& frame) = 0; 25 | }; 26 | 27 | } // namespace rtc 28 | 29 | #endif // WEBRTC_MEDIA_BASE_VIDEOSINKINTERFACE_H_ 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/media/engine/constants.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_MEDIA_ENGINE_CONSTANTS_H_ 12 | #define WEBRTC_MEDIA_ENGINE_CONSTANTS_H_ 13 | 14 | namespace cricket { 15 | 16 | extern const int kVideoMtu; 17 | extern const int kVideoRtpBufferSize; 18 | 19 | extern const char kH264CodecName[]; 20 | 21 | extern const int kMinVideoBitrateKbps; 22 | 23 | } // namespace cricket 24 | 25 | #endif // WEBRTC_MEDIA_ENGINE_CONSTANTS_H_ 26 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/media/engine/internaldecoderfactory.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MEDIA_ENGINE_INTERNALDECODERFACTORY_H_ 12 | #define WEBRTC_MEDIA_ENGINE_INTERNALDECODERFACTORY_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/media/engine/webrtcvideodecoderfactory.h" 17 | 18 | namespace cricket { 19 | 20 | class InternalDecoderFactory : public WebRtcVideoDecoderFactory { 21 | public: 22 | InternalDecoderFactory(); 23 | virtual ~InternalDecoderFactory(); 24 | 25 | // WebRtcVideoDecoderFactory implementation. 26 | webrtc::VideoDecoder* CreateVideoDecoder( 27 | webrtc::VideoCodecType type) override; 28 | 29 | void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) override; 30 | }; 31 | 32 | } // namespace cricket 33 | 34 | #endif // WEBRTC_MEDIA_ENGINE_INTERNALDECODERFACTORY_H_ 35 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/media/engine/webrtcvideocapturerfactory.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | // TODO(pthatcher): Rename file to match class name. 12 | #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURERFACTORY_H_ 13 | #define WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURERFACTORY_H_ 14 | 15 | #include "webrtc/media/base/videocapturerfactory.h" 16 | 17 | namespace cricket { 18 | 19 | // Creates instances of cricket::WebRtcVideoCapturer. 20 | class WebRtcVideoDeviceCapturerFactory : public VideoDeviceCapturerFactory { 21 | public: 22 | std::unique_ptr Create(const Device& device) override; 23 | }; 24 | 25 | } // namespace cricket 26 | 27 | #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOCAPTURERFACTORY_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/media/engine/webrtcvideoframe.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | // TODO(nisse): Deprecated, replace cricket::WebRtcVideoFrame with 12 | // webrtc::VideoFrame everywhere, then delete this file. See 13 | // https://bugs.chromium.org/p/webrtc/issues/detail?id=5682. 14 | 15 | #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOFRAME_H_ 16 | #define WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOFRAME_H_ 17 | 18 | #include 19 | 20 | #include "webrtc/base/buffer.h" 21 | #include "webrtc/base/refcount.h" 22 | #include "webrtc/base/scoped_ref_ptr.h" 23 | #include "webrtc/common_types.h" 24 | #include "webrtc/common_video/include/video_frame_buffer.h" 25 | #include "webrtc/media/base/videoframe.h" 26 | 27 | namespace cricket { 28 | 29 | using WebRtcVideoFrame = webrtc::VideoFrame; 30 | 31 | } // namespace cricket 32 | 33 | #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOFRAME_H_ 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/acm2/acm_common_defs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_ 13 | 14 | #include "webrtc/typedefs.h" 15 | 16 | // Checks for enabled codecs, we prevent enabling codecs which are not 17 | // compatible. 18 | #if ((defined WEBRTC_CODEC_ISAC) && (defined WEBRTC_CODEC_ISACFX)) 19 | #error iSAC and iSACFX codecs cannot be enabled at the same time 20 | #endif 21 | 22 | namespace webrtc { 23 | 24 | // General codec specific defines 25 | const int kIsacWbDefaultRate = 32000; 26 | const int kIsacSwbDefaultRate = 56000; 27 | const int kIsacPacSize480 = 480; 28 | const int kIsacPacSize960 = 960; 29 | 30 | } // namespace webrtc 31 | 32 | #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_COMMON_DEFS_H_ 33 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/audio_format_conversion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_FORMAT_CONVERSION_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_FORMAT_CONVERSION_H_ 13 | 14 | #include "webrtc/common_types.h" 15 | #include "webrtc/modules/audio_coding/codecs/audio_format.h" 16 | 17 | namespace webrtc { 18 | 19 | SdpAudioFormat CodecInstToSdp(const CodecInst& codec_inst); 20 | CodecInst SdpToCodecInst(int payload_type, const SdpAudioFormat& audio_format); 21 | 22 | } // namespace webrtc 23 | 24 | #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_FORMAT_CONVERSION_H_ 25 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_BUILTIN_AUDIO_DECODER_FACTORY_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_BUILTIN_AUDIO_DECODER_FACTORY_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/base/scoped_ref_ptr.h" 17 | #include "webrtc/modules/audio_coding/codecs/audio_decoder_factory.h" 18 | 19 | namespace webrtc { 20 | 21 | // Creates a new factory that can create the built-in types of audio decoders. 22 | // NOTE: This function is still under development and may change without notice. 23 | rtc::scoped_refptr CreateBuiltinAudioDecoderFactory(); 24 | 25 | } // namespace webrtc 26 | 27 | #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_BUILTIN_AUDIO_DECODER_FACTORY_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/ilbc/frame_classify.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | /****************************************************************** 12 | 13 | iLBC Speech Coder ANSI-C Source Code 14 | 15 | WebRtcIlbcfix_FrameClassify.h 16 | 17 | ******************************************************************/ 18 | 19 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_FRAME_CLASSIFY_H_ 20 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_FRAME_CLASSIFY_H_ 21 | 22 | size_t WebRtcIlbcfix_FrameClassify( 23 | /* (o) Index to the max-energy sub frame */ 24 | IlbcEncoder *iLBCenc_inst, 25 | /* (i/o) the encoder state structure */ 26 | int16_t *residualFIX /* (i) lpc residual signal */ 27 | ); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/ilbc/index_conv_dec.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | /****************************************************************** 12 | 13 | iLBC Speech Coder ANSI-C Source Code 14 | 15 | WebRtcIlbcfix_IndexConvDec.h 16 | 17 | ******************************************************************/ 18 | 19 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_INDEX_CONV_DEC_H_ 20 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_INDEX_CONV_DEC_H_ 21 | 22 | #include "defines.h" 23 | 24 | void WebRtcIlbcfix_IndexConvDec( 25 | int16_t *index /* (i/o) Codebook indexes */ 26 | ); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/isac/bandwidth_info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_BANDWIDTH_INFO_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_BANDWIDTH_INFO_H_ 13 | 14 | #include "webrtc/typedefs.h" 15 | 16 | typedef struct { 17 | int in_use; 18 | int32_t send_bw_avg; 19 | int32_t send_max_delay_avg; 20 | int16_t bottleneck_idx; 21 | int16_t jitter_info; 22 | } IsacBandwidthInfo; 23 | 24 | #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_BANDWIDTH_INFO_H_ 25 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/isac/fix/include/audio_decoder_isacfix.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INCLUDE_AUDIO_DECODER_ISACFIX_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INCLUDE_AUDIO_DECODER_ISACFIX_H_ 13 | 14 | #include "webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t.h" 15 | #include "webrtc/modules/audio_coding/codecs/isac/fix/source/isac_fix_type.h" 16 | 17 | namespace webrtc { 18 | 19 | using AudioDecoderIsacFix = AudioDecoderIsacT; 20 | 21 | } // namespace webrtc 22 | #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INCLUDE_AUDIO_DECODER_ISACFIX_H_ 23 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/isac/fix/include/audio_encoder_isacfix.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INCLUDE_AUDIO_ENCODER_ISACFIX_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INCLUDE_AUDIO_ENCODER_ISACFIX_H_ 13 | 14 | #include "webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h" 15 | #include "webrtc/modules/audio_coding/codecs/isac/fix/source/isac_fix_type.h" 16 | 17 | namespace webrtc { 18 | 19 | using AudioEncoderIsacFix = AudioEncoderIsacT; 20 | 21 | } // namespace webrtc 22 | #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_FIX_INCLUDE_AUDIO_ENCODER_ISACFIX_H_ 23 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/isac/main/include/audio_decoder_isac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_INCLUDE_AUDIO_DECODER_ISAC_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_INCLUDE_AUDIO_DECODER_ISAC_H_ 13 | 14 | #include "webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t.h" 15 | #include "webrtc/modules/audio_coding/codecs/isac/main/source/isac_float_type.h" 16 | 17 | namespace webrtc { 18 | 19 | using AudioDecoderIsac = AudioDecoderIsacT; 20 | 21 | } // namespace webrtc 22 | #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_INCLUDE_AUDIO_ENCODER_ISAC_H_ 23 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/isac/main/include/audio_encoder_isac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_INCLUDE_AUDIO_ENCODER_ISAC_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_INCLUDE_AUDIO_ENCODER_ISAC_H_ 13 | 14 | #include "webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t.h" 15 | #include "webrtc/modules/audio_coding/codecs/isac/main/source/isac_float_type.h" 16 | 17 | namespace webrtc { 18 | 19 | using AudioEncoderIsac = AudioEncoderIsacT; 20 | 21 | } // namespace webrtc 22 | #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_INCLUDE_AUDIO_ENCODER_ISAC_H_ 23 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/codecs/opus/opus_inst.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_OPUS_INST_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_OPUS_INST_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/base/ignore_wundef.h" 17 | 18 | RTC_PUSH_IGNORING_WUNDEF() 19 | #include "opus.h" 20 | RTC_POP_IGNORING_WUNDEF() 21 | 22 | struct WebRtcOpusEncInst { 23 | OpusEncoder* encoder; 24 | size_t channels; 25 | int in_dtx_mode; 26 | }; 27 | 28 | struct WebRtcOpusDecInst { 29 | OpusDecoder* decoder; 30 | int prev_decoded_samples; 31 | size_t channels; 32 | int in_dtx_mode; 33 | }; 34 | 35 | 36 | #endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_OPUS_INST_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/neteq/mock/mock_red_payload_splitter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_RED_PAYLOAD_SPLITTER_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_RED_PAYLOAD_SPLITTER_H_ 13 | 14 | #include "webrtc/modules/audio_coding/neteq/red_payload_splitter.h" 15 | 16 | #include "webrtc/test/gmock.h" 17 | 18 | namespace webrtc { 19 | 20 | class MockRedPayloadSplitter : public RedPayloadSplitter { 21 | public: 22 | MOCK_METHOD1(SplitRed, bool(PacketList* packet_list)); 23 | MOCK_METHOD2(CheckRedPayloads, 24 | int(PacketList* packet_list, 25 | const DecoderDatabase& decoder_database)); 26 | }; 27 | 28 | } // namespace webrtc 29 | #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_RED_PAYLOAD_SPLITTER_H_ 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/neteq/test/NETEQTEST_DummyRTPpacket.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef NETEQTEST_DUMMYRTPPACKET_H 12 | #define NETEQTEST_DUMMYRTPPACKET_H 13 | 14 | #include "NETEQTEST_RTPpacket.h" 15 | 16 | class NETEQTEST_DummyRTPpacket : public NETEQTEST_RTPpacket { 17 | public: 18 | int readFromFile(FILE* fp) override; 19 | int writeToFile(FILE* fp) override; 20 | void parseHeader() override; 21 | }; 22 | 23 | #endif // NETEQTEST_DUMMYRTPPACKET_H 24 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_coding/test/ACMTest.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_MODULES_AUDIO_CODING_TEST_ACMTEST_H_ 12 | #define WEBRTC_MODULES_AUDIO_CODING_TEST_ACMTEST_H_ 13 | 14 | class ACMTest { 15 | public: 16 | ACMTest() {} 17 | virtual ~ACMTest() {} 18 | virtual void Perform() = 0; 19 | }; 20 | 21 | #endif // WEBRTC_MODULES_AUDIO_CODING_TEST_ACMTEST_H_ 22 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_conference_mixer/source/audio_frame_manipulator.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_AUDIO_FRAME_MANIPULATOR_H_ 12 | #define WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_AUDIO_FRAME_MANIPULATOR_H_ 13 | 14 | #include "webrtc/typedefs.h" 15 | 16 | namespace webrtc { 17 | class AudioFrame; 18 | 19 | // Updates the audioFrame's energy (based on its samples). 20 | uint32_t CalculateEnergy(const AudioFrame& audioFrame); 21 | 22 | // Apply linear step function that ramps in/out the audio samples in audioFrame 23 | void RampIn(AudioFrame& audioFrame); 24 | void RampOut(AudioFrame& audioFrame); 25 | 26 | } // namespace webrtc 27 | 28 | #endif // WEBRTC_MODULES_AUDIO_CONFERENCE_MIXER_SOURCE_AUDIO_FRAME_MANIPULATOR_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_device/android/ensure_initialized.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | namespace webrtc { 12 | namespace audiodevicemodule { 13 | 14 | void EnsureInitialized(); 15 | 16 | } // namespace audiodevicemodule 17 | } // namespace webrtc 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_device/audio_device_config.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ 12 | #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ 13 | 14 | // Enumerators 15 | // 16 | enum { kAdmMaxIdleTimeProcess = 1000 }; 17 | enum { GET_MIC_VOLUME_INTERVAL_MS = 1000 }; 18 | 19 | // Platform specifics 20 | // 21 | #if defined(_WIN32) 22 | #if (_MSC_VER >= 1400) 23 | // Windows Core Audio is the default audio layer in Windows. 24 | // Only supported for VS 2005 and higher. 25 | #define WEBRTC_WINDOWS_CORE_AUDIO_BUILD 26 | #endif 27 | #endif 28 | 29 | #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ 30 | 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import "webrtc/modules/audio_device/ios/objc/RTCAudioSession.h" 12 | 13 | namespace webrtc { 14 | class AudioSessionObserver; 15 | } 16 | 17 | /** Adapter that forwards RTCAudioSessionDelegate calls to the appropriate 18 | * methods on the AudioSessionObserver. 19 | */ 20 | @interface RTCAudioSessionDelegateAdapter : NSObject 21 | 22 | - (instancetype)init NS_UNAVAILABLE; 23 | 24 | /** |observer| is a raw pointer and should be kept alive 25 | * for this object's lifetime. 26 | */ 27 | - (instancetype)initWithObserver:(webrtc::AudioSessionObserver *)observer 28 | NS_DESIGNATED_INITIALIZER; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_mixer/output_rate_calculator.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MODULES_AUDIO_MIXER_OUTPUT_RATE_CALCULATOR_H_ 12 | #define WEBRTC_MODULES_AUDIO_MIXER_OUTPUT_RATE_CALCULATOR_H_ 13 | 14 | #include 15 | 16 | namespace webrtc { 17 | 18 | // Decides the sample rate of a mixing iteration given the preferred 19 | // sample rates of the sources. 20 | class OutputRateCalculator { 21 | public: 22 | virtual int CalculateOutputRate( 23 | const std::vector& preferred_sample_rates) = 0; 24 | virtual ~OutputRateCalculator() {} 25 | }; 26 | 27 | } // namespace webrtc 28 | 29 | #endif // WEBRTC_MODULES_AUDIO_MIXER_OUTPUT_RATE_CALCULATOR_H_ 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_processing/aec3/echo_path_variability.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 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 | #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_PATH_VARIABILITY_H_ 12 | #define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_PATH_VARIABILITY_H_ 13 | 14 | namespace webrtc { 15 | 16 | struct EchoPathVariability { 17 | EchoPathVariability(bool gain_change, bool delay_change) 18 | : gain_change(gain_change), delay_change(delay_change) {} 19 | 20 | bool AudioPathChanged() const { return gain_change || delay_change; } 21 | bool gain_change; 22 | bool delay_change; 23 | }; 24 | 25 | } // namespace webrtc 26 | 27 | #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_ECHO_PATH_VARIABILITY_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_processing/agc/utility.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AGC_UTILITY_H_ 12 | #define WEBRTC_MODULES_AUDIO_PROCESSING_AGC_UTILITY_H_ 13 | 14 | // TODO(turajs): Add description of function. 15 | double Loudness2Db(double loudness); 16 | 17 | double Linear2Loudness(double rms); 18 | 19 | double Db2Loudness(double db); 20 | 21 | double Dbfs2Loudness(double dbfs); 22 | 23 | #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AGC_UTILITY_H_ 24 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_processing/common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_COMMON_H_ 12 | #define WEBRTC_MODULES_AUDIO_PROCESSING_COMMON_H_ 13 | 14 | #include "webrtc/base/checks.h" 15 | #include "webrtc/modules/audio_processing/include/audio_processing.h" 16 | 17 | namespace webrtc { 18 | 19 | static inline size_t ChannelsFromLayout(AudioProcessing::ChannelLayout layout) { 20 | switch (layout) { 21 | case AudioProcessing::kMono: 22 | case AudioProcessing::kMonoAndKeyboard: 23 | return 1; 24 | case AudioProcessing::kStereo: 25 | case AudioProcessing::kStereoAndKeyboard: 26 | return 2; 27 | } 28 | RTC_NOTREACHED(); 29 | return 0; 30 | } 31 | 32 | } // namespace webrtc 33 | 34 | #endif // WEBRTC_MODULES_AUDIO_PROCESSING_COMMON_H_ 35 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_processing/echo_detector/mean_variance_estimator.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_DETECTOR_MEAN_VARIANCE_ESTIMATOR_H_ 12 | #define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_DETECTOR_MEAN_VARIANCE_ESTIMATOR_H_ 13 | 14 | namespace webrtc { 15 | 16 | // This class iteratively estimates the mean and variance of a signal. 17 | class MeanVarianceEstimator { 18 | public: 19 | void Update(float value); 20 | float std_deviation() const; 21 | float mean() const; 22 | void Clear(); 23 | 24 | private: 25 | // Estimate of the expected value of the input values. 26 | float mean_ = 0.f; 27 | // Estimate of the variance of the input values. 28 | float variance_ = 0.f; 29 | }; 30 | 31 | } // namespace webrtc 32 | 33 | #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_DETECTOR_MEAN_VARIANCE_ESTIMATOR_H_ 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_processing/echo_detector/moving_max.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 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 | #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_DETECTOR_MOVING_MAX_H_ 12 | #define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_DETECTOR_MOVING_MAX_H_ 13 | 14 | #include 15 | 16 | namespace webrtc { 17 | 18 | class MovingMax { 19 | public: 20 | explicit MovingMax(size_t window_size); 21 | ~MovingMax(); 22 | 23 | void Update(float value); 24 | float max() const; 25 | // Reset all of the state in this class. 26 | void Clear(); 27 | 28 | private: 29 | float max_value_ = 0.f; 30 | size_t counter_ = 0; 31 | size_t window_size_ = 1; 32 | }; 33 | 34 | } // namespace webrtc 35 | 36 | #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_DETECTOR_MOVING_MAX_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_processing/level_controller/level_controller_constants.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LEVEL_CONTROLLER_CONSTANTS_H_ 12 | #define WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LEVEL_CONTROLLER_CONSTANTS_H_ 13 | 14 | namespace webrtc { 15 | 16 | const float kMaxLcGain = 10; 17 | const float kMaxLcNoisePower = 100.f * 100.f; 18 | const float kTargetLcPeakLevel = 16384.f; 19 | const float kTargetLcPeakLeveldBFS = -6.0206f; 20 | 21 | } // namespace webrtc 22 | 23 | #endif // WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LEVEL_CONTROLLER_CONSTANTS_H_ 24 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_processing/low_cut_filter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_LOW_CUT_FILTER_H_ 12 | #define WEBRTC_MODULES_AUDIO_PROCESSING_LOW_CUT_FILTER_H_ 13 | 14 | #include 15 | #include 16 | 17 | #include "webrtc/base/constructormagic.h" 18 | 19 | namespace webrtc { 20 | 21 | class AudioBuffer; 22 | 23 | class LowCutFilter { 24 | public: 25 | LowCutFilter(size_t channels, int sample_rate_hz); 26 | ~LowCutFilter(); 27 | void Process(AudioBuffer* audio); 28 | 29 | private: 30 | class BiquadFilter; 31 | std::vector> filters_; 32 | RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(LowCutFilter); 33 | }; 34 | } // namespace webrtc 35 | 36 | #endif // WEBRTC_MODULES_AUDIO_PROCESSING_LOW_CUT_FILTER_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_processing/transient/common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TRANSIENT_COMMON_H_ 12 | #define WEBRTC_MODULES_AUDIO_PROCESSING_TRANSIENT_COMMON_H_ 13 | namespace webrtc { 14 | namespace ts { 15 | 16 | static const float kPi = 3.14159265358979323846f; 17 | static const int kChunkSizeMs = 10; 18 | enum { 19 | kSampleRate8kHz = 8000, 20 | kSampleRate16kHz = 16000, 21 | kSampleRate32kHz = 32000, 22 | kSampleRate48kHz = 48000 23 | }; 24 | 25 | } // namespace ts 26 | } // namespace webrtc 27 | #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TRANSIENT_COMMON_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/audio_processing/vad/common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_VAD_COMMON_H_ 12 | #define WEBRTC_MODULES_AUDIO_PROCESSING_VAD_COMMON_H_ 13 | 14 | #include 15 | 16 | static const int kSampleRateHz = 16000; 17 | static const size_t kLength10Ms = kSampleRateHz / 100; 18 | static const size_t kMaxNumFrames = 4; 19 | 20 | struct AudioFeatures { 21 | double log_pitch_gain[kMaxNumFrames]; 22 | double pitch_lag_hz[kMaxNumFrames]; 23 | double spectral_peak[kMaxNumFrames]; 24 | double rms[kMaxNumFrames]; 25 | size_t num_frames; 26 | bool silence; 27 | }; 28 | 29 | #endif // WEBRTC_MODULES_AUDIO_PROCESSING_VAD_COMMON_H_ 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/desktop_capture/cropped_desktop_frame.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_CROPPED_DESKTOP_FRAME_H_ 12 | #define WEBRTC_MODULES_DESKTOP_CAPTURE_CROPPED_DESKTOP_FRAME_H_ 13 | 14 | #include "webrtc/modules/desktop_capture/desktop_frame.h" 15 | 16 | namespace webrtc { 17 | 18 | // Returns nullptr frame if |rect| is not contained by the bounds of |frame|. 19 | std::unique_ptr CreateCroppedDesktopFrame( 20 | std::unique_ptr frame, 21 | const DesktopRect& rect); 22 | 23 | } // namespace webrtc 24 | 25 | #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_CROPPED_DESKTOP_FRAME_H_ 26 | 27 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/desktop_capture/differ_vector_sse2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | // This header file is used only differ_block.h. It defines the SSE2 rountines 12 | // for finding vector difference. 13 | 14 | #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_DIFFER_VECTOR_SSE2_H_ 15 | #define WEBRTC_MODULES_DESKTOP_CAPTURE_DIFFER_VECTOR_SSE2_H_ 16 | 17 | #include 18 | 19 | namespace webrtc { 20 | 21 | // Find vector difference of dimension 16. 22 | extern bool VectorDifference_SSE2_W16(const uint8_t* image1, 23 | const uint8_t* image2); 24 | 25 | // Find vector difference of dimension 32. 26 | extern bool VectorDifference_SSE2_W32(const uint8_t* image1, 27 | const uint8_t* image2); 28 | 29 | } // namespace webrtc 30 | 31 | #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_DIFFER_VECTOR_SSE2_H_ 32 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/desktop_capture/test_utils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_TEST_UTILS_H_ 12 | #define WEBRTC_MODULES_DESKTOP_CAPTURE_TEST_UTILS_H_ 13 | 14 | #include "webrtc/modules/desktop_capture/desktop_frame.h" 15 | 16 | namespace webrtc { 17 | 18 | // Clears a DesktopFrame |frame| by setting its data() into 0. 19 | void ClearDesktopFrame(DesktopFrame* frame); 20 | 21 | // Compares size() and data() of two DesktopFrames |left| and |right|. 22 | bool DesktopFrameDataEquals(const DesktopFrame& left, 23 | const DesktopFrame& right); 24 | 25 | } // namespace webrtc 26 | 27 | #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_TEST_UTILS_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/desktop_capture/win/cursor.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_CURSOR_H_ 12 | #define WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_CURSOR_H_ 13 | 14 | #include 15 | 16 | namespace webrtc { 17 | 18 | class MouseCursor; 19 | 20 | // Converts an HCURSOR into a |MouseCursor| instance. 21 | MouseCursor* CreateMouseCursorFromHCursor(HDC dc, HCURSOR cursor); 22 | 23 | } // namespace webrtc 24 | 25 | #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_CURSOR_H_ 26 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/desktop_capture/win/cursor_unittest_resources.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_CURSOR_UNITTEST_RESOURCES_H_ 12 | #define WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_CURSOR_UNITTEST_RESOURCES_H_ 13 | 14 | #define IDD_CURSOR1_24BPP 101 15 | #define IDD_CURSOR1_32BPP 102 16 | #define IDD_CURSOR1_8BPP 103 17 | 18 | #define IDD_CURSOR2_1BPP 104 19 | #define IDD_CURSOR2_32BPP 105 20 | 21 | #define IDD_CURSOR3_4BPP 106 22 | #define IDD_CURSOR3_32BPP 107 23 | 24 | #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_CURSOR_UNITTEST_RESOURCES_H_ 25 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/remote_bitrate_estimator/include/mock/mock_aimd_rate_control.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_MOCK_MOCK_AIMD_RATE_CONTROL_H_ 12 | #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_MOCK_MOCK_AIMD_RATE_CONTROL_H_ 13 | 14 | #include "webrtc/modules/remote_bitrate_estimator/aimd_rate_control.h" 15 | #include "webrtc/test/gmock.h" 16 | 17 | namespace webrtc { 18 | 19 | class MockAimdRateControl : public AimdRateControl { 20 | public: 21 | MOCK_CONST_METHOD0(GetNearMaxIncreaseRateBps, int()); 22 | MOCK_CONST_METHOD0(GetLastBitrateDecreaseBps, rtc::Optional()); 23 | }; 24 | 25 | } // namespace webrtc 26 | 27 | #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_MOCK_MOCK_AIMD_RATE_CONTROL_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_MOCK_MOCK_REMOTE_BITRATE_OBSERVER_H_ 12 | #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_MOCK_MOCK_REMOTE_BITRATE_OBSERVER_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h" 17 | #include "webrtc/test/gmock.h" 18 | 19 | namespace webrtc { 20 | 21 | class MockRemoteBitrateObserver : public RemoteBitrateObserver { 22 | public: 23 | MOCK_METHOD2(OnReceiveBitrateChanged, 24 | void(const std::vector& ssrcs, unsigned int bitrate)); 25 | }; 26 | 27 | } // namespace webrtc 28 | 29 | #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_MOCK_MOCK_REMOTE_BITRATE_OBSERVER_H_ 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RECOVERED_PACKET_RECEIVER_H_ 12 | #define WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RECOVERED_PACKET_RECEIVER_H_ 13 | 14 | #include "webrtc/base/basictypes.h" 15 | #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" 16 | #include "webrtc/test/gmock.h" 17 | 18 | namespace webrtc { 19 | 20 | class MockRecoveredPacketReceiver : public RecoveredPacketReceiver { 21 | public: 22 | MOCK_METHOD2(OnRecoveredPacket, bool(const uint8_t* packet, size_t length)); 23 | }; 24 | 25 | } // namespace webrtc 26 | 27 | #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RECOVERED_PACKET_RECEIVER_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTCP_RTT_STATS_H_ 12 | #define WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTCP_RTT_STATS_H_ 13 | 14 | #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 15 | #include "webrtc/test/gmock.h" 16 | 17 | namespace webrtc { 18 | 19 | class MockRtcpRttStats : public RtcpRttStats { 20 | public: 21 | MOCK_METHOD1(OnRttUpdate, void(int64_t rtt)); 22 | MOCK_CONST_METHOD0(LastProcessedRtt, int64_t()); 23 | }; 24 | } // namespace webrtc 25 | #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTCP_RTT_STATS_H_ 26 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/rtp_rtcp/source/dtmf_queue.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_DTMF_QUEUE_H_ 12 | #define WEBRTC_MODULES_RTP_RTCP_SOURCE_DTMF_QUEUE_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/base/criticalsection.h" 17 | 18 | namespace webrtc { 19 | class DtmfQueue { 20 | public: 21 | struct Event { 22 | uint16_t duration_ms = 0; 23 | uint8_t payload_type = 0; 24 | uint8_t key = 0; 25 | uint8_t level = 0; 26 | }; 27 | 28 | DtmfQueue(); 29 | ~DtmfQueue(); 30 | 31 | bool AddDtmf(const Event& event); 32 | bool NextDtmf(Event* event); 33 | bool PendingDtmf() const; 34 | 35 | private: 36 | rtc::CriticalSection dtmf_critsect_; 37 | std::list queue_; 38 | }; 39 | } // namespace webrtc 40 | 41 | #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_DTMF_QUEUE_H_ 42 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/rtp_rtcp/source/tmmbr_help.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_TMMBR_HELP_H_ 12 | #define WEBRTC_MODULES_RTP_RTCP_SOURCE_TMMBR_HELP_H_ 13 | 14 | #include 15 | #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmb_item.h" 16 | #include "webrtc/typedefs.h" 17 | 18 | namespace webrtc { 19 | 20 | class TMMBRHelp { 21 | public: 22 | static std::vector FindBoundingSet( 23 | std::vector candidates); 24 | 25 | static bool IsOwner(const std::vector& bounding, 26 | uint32_t ssrc); 27 | 28 | static uint64_t CalcMinBitrateBps( 29 | const std::vector& candidates); 30 | }; 31 | } // namespace webrtc 32 | 33 | #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_TMMBR_HELP_H_ 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/rtp_rtcp/source/video_codec_information.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_VIDEO_CODEC_INFORMATION_H_ 12 | #define WEBRTC_MODULES_RTP_RTCP_SOURCE_VIDEO_CODEC_INFORMATION_H_ 13 | 14 | #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_config.h" 15 | #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" 16 | 17 | namespace webrtc { 18 | class VideoCodecInformation { 19 | public: 20 | virtual void Reset() = 0; 21 | 22 | virtual RtpVideoCodecTypes Type() = 0; 23 | virtual ~VideoCodecInformation() {} 24 | }; 25 | } // namespace webrtc 26 | 27 | #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_VIDEO_CODEC_INFORMATION_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/utility/include/audio_frame_operations.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_MODULES_UTILITY_INCLUDE_AUDIO_FRAME_OPERATIONS_H_ 12 | #define WEBRTC_MODULES_UTILITY_INCLUDE_AUDIO_FRAME_OPERATIONS_H_ 13 | // The contents of this file have moved to 14 | // //webrtc/audio/utility. This file is deprecated. 15 | 16 | // TODO(aleloi): Remove this file when clients have updated their 17 | // includes. See bugs.webrtc.org/6548. 18 | #include "webrtc/audio/utility/audio_frame_operations.h" 19 | 20 | #endif // #ifndef WEBRTC_MODULES_UTILITY_INCLUDE_AUDIO_FRAME_OPERATIONS_H_ 21 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/video_capture/objc/device_info_objc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_OBJC_DEVICE_INFO_OBJC_H_ 12 | #define WEBRTC_MODULES_VIDEO_CAPTURE_OBJC_DEVICE_INFO_OBJC_H_ 13 | 14 | #import 15 | 16 | #include "webrtc/modules/video_capture/video_capture_defines.h" 17 | 18 | @interface DeviceInfoIosObjC : NSObject 19 | + (int)captureDeviceCount; 20 | + (AVCaptureDevice*)captureDeviceForIndex:(int)index; 21 | + (AVCaptureDevice*)captureDeviceForUniqueId:(NSString*)uniqueId; 22 | + (NSString*)deviceNameForIndex:(int)index; 23 | + (NSString*)deviceUniqueIdForIndex:(int)index; 24 | + (NSString*)deviceNameForUniqueId:(NSString*)uniqueId; 25 | + (webrtc::VideoCaptureCapability)capabilityForPreset:(NSString*)preset; 26 | 27 | @end 28 | 29 | #endif // WEBRTC_MODULES_VIDEO_CAPTURE_OBJC_DEVICE_INFO_OBJC_H_ 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/video_capture/video_capture_delay.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_DELAY_H_ 12 | #define WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_DELAY_H_ 13 | 14 | namespace webrtc 15 | { 16 | namespace videocapturemodule 17 | { 18 | 19 | struct DelayValue 20 | { 21 | int32_t width; 22 | int32_t height; 23 | int32_t delay; 24 | }; 25 | 26 | enum { NoOfDelayValues = 40 }; 27 | struct DelayValues 28 | { 29 | char * deviceName; 30 | char* productId; 31 | DelayValue delayValues[NoOfDelayValues]; 32 | }; 33 | 34 | } // namespace videocapturemodule 35 | } // namespace webrtc 36 | #endif // WEBRTC_MODULES_VIDEO_CAPTURE_MAIN_SOURCE_VIDEO_CAPTURE_DELAY_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/video_coding/codecs/interface/common_constants.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | // This file contains constants that are used by multiple global 12 | // codec definitions (modules/video_coding/codecs/*/include/*_globals.h) 13 | 14 | #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_COMMON_CONSTANTS_H_ 15 | #define WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_COMMON_CONSTANTS_H_ 16 | 17 | namespace webrtc { 18 | 19 | const int16_t kNoPictureId = -1; 20 | const int16_t kNoTl0PicIdx = -1; 21 | const uint8_t kNoTemporalIdx = 0xFF; 22 | const int kNoKeyIdx = -1; 23 | 24 | } // namespace webrtc 25 | 26 | #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_INTERFACE_COMMON_CONSTANTS_H_ 27 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/video_coding/codecs/test/mock/mock_packet_manipulator.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_ 12 | #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_ 13 | 14 | #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h" 15 | 16 | #include 17 | 18 | #include "webrtc/test/gmock.h" 19 | #include "webrtc/typedefs.h" 20 | #include "webrtc/video_frame.h" 21 | 22 | namespace webrtc { 23 | namespace test { 24 | 25 | class MockPacketManipulator : public PacketManipulator { 26 | public: 27 | MOCK_METHOD1(ManipulatePackets, int(webrtc::EncodedImage* encoded_image)); 28 | }; 29 | 30 | } // namespace test 31 | } // namespace webrtc 32 | 33 | #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_ 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/video_coding/codecs/vp8/include/vp8.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | * WEBRTC VP8 wrapper interface 11 | */ 12 | 13 | #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_INCLUDE_VP8_H_ 14 | #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_INCLUDE_VP8_H_ 15 | 16 | #include "webrtc/modules/video_coding/include/video_codec_interface.h" 17 | 18 | namespace webrtc { 19 | 20 | class VP8Encoder : public VideoEncoder { 21 | public: 22 | static VP8Encoder* Create(); 23 | 24 | virtual ~VP8Encoder() {} 25 | }; // end of VP8Encoder class 26 | 27 | class VP8Decoder : public VideoDecoder { 28 | public: 29 | static VP8Decoder* Create(); 30 | 31 | virtual ~VP8Decoder() {} 32 | }; // end of VP8Decoder class 33 | } // namespace webrtc 34 | 35 | #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_INCLUDE_VP8_H_ 36 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/video_coding/codecs/vp9/include/vp9.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | 12 | #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_INCLUDE_VP9_H_ 13 | #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_INCLUDE_VP9_H_ 14 | 15 | #include "webrtc/modules/video_coding/include/video_codec_interface.h" 16 | 17 | namespace webrtc { 18 | 19 | class VP9Encoder : public VideoEncoder { 20 | public: 21 | static bool IsSupported(); 22 | static VP9Encoder* Create(); 23 | 24 | virtual ~VP9Encoder() {} 25 | }; 26 | 27 | class VP9Decoder : public VideoDecoder { 28 | public: 29 | static bool IsSupported(); 30 | static VP9Decoder* Create(); 31 | 32 | virtual ~VP9Decoder() {} 33 | }; 34 | } // namespace webrtc 35 | 36 | #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP9_INCLUDE_VP9_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/video_coding/utility/moving_average.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | #ifndef WEBRTC_MODULES_VIDEO_CODING_UTILITY_MOVING_AVERAGE_H_ 12 | #define WEBRTC_MODULES_VIDEO_CODING_UTILITY_MOVING_AVERAGE_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/base/optional.h" 17 | 18 | namespace webrtc { 19 | class MovingAverage { 20 | public: 21 | explicit MovingAverage(size_t s); 22 | void AddSample(int sample); 23 | rtc::Optional GetAverage() const; 24 | rtc::Optional GetAverage(size_t num_samples) const; 25 | void Reset(); 26 | size_t size() const; 27 | 28 | private: 29 | size_t count_ = 0; 30 | int sum_ = 0; 31 | std::vector sum_history_; 32 | }; 33 | } // namespace webrtc 34 | 35 | #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_MOVING_AVERAGE_H_ 36 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/video_coding/utility/qp_parser.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | #ifndef WEBRTC_MODULES_VIDEO_CODING_UTILITY_QP_PARSER_H_ 12 | #define WEBRTC_MODULES_VIDEO_CODING_UTILITY_QP_PARSER_H_ 13 | 14 | #include "webrtc/modules/video_coding/encoded_frame.h" 15 | 16 | namespace webrtc { 17 | 18 | class QpParser { 19 | public: 20 | QpParser() {} 21 | ~QpParser() {} 22 | 23 | // Parses an encoded |frame| and extracts the |qp|. 24 | // Returns true on success, false otherwise. 25 | bool GetQp(const VCMEncodedFrame& frame, int* qp); 26 | }; 27 | 28 | } // namespace webrtc 29 | 30 | #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_QP_PARSER_H_ 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/modules/video_processing/util/skin_detection.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | #ifndef WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_SKIN_DETECTION_H_ 12 | #define WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_SKIN_DETECTION_H_ 13 | 14 | namespace webrtc { 15 | 16 | #define MODEL_MODE 0 17 | 18 | typedef unsigned char uint8_t; 19 | bool MbHasSkinColor(const uint8_t* y_src, 20 | const uint8_t* u_src, 21 | const uint8_t* v_src, 22 | const int stride_y, 23 | const int stride_u, 24 | const int stride_v, 25 | const int mb_row, 26 | const int mb_col); 27 | 28 | } // namespace webrtc 29 | 30 | #endif // WEBRTC_MODULES_VIDEO_PROCESSING_UTIL_SKIN_DETECTION_H_ 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/p2p/base/candidatepairinterface.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #ifndef WEBRTC_P2P_BASE_CANDIDATEPAIRINTERFACE_H_ 12 | #define WEBRTC_P2P_BASE_CANDIDATEPAIRINTERFACE_H_ 13 | 14 | namespace cricket { 15 | 16 | class Candidate; 17 | 18 | class CandidatePairInterface { 19 | public: 20 | virtual ~CandidatePairInterface() {} 21 | 22 | virtual const Candidate& local_candidate() const = 0; 23 | virtual const Candidate& remote_candidate() const = 0; 24 | }; 25 | 26 | } // namespace cricket 27 | 28 | #endif // WEBRTC_P2P_BASE_CANDIDATEPAIRINTERFACE_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/p2p/base/common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2004 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 | #ifndef WEBRTC_P2P_BASE_COMMON_H_ 12 | #define WEBRTC_P2P_BASE_COMMON_H_ 13 | 14 | #include "webrtc/base/logging.h" 15 | 16 | // Common log description format for jingle messages 17 | #define LOG_J(sev, obj) LOG(sev) << "Jingle:" << obj->ToString() << ": " 18 | #define LOG_JV(sev, obj) LOG_V(sev) << "Jingle:" << obj->ToString() << ": " 19 | 20 | #endif // WEBRTC_P2P_BASE_COMMON_H_ 21 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/p2p/base/session.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2004 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 | // TODO(deadbeef): Remove this file when Chrome build files no longer reference 12 | // it. 13 | #error "DONT INCLUDE THIS" 14 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/p2p/base/transport.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | // Most of the contents of this header have moved to jseptransport.h. 12 | // TODO(deadbeef): Delete this file when downstream dependents are updated. 13 | 14 | #ifndef WEBRTC_P2P_BASE_TRANSPORT_H_ 15 | #define WEBRTC_P2P_BASE_TRANSPORT_H_ 16 | 17 | #include "webrtc/p2p/base/transport.h" 18 | 19 | #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ 20 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/p2p/base/udpport.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2004 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 | #ifndef WEBRTC_P2P_BASE_UDPPORT_H_ 12 | #define WEBRTC_P2P_BASE_UDPPORT_H_ 13 | 14 | // StunPort will be handling UDPPort functionality. 15 | #include "webrtc/p2p/base/stunport.h" 16 | 17 | #endif // WEBRTC_P2P_BASE_UDPPORT_H_ 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/pc/test/androidtestinitializer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #ifndef WEBRTC_PC_TEST_ANDROIDTESTINITIALIZER_H_ 12 | #define WEBRTC_PC_TEST_ANDROIDTESTINITIALIZER_H_ 13 | 14 | namespace webrtc { 15 | 16 | void InitializeAndroidObjects(); 17 | 18 | } // namespace webrtc 19 | 20 | #endif // WEBRTC_PC_TEST_ANDROIDTESTINITIALIZER_H_ 21 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/pc/test/fakevideotrackrenderer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 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 | #ifndef WEBRTC_PC_TEST_FAKEVIDEOTRACKRENDERER_H_ 12 | #define WEBRTC_PC_TEST_FAKEVIDEOTRACKRENDERER_H_ 13 | 14 | #include "webrtc/api/mediastreaminterface.h" 15 | #include "webrtc/media/base/fakevideorenderer.h" 16 | 17 | namespace webrtc { 18 | 19 | class FakeVideoTrackRenderer : public cricket::FakeVideoRenderer { 20 | public: 21 | FakeVideoTrackRenderer(VideoTrackInterface* video_track) 22 | : video_track_(video_track) { 23 | video_track_->AddOrUpdateSink(this, rtc::VideoSinkWants()); 24 | } 25 | ~FakeVideoTrackRenderer() { video_track_->RemoveSink(this); } 26 | 27 | private: 28 | rtc::scoped_refptr video_track_; 29 | }; 30 | 31 | } // namespace webrtc 32 | 33 | #endif // WEBRTC_PC_TEST_FAKEVIDEOTRACKRENDERER_H_ 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/pc/voicechannel.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2004 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 | #ifndef WEBRTC_PC_VOICECHANNEL_H_ 12 | #define WEBRTC_PC_VOICECHANNEL_H_ 13 | 14 | #include "webrtc/pc/channel.h" 15 | 16 | #endif // WEBRTC_PC_VOICECHANNEL_H_ 17 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/NSString+StdString.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | #include 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface NSString (StdString) 18 | 19 | @property(nonatomic, readonly) std::string stdString; 20 | 21 | + (std::string)stdStringForString:(NSString *)nsString; 22 | + (NSString *)stringForStdString:(const std::string&)stdString; 23 | 24 | @end 25 | 26 | NS_ASSUME_NONNULL_END 27 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCAVFoundationVideoSource+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCAVFoundationVideoSource.h" 12 | 13 | #include "avfoundationvideocapturer.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCAVFoundationVideoSource () 18 | 19 | @property(nonatomic, readonly) webrtc::AVFoundationVideoCapturer *capturer; 20 | 21 | /** Initialize an RTCAVFoundationVideoSource with constraints. */ 22 | - (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory 23 | constraints:(nullable RTCMediaConstraints *)constraints; 24 | 25 | @end 26 | 27 | NS_ASSUME_NONNULL_END 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCAudioTrack+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCAudioTrack.h" 12 | 13 | #include "webrtc/api/mediastreaminterface.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @class RTCPeerConnectionFactory; 18 | @interface RTCAudioTrack () 19 | 20 | /** AudioTrackInterface created or passed in at construction. */ 21 | @property(nonatomic, readonly) 22 | rtc::scoped_refptr nativeAudioTrack; 23 | 24 | /** Initialize an RTCAudioTrack with an id. */ 25 | - (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory 26 | source:(RTCAudioSource *)source 27 | trackId:(NSString *)trackId; 28 | 29 | @end 30 | 31 | NS_ASSUME_NONNULL_END 32 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCDataChannelConfiguration+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCDataChannelConfiguration.h" 12 | 13 | #include "webrtc/api/datachannelinterface.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCDataChannelConfiguration () 18 | 19 | @property(nonatomic, readonly) webrtc::DataChannelInit nativeDataChannelInit; 20 | 21 | @end 22 | 23 | NS_ASSUME_NONNULL_END 24 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCDispatcher+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCDispatcher.h" 12 | 13 | @interface RTCDispatcher () 14 | 15 | + (dispatch_queue_t)dispatchQueueForType:(RTCDispatcherQueueType)dispatchType; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCIceCandidate+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCIceCandidate.h" 12 | 13 | #include 14 | 15 | #include "webrtc/api/jsep.h" 16 | 17 | NS_ASSUME_NONNULL_BEGIN 18 | 19 | @interface RTCIceCandidate () 20 | 21 | /** 22 | * The native IceCandidateInterface representation of this RTCIceCandidate 23 | * object. This is needed to pass to the underlying C++ APIs. 24 | */ 25 | @property(nonatomic, readonly) 26 | std::unique_ptr nativeCandidate; 27 | 28 | /** 29 | * Initialize an RTCIceCandidate from a native IceCandidateInterface. No 30 | * ownership is taken of the native candidate. 31 | */ 32 | - (instancetype)initWithNativeCandidate: 33 | (const webrtc::IceCandidateInterface *)candidate; 34 | 35 | @end 36 | 37 | NS_ASSUME_NONNULL_END 38 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCIceServer+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCIceServer.h" 12 | 13 | #include "webrtc/api/peerconnectioninterface.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCIceServer () 18 | 19 | /** 20 | * IceServer struct representation of this RTCIceServer object's data. 21 | * This is needed to pass to the underlying C++ APIs. 22 | */ 23 | @property(nonatomic, readonly) 24 | webrtc::PeerConnectionInterface::IceServer nativeServer; 25 | 26 | /** Initialize an RTCIceServer from a native IceServer. */ 27 | - (instancetype)initWithNativeServer: 28 | (webrtc::PeerConnectionInterface::IceServer)nativeServer; 29 | 30 | @end 31 | 32 | NS_ASSUME_NONNULL_END 33 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCLegacyStatsReport+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCLegacyStatsReport.h" 12 | 13 | #include "webrtc/api/statstypes.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCLegacyStatsReport () 18 | 19 | /** Initialize an RTCLegacyStatsReport object from a native StatsReport. */ 20 | - (instancetype)initWithNativeReport:(const webrtc::StatsReport &)nativeReport; 21 | 22 | @end 23 | 24 | NS_ASSUME_NONNULL_END 25 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCMetricsSampleInfo+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import "WebRTC/RTCMetricsSampleInfo.h" 12 | 13 | #include "webrtc/system_wrappers/include/metrics_default.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCMetricsSampleInfo () 18 | 19 | /** Initialize an RTCMetricsSampleInfo object from native SampleInfo. */ 20 | - (instancetype)initWithNativeSampleInfo: 21 | (const webrtc::metrics::SampleInfo &)info; 22 | 23 | @end 24 | 25 | NS_ASSUME_NONNULL_END 26 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCPeerConnectionFactory.h" 12 | 13 | #include "webrtc/api/peerconnectioninterface.h" 14 | #include "webrtc/base/scoped_ref_ptr.h" 15 | 16 | NS_ASSUME_NONNULL_BEGIN 17 | 18 | @interface RTCPeerConnectionFactory () 19 | 20 | /** 21 | * PeerConnectionFactoryInterface created and held by this 22 | * RTCPeerConnectionFactory object. This is needed to pass to the underlying 23 | * C++ APIs. 24 | */ 25 | @property(nonatomic, readonly) 26 | rtc::scoped_refptr nativeFactory; 27 | 28 | @end 29 | 30 | NS_ASSUME_NONNULL_END 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCRtpCodecParameters+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import "WebRTC/RTCRtpCodecParameters.h" 12 | 13 | #include "webrtc/api/rtpparameters.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCRtpCodecParameters () 18 | 19 | /** Returns the equivalent native RtpCodecParameters structure. */ 20 | @property(nonatomic, readonly) webrtc::RtpCodecParameters nativeParameters; 21 | 22 | /** Initialize the object with a native RtpCodecParameters structure. */ 23 | - (instancetype)initWithNativeParameters: 24 | (const webrtc::RtpCodecParameters &)nativeParameters; 25 | 26 | @end 27 | 28 | NS_ASSUME_NONNULL_END 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCRtpEncodingParameters+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import "WebRTC/RTCRtpEncodingParameters.h" 12 | 13 | #include "webrtc/api/rtpparameters.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCRtpEncodingParameters () 18 | 19 | /** Returns the equivalent native RtpEncodingParameters structure. */ 20 | @property(nonatomic, readonly) webrtc::RtpEncodingParameters nativeParameters; 21 | 22 | /** Initialize the object with a native RtpEncodingParameters structure. */ 23 | - (instancetype)initWithNativeParameters: 24 | (const webrtc::RtpEncodingParameters &)nativeParameters; 25 | 26 | @end 27 | 28 | NS_ASSUME_NONNULL_END 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCRtpParameters+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import "WebRTC/RTCRtpParameters.h" 12 | 13 | #include "webrtc/api/rtpparameters.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCRtpParameters () 18 | 19 | /** Returns the equivalent native RtpParameters structure. */ 20 | @property(nonatomic, readonly) webrtc::RtpParameters nativeParameters; 21 | 22 | /** Initialize the object with a native RtpParameters structure. */ 23 | - (instancetype)initWithNativeParameters: 24 | (const webrtc::RtpParameters &)nativeParameters; 25 | 26 | @end 27 | 28 | NS_ASSUME_NONNULL_END 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCRtpReceiver+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import "WebRTC/RTCRtpReceiver.h" 12 | 13 | #include "webrtc/api/rtpreceiverinterface.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCRtpReceiver () 18 | 19 | @property(nonatomic, readonly) 20 | rtc::scoped_refptr nativeRtpReceiver; 21 | 22 | /** Initialize an RTCRtpReceiver with a native RtpReceiverInterface. */ 23 | - (instancetype)initWithNativeRtpReceiver: 24 | (rtc::scoped_refptr)nativeRtpReceiver 25 | NS_DESIGNATED_INITIALIZER; 26 | 27 | @end 28 | 29 | NS_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCRtpSender+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import "WebRTC/RTCRtpSender.h" 12 | 13 | #include "webrtc/api/rtpsenderinterface.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCRtpSender () 18 | 19 | @property(nonatomic, readonly) 20 | rtc::scoped_refptr nativeRtpSender; 21 | 22 | /** Initialize an RTCRtpSender with a native RtpSenderInterface. */ 23 | - (instancetype)initWithNativeRtpSender: 24 | (rtc::scoped_refptr)nativeRtpSender 25 | NS_DESIGNATED_INITIALIZER; 26 | 27 | @end 28 | 29 | NS_ASSUME_NONNULL_END 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCShader+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import "RTCShader.h" 12 | 13 | #import "WebRTC/RTCMacros.h" 14 | 15 | #if TARGET_OS_IPHONE 16 | #import 17 | #else 18 | #import 19 | #endif 20 | 21 | #include "webrtc/api/video/video_rotation.h" 22 | 23 | RTC_EXTERN const char kRTCVertexShaderSource[]; 24 | 25 | RTC_EXTERN GLuint RTCCreateShader(GLenum type, const GLchar *source); 26 | RTC_EXTERN GLuint RTCCreateProgram(GLuint vertexShader, GLuint fragmentShader); 27 | RTC_EXTERN GLuint RTCCreateProgramFromFragmentSource(const char fragmentShaderSource[]); 28 | RTC_EXTERN BOOL RTCSetupVerticesForProgram( 29 | GLuint program, GLuint* vertexBuffer, GLuint* vertexArray); 30 | RTC_EXTERN void RTCSetVertexData(webrtc::VideoRotation rotation); 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCUIApplication.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #ifndef WEBRTC_BASE_OBJC_RTC_UI_APPLICATION_H_ 12 | #define WEBRTC_BASE_OBJC_RTC_UI_APPLICATION_H_ 13 | 14 | #include "WebRTC/RTCMacros.h" 15 | 16 | #if defined(WEBRTC_IOS) 17 | /** Convenience function to get UIApplicationState from C++. */ 18 | RTC_EXTERN bool RTCIsUIApplicationActive(); 19 | #endif // WEBRTC_IOS 20 | 21 | #endif // WEBRTC_BASE_OBJC_RTC_UI_APPLICATION_H_ 22 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCVideoFrame+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCVideoFrame.h" 12 | 13 | #include "webrtc/api/video/video_frame_buffer.h" 14 | #include "webrtc/api/video/video_rotation.h" 15 | 16 | NS_ASSUME_NONNULL_BEGIN 17 | 18 | @interface RTCVideoFrame () 19 | 20 | @property(nonatomic, readonly) 21 | rtc::scoped_refptr i420Buffer; 22 | 23 | - (instancetype)initWithVideoBuffer: 24 | (rtc::scoped_refptr)videoBuffer 25 | rotation:(webrtc::VideoRotation)rotation 26 | timeStampNs:(int64_t)timeStampNs 27 | NS_DESIGNATED_INITIALIZER; 28 | 29 | @end 30 | 31 | NS_ASSUME_NONNULL_END 32 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | NS_ASSUME_NONNULL_BEGIN 14 | 15 | /* 16 | * Creates a rtc::VideoSinkInterface surface for an RTCVideoRenderer. The 17 | * rtc::VideoSinkInterface is used by WebRTC rendering code - this 18 | * adapter adapts calls made to that interface to the RTCVideoRenderer supplied 19 | * during construction. 20 | */ 21 | @interface RTCVideoRendererAdapter : NSObject 22 | 23 | - (instancetype)init NS_UNAVAILABLE; 24 | 25 | @end 26 | 27 | NS_ASSUME_NONNULL_END 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/RTCVideoTrack+Private.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import "WebRTC/RTCVideoTrack.h" 12 | 13 | #include "webrtc/api/mediastreaminterface.h" 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @interface RTCVideoTrack () 18 | 19 | /** VideoTrackInterface created or passed in at construction. */ 20 | @property(nonatomic, readonly) 21 | rtc::scoped_refptr nativeVideoTrack; 22 | 23 | /** Initialize an RTCVideoTrack with its source and an id. */ 24 | - (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory 25 | source:(RTCVideoSource *)source 26 | trackId:(NSString *)trackId; 27 | 28 | @end 29 | 30 | NS_ASSUME_NONNULL_END 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Classes/avfoundationformatmapper.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 12 | 13 | #import 14 | #import 15 | 16 | #include "webrtc/media/base/videocapturer.h" 17 | 18 | namespace webrtc { 19 | // Mapping from AVCaptureDeviceFormat to cricket::VideoFormat for given input 20 | // device. 21 | std::set GetSupportedVideoFormatsForDevice( 22 | AVCaptureDevice* device); 23 | 24 | // Sets device format for the provided capture device. Returns YES/NO depending 25 | // on success. 26 | bool SetFormatForCaptureDevice(AVCaptureDevice* device, 27 | AVCaptureSession* session, 28 | const cricket::VideoFormat& format); 29 | } 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import 12 | 13 | #import 14 | #import 15 | 16 | NS_ASSUME_NONNULL_BEGIN 17 | 18 | RTC_EXPORT 19 | @interface RTCAudioSource : RTCMediaSource 20 | 21 | - (instancetype)init NS_UNAVAILABLE; 22 | 23 | @end 24 | 25 | NS_ASSUME_NONNULL_END 26 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioTrack.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | #import 13 | 14 | NS_ASSUME_NONNULL_BEGIN 15 | 16 | @class RTCAudioSource; 17 | 18 | RTC_EXPORT 19 | @interface RTCAudioTrack : RTCMediaStreamTrack 20 | 21 | - (instancetype)init NS_UNAVAILABLE; 22 | 23 | /** The audio source for this audio track. */ 24 | @property(nonatomic, readonly) RTCAudioSource *source; 25 | 26 | @end 27 | 28 | NS_ASSUME_NONNULL_END 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | #import 13 | 14 | #import 15 | 16 | @class AVCaptureSession; 17 | @class RTCAVFoundationVideoSource; 18 | 19 | /** RTCCameraPreviewView is a view that renders local video from an 20 | * AVCaptureSession. 21 | */ 22 | RTC_EXPORT 23 | @interface RTCCameraPreviewView : UIView 24 | 25 | /** The capture session being rendered in the view. Capture session 26 | * is assigned to AVCaptureVideoPreviewLayer async in the same 27 | * queue that the AVCaptureSession is started/stopped. 28 | */ 29 | @property(nonatomic, strong) AVCaptureSession *captureSession; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | #import 13 | 14 | #import 15 | #import 16 | 17 | NS_ASSUME_NONNULL_BEGIN 18 | 19 | @class RTCEAGLVideoView; 20 | RTC_EXPORT 21 | @protocol RTCEAGLVideoViewDelegate 22 | 23 | - (void)videoView:(RTCEAGLVideoView *)videoView didChangeVideoSize:(CGSize)size; 24 | 25 | @end 26 | 27 | /** 28 | * RTCEAGLVideoView is an RTCVideoRenderer which renders video frames in its 29 | * bounds using OpenGLES 2.0. 30 | */ 31 | RTC_EXPORT 32 | @interface RTCEAGLVideoView : UIView 33 | 34 | @property(nonatomic, weak) id delegate; 35 | 36 | @end 37 | 38 | NS_ASSUME_NONNULL_END 39 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMacros.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #ifndef WEBRTC_BASE_OBJC_RTC_MACROS_H_ 12 | #define WEBRTC_BASE_OBJC_RTC_MACROS_H_ 13 | 14 | #define RTC_EXPORT __attribute__((visibility("default"))) 15 | 16 | #if defined(__cplusplus) 17 | #define RTC_EXTERN extern "C" RTC_EXPORT 18 | #else 19 | #define RTC_EXTERN extern RTC_EXPORT 20 | #endif 21 | 22 | #ifdef __OBJC__ 23 | #define RTC_FWD_DECL_OBJC_CLASS(classname) @class classname 24 | #else 25 | #define RTC_FWD_DECL_OBJC_CLASS(classname) typedef struct objc_object classname 26 | #endif 27 | 28 | #endif // WEBRTC_BASE_OBJC_RTC_MACROS_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaSource.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import 12 | 13 | #import 14 | 15 | typedef NS_ENUM(NSInteger, RTCSourceState) { 16 | RTCSourceStateInitializing, 17 | RTCSourceStateLive, 18 | RTCSourceStateEnded, 19 | RTCSourceStateMuted, 20 | }; 21 | 22 | NS_ASSUME_NONNULL_BEGIN 23 | 24 | RTC_EXPORT 25 | @interface RTCMediaSource : NSObject 26 | 27 | /** The current state of the RTCMediaSource. */ 28 | @property(nonatomic, readonly) RTCSourceState state; 29 | 30 | - (instancetype)init NS_UNAVAILABLE; 31 | 32 | @end 33 | 34 | NS_ASSUME_NONNULL_END 35 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMetrics.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import 12 | 13 | #import 14 | #import 15 | 16 | /** 17 | * Enables gathering of metrics (which can be fetched with 18 | * RTCGetAndResetMetrics). Must be called before any other call into WebRTC. 19 | */ 20 | RTC_EXTERN void RTCEnableMetrics(); 21 | 22 | /** Gets and clears native histograms. */ 23 | RTC_EXTERN NSArray *RTCGetAndResetMetrics(); 24 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | #if !TARGET_OS_IPHONE 14 | 15 | #import 16 | 17 | #import 18 | 19 | NS_ASSUME_NONNULL_BEGIN 20 | 21 | @class RTCNSGLVideoView; 22 | @protocol RTCNSGLVideoViewDelegate 23 | 24 | - (void)videoView:(RTCNSGLVideoView *)videoView didChangeVideoSize:(CGSize)size; 25 | 26 | @end 27 | 28 | @interface RTCNSGLVideoView : NSOpenGLView 29 | 30 | @property(nonatomic, weak) id delegate; 31 | 32 | @end 33 | 34 | NS_ASSUME_NONNULL_END 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpEncodingParameters.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import 12 | 13 | #import 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | RTC_EXPORT 18 | @interface RTCRtpEncodingParameters : NSObject 19 | 20 | /** Controls whether the encoding is currently transmitted. */ 21 | @property(nonatomic, assign) BOOL isActive; 22 | 23 | /** The maximum bitrate to use for the encoding, or nil if there is no 24 | * limit. 25 | */ 26 | @property(nonatomic, copy, nullable) NSNumber *maxBitrateBps; 27 | 28 | /** The SSRC being used by this encoding. */ 29 | @property(nonatomic, readonly, nullable) NSNumber *ssrc; 30 | 31 | - (instancetype)init NS_DESIGNATED_INITIALIZER; 32 | 33 | @end 34 | 35 | NS_ASSUME_NONNULL_END 36 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCRtpParameters.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import 12 | 13 | #import 14 | #import 15 | #import 16 | 17 | NS_ASSUME_NONNULL_BEGIN 18 | 19 | RTC_EXPORT 20 | @interface RTCRtpParameters : NSObject 21 | 22 | /** The currently active encodings in the order of preference. */ 23 | @property(nonatomic, copy) NSArray *encodings; 24 | 25 | /** The negotiated set of send codecs in order of preference. */ 26 | @property(nonatomic, copy) NSArray *codecs; 27 | 28 | - (instancetype)init NS_DESIGNATED_INITIALIZER; 29 | 30 | @end 31 | 32 | NS_ASSUME_NONNULL_END 33 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCSSLAdapter.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import 12 | 13 | #import 14 | 15 | /** 16 | * Initialize and clean up the SSL library. Failure is fatal. These call the 17 | * corresponding functions in webrtc/base/ssladapter.h. 18 | */ 19 | RTC_EXTERN BOOL RTCInitializeSSL(); 20 | RTC_EXTERN BOOL RTCCleanupSSL(); 21 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCTracing.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 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 | #import 12 | 13 | #import 14 | 15 | RTC_EXTERN void RTCSetupInternalTracer(); 16 | /** Starts capture to specified file. Must be a valid writable path. 17 | * Returns YES if capture starts. 18 | */ 19 | RTC_EXTERN BOOL RTCStartInternalCapture(NSString *filePath); 20 | RTC_EXTERN void RTCStopInternalCapture(); 21 | RTC_EXTERN void RTCShutdownInternalTracer(); 22 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoRenderer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | #if TARGET_OS_IPHONE 13 | #import 14 | #endif 15 | 16 | #import 17 | 18 | NS_ASSUME_NONNULL_BEGIN 19 | 20 | @class RTCVideoFrame; 21 | 22 | RTC_EXPORT 23 | @protocol RTCVideoRenderer 24 | 25 | /** The size of the frame. */ 26 | - (void)setSize:(CGSize)size; 27 | 28 | /** The frame to be displayed. */ 29 | - (void)renderFrame:(nullable RTCVideoFrame *)frame; 30 | 31 | @end 32 | 33 | NS_ASSUME_NONNULL_END 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | #import 14 | #import 15 | 16 | NS_ASSUME_NONNULL_BEGIN 17 | 18 | RTC_EXPORT 19 | @interface RTCVideoSource : RTCMediaSource 20 | 21 | - (instancetype)init NS_UNAVAILABLE; 22 | 23 | @end 24 | 25 | NS_ASSUME_NONNULL_END 26 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoTrack.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2015 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 | #import 12 | 13 | #import 14 | 15 | NS_ASSUME_NONNULL_BEGIN 16 | 17 | @protocol RTCVideoRenderer; 18 | @class RTCPeerConnectionFactory; 19 | @class RTCVideoSource; 20 | 21 | RTC_EXPORT 22 | @interface RTCVideoTrack : RTCMediaStreamTrack 23 | 24 | /** The video source for this video track. */ 25 | @property(nonatomic, readonly) RTCVideoSource *source; 26 | 27 | - (instancetype)init NS_UNAVAILABLE; 28 | 29 | /** Register a renderer that will render all frames received on this track. */ 30 | - (void)addRenderer:(id)renderer; 31 | 32 | /** Deregister a renderer. */ 33 | - (void)removeRenderer:(id)renderer; 34 | 35 | @end 36 | 37 | NS_ASSUME_NONNULL_END 38 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/system_wrappers/include/compile_assert_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_COMPILE_ASSERT_H_ 12 | #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_COMPILE_ASSERT_H_ 13 | 14 | // Use this macro to verify at compile time that certain restrictions are met. 15 | // The argument is the boolean expression to evaluate. 16 | // Example: 17 | // COMPILE_ASSERT(sizeof(foo) < 128); 18 | // Note: In C++, use static_assert instead! 19 | #define COMPILE_ASSERT(expression) switch (0) {case 0: case expression:;} 20 | 21 | #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_COMPILE_ASSERT_H_ 22 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/system_wrappers/include/cpu_info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CPU_INFO_H_ 12 | #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CPU_INFO_H_ 13 | 14 | #include "webrtc/typedefs.h" 15 | 16 | namespace webrtc { 17 | 18 | class CpuInfo { 19 | public: 20 | static uint32_t DetectNumberOfCores(); 21 | 22 | private: 23 | CpuInfo() {} 24 | }; 25 | 26 | } // namespace webrtc 27 | 28 | #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_CPU_INFO_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/system_wrappers/include/field_trial_default.h: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) 2015 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 | #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_FIELD_TRIAL_DEFAULT_H_ 12 | #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_FIELD_TRIAL_DEFAULT_H_ 13 | 14 | namespace webrtc { 15 | namespace field_trial { 16 | 17 | // Optionally initialize field trial from a string. 18 | // This method can be called at most once before any other call into webrtc. 19 | // E.g. before the peer connection factory is constructed. 20 | // Note: trials_string must never be destroyed. 21 | void InitFieldTrialsFromString(const char* trials_string); 22 | 23 | const char* GetFieldTrialString(); 24 | 25 | } // namespace field_trial 26 | } // namespace webrtc 27 | 28 | #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_FIELD_TRIAL_DEFAULT_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/system_wrappers/include/sleep.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | // An OS-independent sleep function. 11 | 12 | #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_SLEEP_H_ 13 | #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_SLEEP_H_ 14 | 15 | namespace webrtc { 16 | 17 | // This function sleeps for the specified number of milliseconds. 18 | // It may return early if the thread is woken by some other event, 19 | // such as the delivery of a signal on Unix. 20 | void SleepMs(int msecs); 21 | 22 | } // namespace webrtc 23 | 24 | #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_SLEEP_H_ 25 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/system_wrappers/source/event_timer_win.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_EVENT_WIN_H_ 12 | #define WEBRTC_SYSTEM_WRAPPERS_SOURCE_EVENT_WIN_H_ 13 | 14 | #include 15 | 16 | #include "webrtc/system_wrappers/include/event_wrapper.h" 17 | 18 | #include "webrtc/typedefs.h" 19 | 20 | namespace webrtc { 21 | 22 | class EventTimerWin : public EventTimerWrapper { 23 | public: 24 | EventTimerWin(); 25 | virtual ~EventTimerWin(); 26 | 27 | virtual EventTypeWrapper Wait(unsigned long max_time); 28 | virtual bool Set(); 29 | 30 | virtual bool StartTimer(bool periodic, unsigned long time); 31 | virtual bool StopTimer(); 32 | 33 | private: 34 | HANDLE event_; 35 | uint32_t timerID_; 36 | }; 37 | 38 | } // namespace webrtc 39 | 40 | #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_EVENT_WIN_H_ 41 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/system_wrappers/source/rw_lock_win.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_RW_LOCK_WIN_H_ 12 | #define WEBRTC_SYSTEM_WRAPPERS_SOURCE_RW_LOCK_WIN_H_ 13 | 14 | #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" 15 | 16 | #include 17 | 18 | namespace webrtc { 19 | 20 | class RWLockWin : public RWLockWrapper { 21 | public: 22 | static RWLockWin* Create(); 23 | ~RWLockWin() {} 24 | 25 | virtual void AcquireLockExclusive(); 26 | virtual void ReleaseLockExclusive(); 27 | 28 | virtual void AcquireLockShared(); 29 | virtual void ReleaseLockShared(); 30 | 31 | private: 32 | RWLockWin(); 33 | static bool LoadModule(); 34 | 35 | SRWLOCK lock_; 36 | }; 37 | 38 | } // namespace webrtc 39 | 40 | #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_RW_LOCK_WIN_H_ 41 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/system_wrappers/source/trace_win.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_TRACE_WIN_H_ 12 | #define WEBRTC_SYSTEM_WRAPPERS_SOURCE_TRACE_WIN_H_ 13 | 14 | #include 15 | #include 16 | 17 | #include "webrtc/system_wrappers/source/trace_impl.h" 18 | 19 | namespace webrtc { 20 | 21 | class TraceWindows : public TraceImpl { 22 | public: 23 | TraceWindows(); 24 | virtual ~TraceWindows(); 25 | 26 | virtual int32_t AddTime(char* trace_message, const TraceLevel level) const; 27 | 28 | virtual int32_t AddDateTimeInfo(char* trace_message) const; 29 | private: 30 | volatile mutable uint32_t prev_api_tick_count_; 31 | volatile mutable uint32_t prev_tick_count_; 32 | }; 33 | 34 | } // namespace webrtc 35 | 36 | #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_TRACE_WIN_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/constants.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 | namespace webrtc { 12 | namespace test { 13 | 14 | extern const int kTOffsetExtensionId; 15 | extern const int kAbsSendTimeExtensionId; 16 | extern const int kTransportSequenceNumberExtensionId; 17 | extern const int kVideoRotationExtensionId; 18 | } // namespace test 19 | } // namespace webrtc 20 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/fake_videorenderer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_TEST_FAKE_VIDEORENDERER_H_ 12 | #define WEBRTC_TEST_FAKE_VIDEORENDERER_H_ 13 | 14 | #include "webrtc/api/video/video_frame.h" 15 | #include "webrtc/media/base/videosinkinterface.h" 16 | 17 | namespace webrtc { 18 | namespace test { 19 | 20 | class FakeVideoRenderer : public rtc::VideoSinkInterface { 21 | public: 22 | void OnFrame(const webrtc::VideoFrame& frame) override {} 23 | }; 24 | 25 | } // namespace test 26 | } // namespace webrtc 27 | 28 | #endif // WEBRTC_TEST_FAKE_VIDEORENDERER_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/gmock.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_TEST_GMOCK_H_ 12 | #define WEBRTC_TEST_GMOCK_H_ 13 | 14 | #include "webrtc/base/ignore_wundef.h" 15 | 16 | RTC_PUSH_IGNORING_WUNDEF() 17 | #include "testing/gmock/include/gmock/gmock.h" 18 | RTC_POP_IGNORING_WUNDEF() 19 | 20 | #endif // WEBRTC_TEST_GMOCK_H_ 21 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/gtest.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_TEST_GTEST_H_ 12 | #define WEBRTC_TEST_GTEST_H_ 13 | 14 | #include "webrtc/base/ignore_wundef.h" 15 | 16 | RTC_PUSH_IGNORING_WUNDEF() 17 | #include "testing/gtest/include/gtest/gtest.h" 18 | RTC_POP_IGNORING_WUNDEF() 19 | 20 | // GTEST_HAS_DEATH_TEST is set to 1 when death tests are supported, but appears 21 | // to be left unset if they're not supported. Rather than depend on this, we 22 | // set it to 0 ourselves here. 23 | #ifndef GTEST_HAS_DEATH_TEST 24 | #define GTEST_HAS_DEATH_TEST 0 25 | #endif 26 | 27 | #endif // WEBRTC_TEST_GTEST_H_ 28 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/mac/video_renderer_mac.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_TEST_MAC_VIDEO_RENDERER_MAC_H_ 12 | #define WEBRTC_TEST_MAC_VIDEO_RENDERER_MAC_H_ 13 | 14 | #include "webrtc/base/constructormagic.h" 15 | #include "webrtc/test/gl/gl_renderer.h" 16 | 17 | @class CocoaWindow; 18 | 19 | namespace webrtc { 20 | namespace test { 21 | 22 | class MacRenderer : public GlRenderer { 23 | public: 24 | MacRenderer(); 25 | virtual ~MacRenderer(); 26 | 27 | bool Init(const char* window_title, int width, int height); 28 | 29 | // Implements GlRenderer. 30 | void OnFrame(const VideoFrame& frame) override; 31 | 32 | private: 33 | CocoaWindow* window_; 34 | 35 | RTC_DISALLOW_COPY_AND_ASSIGN(MacRenderer); 36 | }; 37 | } // test 38 | } // webrtc 39 | 40 | #endif // WEBRTC_TEST_MAC_VIDEO_RENDERER_MAC_H_ 41 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/mock_transport.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_TEST_MOCK_TRANSPORT_H_ 12 | #define WEBRTC_TEST_MOCK_TRANSPORT_H_ 13 | 14 | #include "webrtc/api/call/transport.h" 15 | #include "webrtc/test/gmock.h" 16 | 17 | namespace webrtc { 18 | 19 | class MockTransport : public Transport { 20 | public: 21 | MOCK_METHOD3(SendRtp, 22 | bool(const uint8_t* data, 23 | size_t len, 24 | const PacketOptions& options)); 25 | MOCK_METHOD2(SendRtcp, bool(const uint8_t* data, size_t len)); 26 | }; 27 | } // namespace webrtc 28 | #endif // WEBRTC_TEST_MOCK_TRANSPORT_H_ 29 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/null_transport.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_TEST_NULL_TRANSPORT_H_ 11 | #define WEBRTC_TEST_NULL_TRANSPORT_H_ 12 | 13 | #include "webrtc/api/call/transport.h" 14 | 15 | namespace webrtc { 16 | 17 | class PacketReceiver; 18 | 19 | namespace test { 20 | class NullTransport : public Transport { 21 | public: 22 | bool SendRtp(const uint8_t* packet, 23 | size_t length, 24 | const PacketOptions& options) override; 25 | bool SendRtcp(const uint8_t* packet, size_t length) override; 26 | }; 27 | } // namespace test 28 | } // namespace webrtc 29 | 30 | #endif // WEBRTC_TEST_NULL_TRANSPORT_H_ 31 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/rtp_file_writer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014 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 | #ifndef WEBRTC_TEST_RTP_FILE_WRITER_H_ 11 | #define WEBRTC_TEST_RTP_FILE_WRITER_H_ 12 | 13 | #include 14 | 15 | #include "webrtc/common_types.h" 16 | #include "webrtc/test/rtp_file_reader.h" 17 | 18 | namespace webrtc { 19 | namespace test { 20 | class RtpFileWriter { 21 | public: 22 | enum FileFormat { 23 | kRtpDump, 24 | }; 25 | 26 | virtual ~RtpFileWriter() {} 27 | static RtpFileWriter* Create(FileFormat format, const std::string& filename); 28 | 29 | virtual bool WritePacket(const RtpPacket* packet) = 0; 30 | }; 31 | } // namespace test 32 | } // namespace webrtc 33 | #endif // WEBRTC_TEST_RTP_FILE_WRITER_H_ 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/run_loop.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_TEST_RUN_LOOP_H_ 11 | #define WEBRTC_TEST_RUN_LOOP_H_ 12 | 13 | namespace webrtc { 14 | namespace test { 15 | 16 | // Blocks until the user presses enter. 17 | void PressEnterToContinue(); 18 | 19 | } // namespace test 20 | } // namespace webrtc 21 | 22 | #endif // WEBRTC_TEST_RUN_LOOP_H_ 23 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/run_test.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_TEST_RUN_TEST_H 11 | #define WEBRTC_TEST_RUN_TEST_H 12 | 13 | namespace webrtc { 14 | namespace test { 15 | 16 | // Running a test function on a separate thread, if required by the OS. 17 | void RunTest(void(*test)()); 18 | 19 | } // namespace test 20 | } // namespace webrtc 21 | 22 | #endif // WEBRTC_TEST_RUN_TEST_H 23 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/statistics.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_TEST_STATISTICS_H_ 11 | #define WEBRTC_TEST_STATISTICS_H_ 12 | 13 | #include "webrtc/typedefs.h" 14 | 15 | namespace webrtc { 16 | namespace test { 17 | 18 | class Statistics { 19 | public: 20 | Statistics(); 21 | 22 | void AddSample(double sample); 23 | 24 | double Mean() const; 25 | double Variance() const; 26 | double StandardDeviation() const; 27 | 28 | private: 29 | double sum_; 30 | double sum_squared_; 31 | uint64_t count_; 32 | }; 33 | } // namespace test 34 | } // namespace webrtc 35 | 36 | #endif // WEBRTC_TEST_STATISTICS_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/testsupport/mock/mock_frame_reader.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_TEST_TESTSUPPORT_MOCK_MOCK_FRAME_READER_H_ 12 | #define WEBRTC_TEST_TESTSUPPORT_MOCK_MOCK_FRAME_READER_H_ 13 | 14 | #include "webrtc/test/testsupport/frame_reader.h" 15 | 16 | #include "webrtc/test/gmock.h" 17 | 18 | namespace webrtc { 19 | namespace test { 20 | 21 | class MockFrameReader : public FrameReader { 22 | public: 23 | MOCK_METHOD0(Init, bool()); 24 | MOCK_METHOD0(ReadFrame, rtc::scoped_refptr()); 25 | MOCK_METHOD0(Close, void()); 26 | MOCK_METHOD0(FrameLength, size_t()); 27 | MOCK_METHOD0(NumberOfFrames, int()); 28 | }; 29 | 30 | } // namespace test 31 | } // namespace webrtc 32 | 33 | #endif // WEBRTC_TEST_TESTSUPPORT_MOCK_MOCK_FRAME_READER_H_ 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/testsupport/mock/mock_frame_writer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_TEST_TESTSUPPORT_MOCK_MOCK_FRAME_WRITER_H_ 12 | #define WEBRTC_TEST_TESTSUPPORT_MOCK_MOCK_FRAME_WRITER_H_ 13 | 14 | #include "webrtc/test/testsupport/frame_writer.h" 15 | 16 | #include "webrtc/test/gmock.h" 17 | 18 | namespace webrtc { 19 | namespace test { 20 | 21 | class MockFrameWriter : public FrameWriter { 22 | public: 23 | MOCK_METHOD0(Init, bool()); 24 | MOCK_METHOD1(WriteFrame, bool(uint8_t* frame_buffer)); 25 | MOCK_METHOD0(Close, void()); 26 | MOCK_METHOD0(FrameLength, size_t()); 27 | }; 28 | 29 | } // namespace test 30 | } // namespace webrtc 31 | 32 | #endif // WEBRTC_TEST_TESTSUPPORT_MOCK_MOCK_FRAME_WRITER_H_ 33 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/test/video_capturer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 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 | #ifndef WEBRTC_TEST_VIDEO_CAPTURER_H_ 11 | #define WEBRTC_TEST_VIDEO_CAPTURER_H_ 12 | 13 | #include 14 | 15 | #include "webrtc/api/video/video_frame.h" 16 | #include "webrtc/media/base/videosourceinterface.h" 17 | 18 | namespace webrtc { 19 | 20 | class Clock; 21 | 22 | namespace test { 23 | 24 | class VideoCapturer : public rtc::VideoSourceInterface { 25 | public: 26 | virtual ~VideoCapturer() {} 27 | 28 | virtual void Start() = 0; 29 | virtual void Stop() = 0; 30 | }; 31 | } // test 32 | } // webrtc 33 | 34 | #endif // WEBRTC_TEST_VIDEO_CAPTURER_H_ 35 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/tools/event_log_visualizer/plot_python.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 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 | #ifndef WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_ 11 | #define WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_ 12 | 13 | #include "webrtc/tools/event_log_visualizer/plot_base.h" 14 | 15 | namespace webrtc { 16 | namespace plotting { 17 | 18 | class PythonPlot final : public Plot { 19 | public: 20 | PythonPlot(); 21 | ~PythonPlot() override; 22 | void Draw() override; 23 | }; 24 | 25 | class PythonPlotCollection final : public PlotCollection { 26 | public: 27 | PythonPlotCollection(); 28 | ~PythonPlotCollection() override; 29 | void Draw() override; 30 | Plot* AppendNewPlot() override; 31 | }; 32 | 33 | } // namespace plotting 34 | } // namespace webrtc 35 | 36 | #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_ 37 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/voice_engine/mock/mock_voe_observer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_VOICE_ENGINE_MOCK_VOE_OBSERVER_H_ 12 | #define WEBRTC_VOICE_ENGINE_MOCK_VOE_OBSERVER_H_ 13 | 14 | #include "webrtc/test/gmock.h" 15 | #include "webrtc/voice_engine/include/voe_base.h" 16 | 17 | namespace webrtc { 18 | 19 | class MockVoEObserver: public VoiceEngineObserver { 20 | public: 21 | MockVoEObserver() {} 22 | virtual ~MockVoEObserver() {} 23 | 24 | MOCK_METHOD2(CallbackOnError, void(int channel, int error_code)); 25 | }; 26 | 27 | } 28 | 29 | #endif // WEBRTC_VOICE_ENGINE_MOCK_VOE_OBSERVER_H_ 30 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/voice_engine/test/auto_test/automated_mode.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_AUTOMATED_MODE_H_ 12 | #define SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_AUTOMATED_MODE_H_ 13 | 14 | void InitializeGoogleTest(int* argc, char** argv); 15 | int RunInAutomatedMode(); 16 | 17 | #endif // SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_AUTOMATED_MODE_H_ 18 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/voice_engine/test/auto_test/voe_cpu_test.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 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 | #ifndef WEBRTC_VOICE_ENGINE_VOE_CPU_TEST_H 12 | #define WEBRTC_VOICE_ENGINE_VOE_CPU_TEST_H 13 | 14 | #include "webrtc/voice_engine/test/auto_test/voe_standard_test.h" 15 | 16 | namespace voetest { 17 | 18 | class VoETestManager; 19 | 20 | class VoECpuTest { 21 | public: 22 | VoECpuTest(VoETestManager& mgr); 23 | ~VoECpuTest() {} 24 | int DoTest(); 25 | private: 26 | VoETestManager& _mgr; 27 | }; 28 | 29 | } // namespace voetest 30 | 31 | #endif // WEBRTC_VOICE_ENGINE_VOE_CPU_TEST_H 32 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/voice_engine/test/auto_test/voe_test_common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_ 12 | #define WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_ 13 | 14 | #ifdef WEBRTC_ANDROID 15 | #include 16 | #define ANDROID_LOG_TAG "VoiceEngine Auto Test" 17 | #define TEST_LOG(...) \ 18 | __android_log_print(ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, __VA_ARGS__) 19 | #define TEST_LOG_ERROR(...) \ 20 | __android_log_print(ANDROID_LOG_ERROR, ANDROID_LOG_TAG, __VA_ARGS__) 21 | #define TEST_LOG_FLUSH 22 | #else 23 | #define TEST_LOG printf 24 | #define TEST_LOG_ERROR printf 25 | #define TEST_LOG_FLUSH fflush(NULL) 26 | #endif 27 | 28 | // Time in ms to test each packet size for each codec 29 | #define CODEC_TEST_TIME 400 30 | 31 | #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_ 32 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/voice_engine/test/auto_test/voe_test_interface.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012 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 | /* 12 | * Interface for starting test 13 | */ 14 | 15 | #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H 16 | #define WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H 17 | 18 | #include "webrtc/common_types.h" 19 | 20 | namespace voetest { 21 | // TODO(andrew): Using directives not permitted. 22 | using namespace webrtc; 23 | 24 | // TestType enumerator 25 | enum TestType { 26 | Invalid = -1, 27 | Standard = 0, 28 | 29 | Stress = 2, 30 | 31 | CPU = 4 32 | }; 33 | 34 | // Main test function 35 | int runAutoTest(TestType testType); 36 | 37 | } // namespace voetest 38 | #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_INTERFACE_H 39 | -------------------------------------------------------------------------------- /Win32Project/webrtc-headers/webrtc/voice_engine/voice_engine_fixture.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 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 "webrtc/modules/audio_device/include/fake_audio_device.h" 12 | #include "webrtc/test/gtest.h" 13 | #include "webrtc/test/mock_transport.h" 14 | #include "webrtc/voice_engine/include/voe_base.h" 15 | #include "webrtc/voice_engine/include/voe_network.h" 16 | #include "webrtc/voice_engine/mock/mock_voe_observer.h" 17 | 18 | namespace webrtc { 19 | 20 | class VoiceEngineFixture : public ::testing::Test { 21 | protected: 22 | VoiceEngineFixture(); 23 | ~VoiceEngineFixture(); 24 | 25 | VoiceEngine* voe_; 26 | VoEBase* base_; 27 | VoENetwork* network_; 28 | MockVoEObserver observer_; 29 | FakeAudioDeviceModule adm_; 30 | MockTransport transport_; 31 | }; 32 | 33 | } // namespace webrtc 34 | -------------------------------------------------------------------------------- /Win32Project/webrtc-static-lib/field_trial_default.lib: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8f498b8c78d8afbe185a607353d9ff42e5c6b16d8b031da355295fb48e6ec20e 3 | size 188648 4 | -------------------------------------------------------------------------------- /Win32Project/webrtc-static-lib/webrtc.lib: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1505c0a005ed5bb69fa8bd32c88fa6db9216700173cf6d0d46b6b9077fcb92e6 3 | size 615381082 4 | -------------------------------------------------------------------------------- /webrtc-projects-dependency.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xjsXjtu/webrtc-native-demo-win/19adbe054dcce3ef89455309a9b217edb44d1ec8/webrtc-projects-dependency.png --------------------------------------------------------------------------------