Skip to content

refactor(rtmp): remove unused audio sampleindex fields#2057

Merged
dimiden merged 1 commit intomasterfrom
refactor/rtmp-audio
Mar 31, 2026
Merged

refactor(rtmp): remove unused audio sampleindex fields#2057
dimiden merged 1 commit intomasterfrom
refactor/rtmp-audio

Conversation

@dimiden
Copy link
Copy Markdown
Member

@dimiden dimiden commented Mar 31, 2026

Summary

  • remove unused audio_sampleindex field from RTMP audio info
  • remove unused sampleindex field from E-RTMP audio info
  • clean up RTMP chunk handler log output accordingly

Details

  • The sampleindex value was no longer used in the RTMP audio metadata flow.
  • This change removes the unused fields from both RTMP and E-RTMP definitions and updates the related debug string formatting to match the remaining audio fields.

Impact

  • no functional behavior change intended
  • reduces unused state in RTMP audio metadata structures
  • keeps log output aligned with actual retained fields

@dimiden dimiden requested a review from a team as a code owner March 31, 2026 08:35
@dimiden dimiden requested review from Keukhan and removed request for a team March 31, 2026 08:35
Copy link
Copy Markdown
Member

@Keukhan Keukhan left a comment

Choose a reason for hiding this comment

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

No additional comments since this is just parameter removal. also, past logs showing sampleIndex: (N/A) . I'm confident it was not being used. LGTM.

@dimiden dimiden merged commit f336e7d into master Mar 31, 2026
2 checks passed
@dimiden dimiden deleted the refactor/rtmp-audio branch March 31, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants