You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/Media/MediaLoggingExtensions.cs
+25-2Lines changed: 25 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,10 +36,23 @@ public static partial void LogSendingAudioSteamLength(
36
36
37
37
[LoggerMessage(
38
38
EventId=0,
39
-
EventName="RtpMediaPacketReceived",
39
+
EventName="RtpAudioPacketReceived",
40
40
Level=LogLevel.Trace,
41
41
Message="audio RTP packet received from {RemoteEndPoint} ssrc {SyncSource} seqnum {SequenceNumber} timestamp {Timestamp} payload type {PayloadType}.")]
42
-
publicstaticpartialvoidLogRtpMediaPacketReceived(
42
+
publicstaticpartialvoidLogRtpAudioPacketReceived(
43
+
thisILoggerlogger,
44
+
IPEndPointremoteEndPoint,
45
+
uintsyncSource,
46
+
ushortsequenceNumber,
47
+
uinttimestamp,
48
+
intpayloadType);
49
+
50
+
[LoggerMessage(
51
+
EventId=0,
52
+
EventName="RtpTextPacketReceived",
53
+
Level=LogLevel.Trace,
54
+
Message="RtpMediaPacketReceived text RTP packet received from {RemoteEndPoint} ssrc {SyncSource} seqnum {SequenceNumber} timestamp {Timestamp} payload type {PayloadType}.")]
55
+
publicstaticpartialvoidLogRtpTextPacketReceived(
43
56
thisILoggerlogger,
44
57
IPEndPointremoteEndPoint,
45
58
uintsyncSource,
@@ -77,6 +90,16 @@ public static partial void LogSettingVideoFormat(
77
90
intvideoFormatID,
78
91
VideoCodecsEnumvideoCodec);
79
92
93
+
[LoggerMessage(
94
+
EventId=0,
95
+
EventName="TextFormatNegotiated",
96
+
Level=LogLevel.Debug,
97
+
Message="Setting text sink and source format to {TextFormatID}:{TextCodec}")]
logger.LogTrace(nameof(RtpMediaPacketReceived)+" text RTP packet received from {RemoteEndPoint} ssrc {SyncSource} seqnum {SequenceNumber} timestamp {Timestamp} payload type {PayloadType}.",remoteEndPoint,hdr.SyncSource,hdr.SequenceNumber,hdr.Timestamp,hdr.PayloadType);
0 commit comments