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

Baresip SIP-call VideoSink #224

Open
wants to merge 170 commits into
base: main
Choose a base branch
from
Open

Baresip SIP-call VideoSink #224

wants to merge 170 commits into from

Conversation

Vinayak-YB
Copy link
Collaborator

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).

Fixes #223

Description

In this pr baresip and lib_re libraries are added as submodules in thirdparty. A sip call video sink module is written and working fine. Also a webrtc module which works on v4l2 source is included.
In base/SIP a readme for sip video call demo is added.

Type

Type Choose one: Feature

Checklist

  • I have read the Contribution Guidelines
  • I have written Unit Tests
  • I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach

@Vinayak-YB Vinayak-YB changed the title Baresip SIP-call VideoSInk Baresip SIP-call VideoSink May 4, 2023
@Vinayak-YB Vinayak-YB self-assigned this May 8, 2023
@github-actions
Copy link

github-actions bot commented May 9, 2023

Test Results Linux

    1 files  ±    0      1 suites  ±0   10m 21s ⏱️ - 1m 48s
298 tests +103  226 ✔️ +82  72 💤 +22  0  - 1 
226 runs  +  81  154 ✔️ +60  72 💤 +22  0  - 1 

Results for commit 94c7311. ± Comparison against base commit 5406509.

This pull request removes 19 and adds 122 tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ fs_parsing_jpg
Mp4ReaderSource_tests ‑ getSetProps
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
Mp4ReaderSource_tests ‑ mp4v_read_metadata_jpg
Mp4ReaderSource_tests ‑ mp4v_to_h264frames
Mp4ReaderSource_tests ‑ mp4v_to_h264frames_metadata
Mp4ReaderSource_tests ‑ mp4v_to_mono_8_jpg
Mp4ReaderSource_tests ‑ mp4v_to_rgb_24_jpg
Mp4ReaderSource_tests ‑ parse_root_dir_and_find_the_video
…
TestSignalGenerator_tests ‑ Basic
TestSignalGenerator_tests ‑ getSetProps
affinetransform_tests ‑ BGRA_Image_shift_scale_rotate
affinetransform_tests ‑ BGR_Image_shift_scale_rotate
affinetransform_tests ‑ DMABUF_RGBA
affinetransform_tests ‑ GetSetProps
affinetransform_tests ‑ Host_Mono
affinetransform_tests ‑ Host_RGB
affinetransform_tests ‑ MONO_rotation
affinetransform_tests ‑ MONO_scale_rotate
…
This pull request removes 5 skipped tests and adds 27 skipped tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
gstrtsponvifsink_tests ‑ gstrtspservertest
gstrtsponvifsink_tests ‑ gstrtspservertestrawrgbwcs
gstrtsponvifsink_tests ‑ gstrtspservertestrawyuv
gstwebrtcsink_tests ‑ gstwebrtctestrawrgbwcs
affinetransform_tests ‑ BGRA_Image_shift_scale_rotate
affinetransform_tests ‑ BGR_Image_shift_scale_rotate
affinetransform_tests ‑ DMABUF_RGBA
affinetransform_tests ‑ GetSetProps
affinetransform_tests ‑ Host_Mono
affinetransform_tests ‑ MONO_rotation
affinetransform_tests ‑ MONO_scale_rotate
affinetransform_tests ‑ MONO_shrink
affinetransform_tests ‑ RGBA_Image_scale_rotate
affinetransform_tests ‑ RGB_Image_rotation
…

♻️ This comment has been updated with latest results.

Vinayak-YB and others added 2 commits May 11, 2023 18:48
* added one more constructor which takes offsetvalue

* refactored

* intialized the nextPtrOffset

* refactoring
Copy link
Collaborator

@mraduldubey mraduldubey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some cleanup and small changes required

base/src/BaresipDemo.cpp Show resolved Hide resolved
base/src/BaresipDemo.cpp Show resolved Hide resolved
base/src/BaresipDemo.cpp Show resolved Hide resolved
base/src/BaresipDemo.cpp Show resolved Hide resolved
base/src/BaresipSession.cpp Outdated Show resolved Hide resolved
base/src/BaresipVideoSink.cpp Outdated Show resolved Hide resolved
base/src/WebRTCSink.cpp Show resolved Hide resolved
base/src/WebRTCSink.cpp Show resolved Hide resolved
base/src/WebRTCSink.cpp Show resolved Hide resolved
base/test/baresip_webrtc_tests.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@mraduldubey mraduldubey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes seem ok

mohammedzakikochargi and others added 4 commits June 14, 2023 01:26
#220)

* Basic commit

* overlaydatainfo class

