commit | 79b4b8720d151a773a42212d52949e8604c258c5 | [log] [tgz] |
---|---|---|
author | skvlad <skvlad@webrtc.org> | Sat Apr 09 00:28:55 2016 |
committer | Commit bot <commit-bot@chromium.org> | Sat Apr 09 00:29:02 2016 |
tree | 831383ab6ec9e90ba42140cddc4953e5db68e96b | |
parent | d329584ede2cfbbdecbe61577e33668268a6f9fe [diff] |
Objective C API to read and set RtpParameters This change adds the Objective C API functions to get and set RtpSender's RtpParameters, which allows setting bitrate limits for audio and video and turning off RtpSenders to pre-initialize the encoder. This CL adds only the smallest set of methods required to support bitrate limiting - there is no way to create an RtpSender, for example, or to set its track. The only supported functionality is this: RTCPeerConnection.senders - a read-only property returning the array of all RTCRtpSenders for the connection. RTCRtpSender.parameters - a read-only property returning the current parameters RTCRtpSender.setParameters: - a method to change the parameters. RTCRtpSender.track - a read-only property returning the RTCMediaStreamTrack corresponding to the sender. It is necessary to be able to identify RTCRtpSenders for video and audio. The track object is of the base RTCMediaStreamTrack type, not of the specific subclass for audio and video - just like it is in the Java API. BUG= Review URL: https://codereview.webrtc.org/1854393002 Cr-Commit-Position: refs/heads/master@{#12297}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.