DescriptionObjective 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=
Committed: https://crrev.com/79b4b8720d151a773a42212d52949e8604c258c5
Cr-Commit-Position: refs/heads/master@{#12297}
Patch Set 1 #
Total comments: 52
Patch Set 2 : Code review feedback; added comments on public methods #Patch Set 3 : Added a missing blank line #
Total comments: 16
Patch Set 4 : Added equality comparison override #Patch Set 5 : Rebase #
Total comments: 10
Patch Set 6 : CR feedback #
Messages
Total messages: 20 (8 generated)
|