Skip to content

Warnings fix (#1419) #648

Warnings fix (#1419)

Warnings fix (#1419) #648

Triggered via push May 25, 2025 20:33
Status Success
Total duration 4m 44s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/Program.cs#L38
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/Program.cs#L33
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/WebSocketSignalingServer.cs#L33
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/WebSocketSignalingServer.cs#L49
The variable 'ex' is declared but never used
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/WebSocketSignalingServer.cs#L27
Non-nullable event 'OnWebSocketClosed' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable.
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/WebSocketSignalingServer.cs#L27
Non-nullable event 'OnPeerConnecionClosed' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable.
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/WebSocketSignalingServer.cs#L27
Non-nullable field '_pc' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/WebSocketSignalingServer.cs#L27
Non-nullable field '_ws' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/WebSocketSignalingServer.cs#L27
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: examples/webrtcexamples/RtspToWebRTCAudioAndVideo/FFmpegDemuxer.cs#L25
Non-nullable field '_ffmpegProcess' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: examples/sipexamples/UserAgentCloudClient/Program.cs#L164
'RTPSession.IsStarted' is obsolete: 'Use IsAudioStarted.'
build: examples/sipexamples/CallHoldAndTransfer/Program.cs#L129
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build: examples/sipexamples/UserAgentClient/Program.cs#L132
'RTPSession.IsStarted' is obsolete: 'Use IsAudioStarted.'
build: examples/sipexamples/UserAgentServer/Program.cs#L274
'RTPSession.IsStarted' is obsolete: 'Use IsAudioStarted.'
build: examples/sipexamples/UserAgentServer/Program.cs#L262
'RTPSession.IsStarted' is obsolete: 'Use IsAudioStarted.'
build: examples/sipexamples/UserAgentCloudClient/Program.cs#L164
'RTPSession.IsStarted' is obsolete: 'Use IsAudioStarted.'
build: examples/sipexamples/CallHoldAndTransfer/Program.cs#L129
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build: examples/sipexamples/UserAgentClient/Program.cs#L132
'RTPSession.IsStarted' is obsolete: 'Use IsAudioStarted.'
build: examples/sipexamples/UserAgentServer/Program.cs#L274
'RTPSession.IsStarted' is obsolete: 'Use IsAudioStarted.'
build: examples/sipexamples/UserAgentServer/Program.cs#L262
'RTPSession.IsStarted' is obsolete: 'Use IsAudioStarted.'