You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
993 B

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