Include packetization in video codec string
Bug: None Change-Id: Ib8b7c57fc4dea11bd2cb2e1620916c20f6ff9985 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/201623 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Emil Lundmark <lndmrk@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32980}
This commit is contained in:
parent
4319b1695e
commit
42c0d707dd
@ -285,7 +285,11 @@ webrtc::RtpCodecParameters AudioCodec::ToCodecParameters() const {
|
||||
std::string VideoCodec::ToString() const {
|
||||
char buf[256];
|
||||
rtc::SimpleStringBuilder sb(buf);
|
||||
sb << "VideoCodec[" << id << ":" << name << "]";
|
||||
sb << "VideoCodec[" << id << ":" << name;
|
||||
if (packetization.has_value()) {
|
||||
sb << ":" << *packetization;
|
||||
}
|
||||
sb << "]";
|
||||
return sb.str();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user