Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FLV: Support set default has_av and disable guessing. v5.0.110 #3311

Merged
merged 3 commits into from
Dec 17, 2022

Conversation

winlinvip
Copy link
Member

@winlinvip winlinvip commented Dec 14, 2022

  1. Support config default has_audio and has_video.
  2. Support disable guessing has_audio or has_video.

Logs:

FLV /live/livestream.flv, encoder=FLV, mw_sleep=350ms, cache=0, msgs=128, dinm=1, guess_av=1/1/1
FLV: Reset has_video for videos=0 and audios=14
FLV: write header audio=1, video=0, dinm=1, config=1/1/1
  • dinm is drop_if_not_match
  • guess_av=1/1/1 is has_audio/has_video/guess_has_av

1. Support config default has_audio and has_video.
2. Support disable guessing has_audio or has_video.
@winlinvip winlinvip force-pushed the feature/flv-no-guessing-has-av branch from 7da1d48 to 43e51e2 Compare December 14, 2022 14:33
@winlinvip winlinvip merged commit a36cb57 into ossrs:5.0release Dec 17, 2022
winlinvip added a commit that referenced this pull request Dec 18, 2022
1. SRT: Fix srt to rtmp crash when sps or pps empty. v5.0.112 (#3323)
2. GB28181: Fix memory overlap for small packets. v5.0.111 (#3315)
3. FLV: Support set default has_av and disable guessing. v5.0.110 (#3311)
4. FLV: Drop packet if header flag is not matched. v5.0.109 (#3306)
5. FLV: Reset has_audio or has_video if only sequence header. (#3310)
winlinvip added a commit that referenced this pull request Dec 18, 2022
1. SRT: Fix srt to rtmp crash when sps or pps empty. v5.0.112 (#3323)
2. GB28181: Fix memory overlap for small packets. v5.0.111 (#3315)
3. FLV: Support set default has_av and disable guessing. v5.0.110 (#3311)
4. FLV: Drop packet if header flag is not matched. v5.0.109 (#3306)
5. FLV: Reset has_audio or has_video if only sequence header. (#3310)
@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Jul 29, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
EnglishNative This issue is conveyed exclusively in English.
Projects
None yet
1 participant