Skip to content

Commit 81a2efc

Browse files
committed
Fixed SIP vidphone example.
1 parent ef0efa5 commit 81a2efc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/SIPExamples/VideoPhoneCmdLine/Program.cs

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// History:
1212
// 23 Dec 2020 Aaron Clauson Created, Dublin, Ireland.
1313
// 30 Sep 2024 Aaron Clauson Broken :(. Needs investigation.
14+
// 15 Oct 2024 Aaron Clauson Fixed. Was just missing FFmpeg initialise call.
1415
//
1516
// License:
1617
// BSD 3-Clause "New" or "Revised" License, see included LICENSE.md file.
@@ -153,6 +154,8 @@ static async Task Main(string[] args)
153154
ManualResetEvent exitMRE = new ManualResetEvent(false);
154155
ManualResetEvent waitForCallMre = new ManualResetEvent(false);
155156

157+
SIPSorceryMedia.FFmpeg.FFmpegInit.Initialise(SIPSorceryMedia.FFmpeg.FfmpegLogLevelEnum.AV_LOG_VERBOSE, null, Log);
158+
156159
var parseResult = Parser.Default.ParseArguments<Options>(args);
157160
_options = (parseResult as Parsed<Options>)?.Value;
158161

0 commit comments

Comments
 (0)