Skip to content

Commit

Permalink
Remove rabbitmq support
Browse files Browse the repository at this point in the history
We are not using them and it is not manained

Change-Id: Ic701307c42190e0f994c59ce18cacf98f9041e39
  • Loading branch information
jcaden committed May 23, 2016
1 parent 140f1ba commit 842938c
Show file tree
Hide file tree
Showing 23 changed files with 2 additions and 1,786 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.5)
pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.5>=1.7.0~0)
pkg_check_modules(GSTREAMER_SDP REQUIRED gstreamer-sdp-1.5>=1.7.0~0)
pkg_check_modules(EVENT REQUIRED libevent>=2.0.16-stable)
pkg_check_modules(RABBITMQ REQUIRED librabbitmq>=0.4.1)

add_subdirectory(server)

Expand Down
3 changes: 1 addition & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ Build-Depends:
libboost-thread-dev,
libboost-log-dev,
libevent-dev,
libssl-dev,
librabbitmq-dev
libssl-dev
Standards-Version: 3.9.4

Package: kurento-media-server-6.0
Expand Down
8 changes: 0 additions & 8 deletions kurento.conf.info
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,5 @@ mediaServer
; password ""
; }
}
; rabbitmq
; {
; address 127.0.0.1
; port 5672
; username guest
; password guest
; vhost /
; }
}
}
8 changes: 0 additions & 8 deletions kurento.conf.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,3 @@ threads=10
; [mediaServer.net.websocket.registrar]
; address=ws://localhost:9090
; localAddress=localhost

; [mediaServer.net.rabbitmq]
; address=127.0.0.1
; port=5672
; username=guest
; password=guest
; vhost=/

10 changes: 0 additions & 10 deletions kurento.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@
"garbageCollectorPeriod": 240
},
"net" : {
// Uncomment just one of them
/*
"rabbitmq": {
"address" : "127.0.0.1",
"port" : 5672,
"username" : "guest",
"password" : "guest",
"vhost" : "/"
}
*/
"websocket": {
"port": 8888,
//"secure": {
Expand Down
6 changes: 1 addition & 5 deletions server/transport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,22 @@ set (TRANSPORT_SOURCES

add_library (transport ${TRANSPORT_SOURCES})

add_dependencies(transport rabbitMQTransport)
add_dependencies(transport websocketTransport)

target_link_libraries(transport
${GSTREAMER_LIBRARIES}
${KMSCORE_LIBRARIES}
rabbitMQTransport
websocketTransport
)

set_property (TARGET transport
PROPERTY INCLUDE_DIRECTORIES
${CMAKE_SOURCE_DIR}/server/signalHandler
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/rabbitmq/
${CMAKE_CURRENT_SOURCE_DIR}/websocket/
${GSTREAMER_INCLUDE_DIRS}
${GLIBMM_INCLUDE_DIRS}
${KMSCORE_INCLUDE_DIRS}
)

add_subdirectory(rabbitmq)

add_subdirectory(websocket)
3 changes: 0 additions & 3 deletions server/transport/TransportFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT);
#define GST_DEFAULT_NAME "KurentoTransportFactory"

#include <RabbitMQTransportFactory.hpp>
#include <WebSocketTransportFactory.hpp>

namespace kurento
Expand Down Expand Up @@ -60,8 +59,6 @@ TransportFactory::StaticConstructor::StaticConstructor()
{
GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, GST_DEFAULT_NAME, 0,
GST_DEFAULT_NAME);
TransportFactory::registerFactory (std::shared_ptr<TransportFactory>
(new RabbitMQTransportFactory() ) );
TransportFactory::registerFactory (std::shared_ptr<TransportFactory>
(new WebSocketTransportFactory() ) );
}
Expand Down
40 changes: 0 additions & 40 deletions server/transport/rabbitmq/CMakeLists.txt

This file was deleted.

85 changes: 0 additions & 85 deletions server/transport/rabbitmq/ExponentialBackoffStrategy.cpp

This file was deleted.

49 changes: 0 additions & 49 deletions server/transport/rabbitmq/ExponentialBackoffStrategy.hpp

This file was deleted.

Loading

0 comments on commit 842938c

Please sign in to comment.