* added FrameContainerQueueOverlayAdapter class

* Updated the module -  zaki

* added basic test and serialization

* updated the overlay

* serialization working - Not implemented deserialization completely

* serliazation and deserilization working without save and load

* updated the visitor and composite class

* Added the overlayFactory pattern for the overlay

* implemented Builder pattern

* added internal seriliaze function for composite

* seriliazation and deserialization working

* Updated the seriliazeVisitor pattern

* 1. Fixed the compositeOverlay primitiveType issue.
2. Serialization and deserialization working. Test passing.

* implemented draw visitor and did some refactoring

* refactored Overlay Module and tests

* draw function working

* Updated MotionExtrator module to use generic OverlayModule

* removed the adapter changes

* removed extra spaces

* diabled simultaneous read write test

* Updated the getSerialize function name

* Updated the test

---------

Co-authored-by: venkat0907 <venkatnallamothu0907@gmail.com>
@github-actions
Copy link

Test Results Linux-CudaT

    1 files  ±    0      1 suites  ±0   10m 22s ⏱️ - 1m 48s
389 tests +133  228 ✔️ +80  161 💤 +53  0 ±0 
228 runs  +  80    67 ✔️ +27  161 💤 +53  0 ±0 

Results for commit 94c7311. ± Comparison against base commit 5406509.

This pull request removes 26 and adds 159 tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ fs_parsing_jpg
Mp4ReaderSource_tests ‑ getSetProps
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
Mp4ReaderSource_tests ‑ mp4v_read_metadata_jpg
Mp4ReaderSource_tests ‑ mp4v_to_h264frames
Mp4ReaderSource_tests ‑ mp4v_to_h264frames_metadata
Mp4ReaderSource_tests ‑ mp4v_to_mono_8_jpg
Mp4ReaderSource_tests ‑ mp4v_to_rgb_24_jpg
Mp4ReaderSource_tests ‑ parse_root_dir_and_find_the_video
…
TestSignalGenerator_tests ‑ Basic
TestSignalGenerator_tests ‑ getSetProps
affinetransform_tests ‑ BGRA_Image_shift_scale_rotate
affinetransform_tests ‑ BGR_Image_shift_scale_rotate
affinetransform_tests ‑ DMABUF_RGBA
affinetransform_tests ‑ GetSetProps
affinetransform_tests ‑ Host_Mono
affinetransform_tests ‑ Host_RGB
affinetransform_tests ‑ MONO_rotation
affinetransform_tests ‑ MONO_scale_rotate
…
This pull request removes 12 skipped tests and adds 64 skipped tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
ccnppi_tests ‑ mono_1920x1080_to_bgra_1920x1080
ccnppi_tests ‑ mono_1920x1080_to_yuv420_1920x1080
ccnppi_tests ‑ mono_1920x960_to_yuv420_1920x960
ccnppi_tests ‑ overlay_1920x960_BGRA_to_yuv420_1920x960
ccnppi_tests ‑ yuv411_I_1920x1080__resize_to_jpg
ccnppi_tests ‑ yuv420_640x360_to_bgra_640x360
ccnppi_tests ‑ yuv420_640x360_to_yuv420_640x360
gstrtsponvifsink_tests ‑ gstrtspservertest
gstrtsponvifsink_tests ‑ gstrtspservertestrawrgbwcs
…
affinetransform_tests ‑ BGRA_Image_shift_scale_rotate
affinetransform_tests ‑ BGR_Image_shift_scale_rotate
affinetransform_tests ‑ DMABUF_RGBA
affinetransform_tests ‑ GetSetProps
affinetransform_tests ‑ Host_Mono
affinetransform_tests ‑ MONO_rotation
affinetransform_tests ‑ MONO_scale_rotate
affinetransform_tests ‑ MONO_shrink
affinetransform_tests ‑ RGBA_Image_scale_rotate
affinetransform_tests ‑ RGB_Image_rotation
…
This pull request skips 1 test.
cudamemcopy_tests ‑ isCudaSupported

@github-actions
Copy link

Test Results Linux_ARM64

    1 files  ±    0      1 suites  +1   10m 58s ⏱️ + 10m 58s
413 tests +413  256 ✔️ +256  157 💤 +157  0 ±0 
256 runs  +256    99 ✔️ +  99  157 💤 +157  0 ±0 

Results for commit 94c7311. ± Comparison against base commit 5406509.

@joiskash
Copy link
Collaborator

@Vinayak-YB please create a new branch with these changes so that we can quickly review and merge. This one is pretty old, it will be difficult to review this.

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

Successfully merging this pull request may close these issues.

Implement a SIP Call VideoSink Module
7 participants