...
Parameter | Values available | Description |
---|---|---|
Audio parameters | ||
codec | opus mpeg4-generic speex | Audio codec to use |
bitrate | Depends on quality required and bandwith available | Audio bitrate |
rate | 8000 11025 12000 16000 22050 24000 32000 44100 48000 | Audio sample rate, kHz |
channels | 1 2 | Channels quantity: mono or stereo |
Video parameters | ||
codec | h264 vp8 | Video codec to use |
bitrate | Depends on quality required and bandwith available | Video bitrate |
width | Depends on quality required and bandwith available | Picture width |
height | Depends on quality required and bandwith available | Picture height |
codeImpl | FF OPENH264 | Video codec used: based on FFmpeg or OpenH.264 |
gop | Depends on quality required and bandwith available | Key frames frequency (GOP) |
fps | Depends on quality required and bandwith available | Frames frequency per second |
quality | Depends on quality required and bandwith available | Video quality |
When stream is transcoded on Edge server
...
Code Block | ||||
---|---|---|---|---|
| ||||
"3-PROXY-192.168.1.219": [ "AUDIO{bitrate=0, codec='opus', rate=48000, channels=2}", "VIDEO{width=0, height=0, gop=null, fps=null, bitrate=0, codec='H264', codecImpl='', quality=null}" ] |
Backward compatibility with CDN 2.0
...
CDN nodes authentication
Nodes trying to connect to CDN can be authenticated by IP address. Node addresses allowed to connect to CDN should be set in the following parameter
Code Block | ||
---|---|---|
| ||
cdn_allowed_ips=192.168.1.39, 192.168.100.64, 192.168.101.65 |
This parameter can also set address masks, for example
Code Block | ||
---|---|---|
| ||
cdn_allowed_ips=192.168.1.39, 192.168.100.0/24 |
Every CDN node with this setting will only accept CDN connections from nodes whose addresses match those listed, either exactly or by mask. All other CDN connections will be rejected.
Backward compatibility with CDN 2.0
CDN 2.1 backward compatibility with CDN 2.0 is supported in the following cases:
...
In these cases transcoding works according to codecs and SDP setup as defined for CDN 2.0.
Known limits
1. It is strongly not recommended to publish streams with same name to two Origin servers in the same CDN.
2. A stream published to one of Origin servers should be played on the same Origin server or any Edge server (through Transcoder server if necessary), but should not be played from another Origin server in the same CDN.