config BR2_PACKAGE_MEDIASTREAMER
	bool "mediastreamer"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on !BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_HAS_THREADS # ortp
	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # ortp
	select BR2_PACKAGE_MBEDTLS
	select BR2_PACKAGE_ORTP
	help
	  Mediastreamer is a powerful and lightweighted streaming
	  engine specialized for voice/video telephony applications.

	  It is the library that is responsible for all the receiving
	  and sending of multimedia streams in linphone, including
	  voice/video capture, encoding and decoding, and rendering.

	  http://www.linphone.org/technical-corner/mediastreamer2

comment "mediastreamer needs a toolchain w/ threads, C++, dynamic library"
	depends on !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_STATIC_LIBS

comment "mediastreamer needs a toolchain not affected by GCC bug 64735"
	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
