|
|
- From be6dc4592e91841cfe593d88bfe8a8f068671c74 Mon Sep 17 00:00:00 2001
- From: Michel Promonet <michel.promonet@free.fr>
- Date: Tue, 11 Dec 2018 08:34:14 +0100
- Subject: [PATCH] fix build
-
- ---
- src/ServerMediaSubsession.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
- diff --git a/src/ServerMediaSubsession.cpp b/src/ServerMediaSubsession.cpp
- index 9ac9a76..a8b0bb3 100755
- --- a/src/ServerMediaSubsession.cpp
- +++ b/src/ServerMediaSubsession.cpp
- @@ -99,7 +99,7 @@ RTPSink* BaseServerMediaSubsession::createSink(UsageEnvironment& env, Groupsock
- getline(is, sampleRate, '/');
- std::string channels("2");
- getline(is, channels);
- - videoSink = SimpleRTPSink::createNew(env, rtpGroupsock,rtpPayloadTypeIfDynamic, atoi(sampleRate), "audio", "L16", atoi(channels), True, False);
- + videoSink = SimpleRTPSink::createNew(env, rtpGroupsock,rtpPayloadTypeIfDynamic, atoi(sampleRate.c_str()), "audio", "L16", atoi(channels.c_str()), True, False);
- }
- return videoSink;
- }
- --
- 2.20.1
-
|