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

Support Simulcast Stream (RID Based Simulcast) #2659

Merged
merged 13 commits into from
Dec 15, 2021

Conversation

johzzy
Copy link
Contributor

@johzzy johzzy commented Oct 11, 2021

Publisher:

Open Simulcast live streaming (/players/rtc_publisher_simulcast.html page)

Player:

Open RTC player (/players/rtc_player.html page)

low: webrtc://127.0.0.1/live/livestream?layer=low
mid: webrtc://127.0.0.1/live/livestream?layer=mid
high: webrtc://127.0.0.1/live/livestream?layer=high

Related Link: #2420


TRANS_BY_GPT3

@codecov-commenter
Copy link

codecov-commenter commented Oct 11, 2021

Codecov Report

Merging #2659 (ca7feaa) into feature/simulcast (66c97ee) will decrease coverage by 0.18%.
The diff coverage is 2.83%.

Impacted file tree graph

@@                  Coverage Diff                  @@
##           feature/simulcast    #2659      +/-   ##
=====================================================
- Coverage              59.97%   59.79%   -0.19%     
=====================================================
  Files                    121      121              
  Lines                  51235    51394     +159     
=====================================================
+ Hits                   30728    30729       +1     
- Misses                 20507    20665     +158     

| Impacted Files | Coverage Δ | |'

Translated to English while maintaining the markdown structure:

'| Impacted Files | Coverage Δ | |
|---|---|---|
| trunk/src/app/srs_app_rtc_conn.cpp | 9.83% <0.00%> (-0.37%) | ⬇️ |
| trunk/src/app/srs_app_rtc_sdp.cpp | 1.31% <0.00%> (-0.05%) | ⬇️ |
| trunk/src/app/srs_app_rtc_source.hpp | 9.09% <ø> (ø) | |
| trunk/src/app/srs_app_server.cpp | 0.00% <0.00%> (ø) | |
| trunk/src/kernel/srs_kernel_rtc_rtp.hpp | 42.85% <ø> (-2.60%) | ⬇️ |

Translated to English while maintaining the markdown structure:

| trunk/src/app/srs_app_rtc_source.hpp | 9.09% <ø> (ø) | |
| trunk/src/app/srs_app_server.cpp | 0.00% <0.00%> (ø) | |
| trunk/src/kernel/srs_kernel_rtc_rtp.hpp | 42.85% <ø> (-2.60%) | ⬇️ |
| trunk/src/app/srs_app_rtc_source.cpp | 12.22% <2.70%> (-0.25%) | ⬇️ |
| trunk/src/kernel/srs_kernel_rtc_rtp.cpp | 17.38% <4.87%> (-0.91%) | ⬇️ |
| trunk/src/app/srs_app_rtc_sdp.hpp | 22.22% <60.00%> (+8.88%) | ⬆️ |


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data'

Translated to English while maintaining the markdown structure:

'> Δ = absolute <relative> (impact), ø = not affected, ? = missing data

Powered by Codecov. Last update 66c97ee...ca7feaa. Read the comment docs.

TRANS_BY_GPT3

@@ -1748,6 +1748,14 @@ void SrsRtcPublishStream::update_send_report_time(uint32_t ssrc, const SrsNtp& n
}
}

void SrsRtcPublishStream::bind_rid(const SrsRidInfo &rid_info) {
// NOTE: get unused video_track, and active as rid info.
SrsRtcVideoRecvTrack* video_track = get_video_track(0);
Copy link
Collaborator

@xiaozhihong xiaozhihong Dec 7, 2021

Choose a reason for hiding this comment

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

What does '0' mean?

TRANS_BY_GPT3

Copy link
Contributor Author

@johzzy johzzy Dec 7, 2021

Choose a reason for hiding this comment

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

get unused video_track,

Before executing here, multiple tracks will be allocated based on simulcast SDP, with the default SSRC as 0, indicating unused.

When reaching this point, take an unused track and bind it with RID and SSRC.

TRANS_BY_GPT3

@@ -3156,6 +3194,9 @@ srs_error_t SrsRtcConnection::generate_publish_local_sdp(SrsRequest* req, SrsSdp
}

SrsVideoPayload* payload = (SrsVideoPayload*)video_track->media_;
if (srs_string_contains(req->param,"?numberOfSimulcastLayers=spec3")) {
payload->h264_param_.x_google_bitrate = "x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000";
Copy link
Collaborator

@xiaozhihong xiaozhihong Dec 7, 2021

Choose a reason for hiding this comment

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

Would it be better for the user to control this? For example, the simulcast.html page can modify the SDP answer itself.

TRANS_BY_GPT3

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off
}
}
}

Copy link
Collaborator

@xiaozhihong xiaozhihong Dec 7, 2021

Choose a reason for hiding this comment

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

Please process the following code according to the SRS method. SRS has a structure called Rtp, which does not use the C memory structure but follows the decode method.

TRANS_BY_GPT3

@xiaozhihong xiaozhihong self-requested a review December 14, 2021 05:57
johzzy added a commit to johzzy/srs that referenced this pull request Feb 8, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Feb 13, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Feb 14, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Feb 14, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Feb 15, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Feb 16, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Feb 17, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Feb 18, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Feb 26, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 1, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 4, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 7, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 9, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 14, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 15, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 17, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 19, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 19, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Mar 28, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Apr 1, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Apr 6, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Apr 7, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Apr 11, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request May 9, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request May 18, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Jun 10, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Jun 19, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Jul 9, 2022
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
johzzy added a commit to johzzy/srs that referenced this pull request Jun 26, 2023
* fix typo.

* refactor: update rtc conn.

* feat(simulcast): add rtc_publisher_simulcast page.

* feat(kSimulcastApiVersionSpecCompliant/js): update txt url in simulcast page.

* feat(kSimulcastApiVersionSpecCompliant): support simulcast, use layer=N

* Refine(rtc/negotiate_publish_capability): add set_audio_track_desc/set_video_track_descs.

* fix: add msid and msid tracker.

* feat(kSimulcastApiVersionSpecCompliant): support layer=high,mid,low

* feat(simulcast): add x-google-min-bitrate=5000;x-google-max-bitrate=8000;x-google-start-bitrate=6000

* add note about janus_rtp_header/janus_rtp_header_extension and helper functions.

* fix build in c++03.

./configure --cxx11=off --cxx14=off --ffmpeg-fit=off

* Refactor rid base simulcast code

* Mofidy x-google* from cpp code to html

Co-authored-by: hondaxiao <hondaxiao@tencent.com>
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants