Minor changes
This commit is contained in:
parent
0757318732
commit
9d714eb747
@ -125,7 +125,7 @@ make sure that no instances of the aes67-daemon are running, enter the [tests](d
|
|||||||
## Run the demo ##
|
## Run the demo ##
|
||||||
<a name="demo"></a>
|
<a name="demo"></a>
|
||||||
To run a simple demo use the [run\_demo.sh](run_demo.sh) script. See [script notes](#notes).
|
To run a simple demo use the [run\_demo.sh](run_demo.sh) script. See [script notes](#notes).
|
||||||
The demo configures and uses a loopback of 8 channels with AM824 codec (S32 format) codec at 48Khz and saves the output to a wav file.
|
The demo configures and uses a loopback of 8 channels with AM824 codec (S32 format) at 48Khz and saves the output to a wav file.
|
||||||
|
|
||||||
The demo performs the following operations:
|
The demo performs the following operations:
|
||||||
|
|
||||||
|
@ -132,8 +132,8 @@ In case of failure the server returns a **text/plain** content type with the cat
|
|||||||
* **Body type** application/json
|
* **Body type** application/json
|
||||||
* **Body** [RTP Streams params](#rtp-streams)
|
* **Body** [RTP Streams params](#rtp-streams)
|
||||||
|
|
||||||
### Get all remote RTP Sources ###
|
### Get remote RTP Sources ###
|
||||||
* **Description** retrieve all the remote sources collected via SAP and mDNS
|
* **Description** retrieve the remote sources collected via SAP, via mDNS or both
|
||||||
* **URL** /api/browse/sources/[all|mdns|sap]
|
* **URL** /api/browse/sources/[all|mdns|sap]
|
||||||
* **Method** GET
|
* **Method** GET
|
||||||
* **URL Params** all=[all sources], mdns=[mDNS sources only], sap=[sap sources only]
|
* **URL Params** all=[all sources], mdns=[mDNS sources only], sap=[sap sources only]
|
||||||
|
@ -17,10 +17,9 @@
|
|||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "mdns_server.hpp"
|
|
||||||
|
|
||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
|
|
||||||
|
#include "mdns_server.hpp"
|
||||||
#include "config.hpp"
|
#include "config.hpp"
|
||||||
#include "interface.hpp"
|
#include "interface.hpp"
|
||||||
#include "log.hpp"
|
#include "log.hpp"
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "rtsp_server.hpp"
|
#include "rtsp_server.hpp"
|
||||||
|
|
||||||
#include "utils.hpp"
|
#include "utils.hpp"
|
||||||
|
|
||||||
using boost::asio::ip::tcp;
|
using boost::asio::ip::tcp;
|
||||||
@ -178,7 +177,7 @@ void RtspSession::build_response(const std::string& url) {
|
|||||||
void RtspSession::read_request() {
|
void RtspSession::read_request() {
|
||||||
auto self(shared_from_this());
|
auto self(shared_from_this());
|
||||||
if (length_ == max_length) {
|
if (length_ == max_length) {
|
||||||
/* request cannot be consumed and we execeeded max length */
|
/* request cannot be consumed and we exceeded max length */
|
||||||
stop();
|
stop();
|
||||||
} else {
|
} else {
|
||||||
socket_.async_read_some(
|
socket_.async_read_some(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user