sipsorcery-org / SIPSorceryMedia.FFmpeg

GNU Lesser General Public License v2.1
33 stars 24 forks source link

Replace FileSourceDecoder by FFmpegVideoDecoder and FFmpegAudioDecoder, Add FFmpegCameraSource #9

Closed ChristopheI closed 2 years ago

ChristopheI commented 2 years ago

In this PR:

Note: both FFmpegCameraSource and FFmpegFileSource check PixelFormat to ensure to encode correctly the sample (certainly could be enhanced)

Scenario tested:

Since Audio and Video inputs are independent it's possible to stream audio from one file and video from another (or same) file or a webcam.

sipsorcery commented 2 years ago

Thanks for another PR!

The camera source looks very interesting. I'll try and give that a test this weekend.

Happy to merge this but looks like there's a conflict with your previous PR.

ChristopheI commented 2 years ago

I don't understand why there is such conflicts ... In my clone repository I merged all code from AudioAndVideoIndependent branch in master without trouble. To facilitate process I close this PR and create a new one or push new dev directly in this repo since you give me permissions