Use backticks not vertical bars to denote variables in comments for /modules/rtp_rtcp
Bug: webrtc:12338 Change-Id: I52eb3b6675c4705e22f51b70799ed6139a3b46bc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227164 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34686}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
7f9ab1aa1b
commit
913cfa76ec
@ -26,9 +26,9 @@ class RtpPacket {
|
||||
using ExtensionType = RTPExtensionType;
|
||||
using ExtensionManager = RtpHeaderExtensionMap;
|
||||
|
||||
// |extensions| required for SetExtension/ReserveExtension functions during
|
||||
// `extensions` required for SetExtension/ReserveExtension functions during
|
||||
// packet creating and used if available in Parse function.
|
||||
// Adding and getting extensions will fail until |extensions| is
|
||||
// Adding and getting extensions will fail until `extensions` is
|
||||
// provided via constructor or IdentifyExtensions function.
|
||||
// |*extensions| is only accessed during construction; the pointer is not
|
||||
// stored.
|
||||
@ -99,7 +99,7 @@ class RtpPacket {
|
||||
// which are modified after FEC protection is generated.
|
||||
void ZeroMutableExtensions();
|
||||
|
||||
// Removes extension of given |type|, returns false is extension was not
|
||||
// Removes extension of given `type`, returns false is extension was not
|
||||
// registered in packet's extension map or not present in the packet. Only
|
||||
// extension that should be removed must be registered, other extensions may
|
||||
// not be registered and will be preserved as is.
|
||||
@ -136,11 +136,11 @@ class RtpPacket {
|
||||
template <typename Extension>
|
||||
bool ReserveExtension();
|
||||
|
||||
// Find or allocate an extension |type|. Returns view of size |length|
|
||||
// Find or allocate an extension `type`. Returns view of size `length`
|
||||
// to write raw extension to or an empty view on failure.
|
||||
rtc::ArrayView<uint8_t> AllocateExtension(ExtensionType type, size_t length);
|
||||
|
||||
// Find an extension |type|.
|
||||
// Find an extension `type`.
|
||||
// Returns view of the raw extension or empty view on failure.
|
||||
rtc::ArrayView<const uint8_t> FindExtension(ExtensionType type) const;
|
||||
|
||||
|
Reference in New Issue
Block a user