Skip to content

Commit

Permalink
cricket::Codec は protected になったので修正する
Browse files Browse the repository at this point in the history
  • Loading branch information
miosakuma committed Sep 21, 2023
1 parent 287a5cc commit a90c0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sora_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ SoraFactory::SoraFactory(std::optional<bool> use_hardware_encoder,
[openh264 = openh264](
auto format) -> std::unique_ptr<webrtc::VideoEncoder> {
return webrtc::DynamicH264Encoder::Create(
cricket::VideoCodec(format), *openh264);
cricket::CreateVideoCodec(format), *openh264);
}));
media_dependencies.video_encoder_factory =
absl::make_unique<sora::SoraVideoEncoderFactory>(
Expand Down

0 comments on commit a90c0f3

Please sign in to comment.