kopia lustrzana https://github.com/f4exb/sdrangel
Updated Networking audio (markdown)
rodzic
580f3c22a0
commit
9fbf5debbb
|
@ -108,6 +108,8 @@ You will have to modify `janus.transport.http.jcfg` to enable HTTPS on port 8089
|
|||
|
||||
Note that the client will have to access this port via https and as the certificate is self signed it may have to be accepted once. To do this from the client browser access to https://192.168.1.3:8089/janus/info assuming 192.168.1.3 is the address of the network interface at which the Janus server listens and accept the "insecure" certificate. This is something you will have to do if you cannot start the demos (you get a "Probably a network error, is the server down?" message box).
|
||||
|
||||
#### PCMA and PCMU
|
||||
|
||||
Then you will have to add an endpoint for SDRangel stream by adding this in the `janus.plugin.streaming.jcfg` file:
|
||||
```
|
||||
sdrangel-audio: {
|
||||
|
@ -125,7 +127,24 @@ Here we will use PCMA note that PCMU is also possible.
|
|||
- `id` is an arbitrary number
|
||||
- port `9998` is the port to which the stream will be directed
|
||||
- audiopt `8` corresponds to the RTP payload (PCMA is 8 and PCMU is 0)
|
||||
- audiortpmap `PCMA/8000/1` is RTP stream mapping in SDP format. The same is found on the `a=rtpmap` line of the `.sdp` file
|
||||
- audiortpmap `PCMA/8000/1` is the RTP stream mapping in SDP format. The same is found on the `a=rtpmap` line of the `.sdp` file
|
||||
|
||||
#### Opus
|
||||
|
||||
For Opus the endpoint is coded like this:
|
||||
|
||||
```
|
||||
sdrangel-audio: {
|
||||
type = "rtp"
|
||||
id = 16
|
||||
description = "SDRangel live audio"
|
||||
audio = true
|
||||
video = false
|
||||
audioport = 9998
|
||||
audiopt = 96
|
||||
audiortpmap = "opus/48000/2"
|
||||
}
|
||||
```
|
||||
|
||||
### Serve Janus demo
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue