-
Notifications
You must be signed in to change notification settings - Fork 30
PSVAMB-69845: [Dreamforce 2024][ESTT] Buffering and Errors on Live Streams During Extended Streaming-Time Test #215
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
Open
ghost
wants to merge
27
commits into
master
Choose a base branch
from
master-PSVAMB-69845-transcoder
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
5d690b4
handle media_info change.
igorshevachgit d541c54
check for media info self assignment
igorshevachgit ec4a5dd
simulate codec change every X sec
igorshevachgit 5a2946a
KMP_PACKET_MEDIA_INFO: dump media info (including extradata in hex fo…
igorshevachgit c5f12ec
kbps = 1024 bps
igorshevachgit 81e9e37
pass correct context to KMP_log_mediainfo
igorshevachgit 5a35aea
pass correct context to KMP_log_mediainfo
igorshevachgit fbb7a5d
transcoder - undo promiscuous handle media info
igorshevachgit 49235cb
transcoder - undo promiscuous handle media info
igorshevachgit 19c5a6c
fix order of events called; we must have rtmp_codec first
igorshevachgit 37b1f5d
attempt to force rtmp not to send old media info
igorshevachgit abe566d
attempt to force rtmp not to send old media info
igorshevachgit c0d3848
undo
igorshevachgit d34bebe
undo
igorshevachgit a55e641
send ack for media info (?)
igorshevachgit bab813b
undo
igorshevachgit 8a11b5c
- fix warnings
igorshevachgit 1cdd266
fix
igorshevachgit ec212e9
add \n
igorshevachgit 1a94715
remove static from .h file
igorshevachgit 55c3225
fix _S macro
igorshevachgit 4a2950b
build test failed
igorshevachgit 12731f2
code style
igorshevachgit e911997
code style
igorshevachgit f27d3a7
code style
igorshevachgit 200f8c5
fix log line
igorshevachgit a798d11
- fix logs
igorshevachgit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1456,6 +1456,7 @@ ngx_rtmp_codec_postconfiguration(ngx_conf_t *cf) | |
| ngx_rtmp_core_main_conf_t *cmcf; | ||
| ngx_rtmp_handler_pt *h; | ||
| ngx_rtmp_amf_handler_t *ch; | ||
| ngx_uint_t nelts; | ||
|
|
||
| cmcf = ngx_rtmp_conf_get_module_main_conf(cf, ngx_rtmp_core_module); | ||
|
|
||
|
|
@@ -1464,13 +1465,23 @@ ngx_rtmp_codec_postconfiguration(ngx_conf_t *cf) | |
| return NGX_ERROR; | ||
| } | ||
|
|
||
| nelts = cmcf->events[NGX_RTMP_MSG_AUDIO].nelts; | ||
| for ( ; nelts > 1; nelts--, h--) { | ||
| *h = h[-1]; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there is no leak here? |
||
| } | ||
|
|
||
| *h = ngx_rtmp_codec_av; | ||
|
|
||
| h = ngx_array_push(&cmcf->events[NGX_RTMP_MSG_VIDEO]); | ||
| if (h == NULL) { | ||
| return NGX_ERROR; | ||
| } | ||
|
|
||
| nelts = cmcf->events[NGX_RTMP_MSG_VIDEO].nelts; | ||
| for (; nelts > 1; nelts--, h--) { | ||
| *h = h[-1]; | ||
| } | ||
|
|
||
| *h = ngx_rtmp_codec_av; | ||
|
|
||
| h = ngx_array_push(&cmcf->events[NGX_RTMP_DISCONNECT]); | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we want to log before the other calls in the function in case one fails?