Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS supoort soft h264 codec #67

Open
nikohpng opened this issue Mar 30, 2023 · 0 comments
Open

IOS supoort soft h264 codec #67

nikohpng opened this issue Mar 30, 2023 · 0 comments

Comments

@nikohpng
Copy link

Description

I want to support soft codec in ios. so I use rtc_use_h264=true, but I can't compile it.

Trace

ld64.lld: error: library not found for -lrt
ld64.lld: error: undefined symbol: _av_buffer_create
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _av_image_check_size
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _avcodec_align_dimensions
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _av_frame_alloc
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _avcodec_open2
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _avcodec_find_decoder
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _avcodec_alloc_context3
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _av_frame_unref
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _av_packet_free
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _av_buffer_get_opaque
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _avcodec_receive_frame
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _avcodec_send_packet
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _av_packet_alloc
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

ld64.lld: error: undefined symbol: _avcodec_free_context
>>> referenced by obj/modules/video_coding/libwebrtc_h264.a(h264_decoder_impl.o)

Last

If there's any suggestion, thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant