...
Code Block | ||||
---|---|---|---|---|
| ||||
profiles: -webrtc-144: audio: type : AudioStreamProfile codec : opus rate : 48000 channels : 2 #this part forces transcoding video: type : VideoStreamProfile width : 256 height : 144 codecImpl : OPENH264 |
...
Parameter | Values available | Description | |||||
---|---|---|---|---|---|---|---|
Audio parameters | type | AudioStreamProfileProfile type | |||||
codec | opus mpeg4-generic speex | Audio codec used | |||||
rate | 8000 11025 12000 16000 22050 24000 32000 44100 48000 | Audio sample rate, kHz | |||||
channels | 1 2 | Channels quantity: mono or stereo | |||||
Параметры видео | typeVideoStreamProfile | Profile type | |||||
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 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
-opus-vp8: audio: type : AudioStreamProfile codec : opus rate : 48000 channels : 2 video: type : VideoStreamProfile width : 320 height : 240 gop : 60 fps : 30 codec : vp8 codecImpl : FF |
...
REST query | REST query body example | REST response example | Response states | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
/cdn/stream/show_routes |
|
| 200 – OK 500 – Internal Server Error | Show CDN stream routes |
...
Description | Example |
---|---|
Stream name (including transcoding profile if necessary) | test-webrtc-144 |
Transcoder stream parameters | |
Transcoding profiles used by Transcoder parameters | 1-PROFILE-192.168.1.220 |
Stream pulled from Origin by Transcoder parameters | 2-STREAM-192.168.1.220 |
Audio parameters | AudioStreamProfileAUDIO{bitrate=0, codec='opus', rate=48000, channels=2} |
Video parameters (according to transcoding profiles used) | VideoStreamProfileVIDEO{width=320, height=180, gop=null, fps=null, bitrate=0, codec='H264', codecImpl='FF', quality=null} |
Stream parameters that Transcoder can pull from Origin | 3-NEW-TRANSCODER-192.168.1.220 |
Origin stream parameters | |
Stream published to Origin parameters | 4-PROXY-192.168.1.219 |
Audio parameters | AudioStreamProfileAUDIO{bitrate=0, codec='opus', rate=48000, channels=2} |
Video parameters | VideoStreamProfileVIDEO{width=0, height=0, gop=null, fps=null, bitrate=0, codec='H264', codecImpl='', quality=null} |