Using H264 for video encoding

101 views
Skip to first unread message

Silvio B

unread,
Mar 2, 2023, 6:16:28 AM3/2/23
to BigBlueButton-Setup
I tried to configure BBB to use H.264 for video encoding by adjusting the configuration file

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml

using the following settings

conference-media-specs:
  codec_video_main: VP8
  codec_video_main_priority: H264
  codec_video_content: VP8
  codec_video_content_priority: H264
  codec_audio: ANY
  codec_audio_priority: OPUS

Then I get in  the session description of one client:

"{"type":"answer","sdp":"v=0\r\no=mozilla...THIS_IS_SDPARTA-99.0 94527121204206921 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=sendrecv\r\na=fingerprint:sha-256 CF:E1:8E:55:9D:87:60:9D:F8:DD:BA:73:EA:8F:F0:55:DE:51:B3:F2:AF:BE:15:55:26:A8:AF:8A:70:09:84:A2\r\na=group:BUNDLE 0\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=video 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 0.0.0.0\r\na=recvonly\r\na=fmtp:96 max-fs=12288;max-fr=60\r\na=ice-pwd:7e88fa30f6df85ca096fdf96dd2ee4a0\r\na=ice-ufrag:cc371faf\r\na=mid:0\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=setup:active\r\na=ssrc:2049594045 cname:{f24657a1-26df-4782-adfc-21af2edeefd3}\r\n"}"

which points to VP8, if my understanding is correct.

Now changing the above configuration of "conference-media-specs" from VP8 to H264 I get "media server failed to process request (error 2200)" on the client trying to share the webcam.

Any ideas why?


My BBB version is below:

$ bbb-conf --version

BigBlueButton Server 2.5.5 (3091)

ii  bbb-apps-akka                         2.5-31                            all          BigBlueButton Apps (Akka)
ii  bbb-config                            1:2.5-55                          amd64        BigBlueButton configuration utilities
ii  bbb-etherpad                          1:2.5-11                          amd64        The EtherPad Lite components for BigBlueButton
ii  bbb-freeswitch-core                   2:2.5-11                          amd64        BigBlueButton build of FreeSWITCH
ii  bbb-freeswitch-sounds                 1:2.5-8                           amd64        FreeSWITCH Sounds
ii  bbb-fsesl-akka                        2.5-25                            all          BigBlueButton FS-ESL (Akka)
ii  bbb-html5                             1:2.5-2846                        amd64        The HTML5 components for BigBlueButton
ii  bbb-learning-dashboard                1:2.5-21                          amd64        BigBlueButton bbb-learning-dashboard
ii  bbb-libreoffice-docker                1:2.5-6                           amd64        BigBlueButton setup for LibreOffice running in docker
ii  bbb-mkclean                           1:2.5-5                           amd64        Clean and optimize Matroska and WebM files
ii  bbb-pads                              1:2.5-13                          amd64        BigBlueButton Pads
ii  bbb-playback                          1:2.5-9                           amd64        BigBlueButton playback
ii  bbb-playback-presentation             1:2.5-11                          amd64        BigBluebutton playback of presentation
ii  bbb-record-core                       1:2.5-27                          amd64        BigBlueButton record and playback
ii  bbb-web                               1:2.5-39                          amd64        BigBlueButton API
ii  bbb-webrtc-sfu                        1:2.5-26                          amd64        BigBlueButton WebRTC SFU
ii  bigbluebutton                         1:2.5-2                           amd64        Open source web conferencing platform (bbb)
ii  libopusenc0                           0.2.1-1bbb1                       amd64        High-level API for encoding Ogg Opus audio streams
ii  yq                                    3.4.1bbb1                         amd64        lightweight and portable command-line YAML processor

Reply all
Reply to author
Forward
0 new messages