baresip / baresip-ios

Baresip for iOS
46 stars 33 forks source link

Baresip 1.0.0 setup iOS video codec issue #35

Closed samirmagnates closed 3 years ago

samirmagnates commented 3 years ago

Audio is working fine in the application, now I am trying to implement video. I just follow the steps: In contrib.mk I just added the following module :

EXTRA_MODULES='g711 audiounit avcapture vp8 vp9'

but getting error one by one ..

`modules/avcodec/avcodec.c:9:10: fatal error: 'libavutil/pixdesc.h' file not found

include <libavutil/pixdesc.h`

` CC [m] /Users/samir/Desktop/WorkFrom_Home_Doc/Baresip1.0.0_Setup/GithubHelp/baresip-ios/build/aarch64/baresip/modules/vp8/decode.o modules/vp8/decode.c:11:10: fatal error: 'vpx/vpx_decoder.h' file not found

include <vpx/vpx_decoder.h>`

is there any other module I need to load for mac / iOS? If I don't load the module I will not get video codecs.

alfredh commented 3 years ago

did you cross-compile ffmpeg or libvpx for ios ?

samirmagnates commented 3 years ago

nope, but let me try the following things, please guide me if I am going wrong.

  1. download ffmpeg or libvpx library for ios
  2. and then implement that module in baresip
  3. and then start video codec and its implementation.
samirmagnates commented 3 years ago

@alfredh I tried both libraries, and other things also .. but can't succeed.

samirmagnates commented 3 years ago

@Koshub could you please help me with the video codec issue in iOS,

Thanks in advance.

Koshub commented 3 years ago

@samirmagnates sorry, I do not use video modules