[PR #185] [CLOSED] added unit test when there is no never timestamp in buffer #190

Closed
opened 2026-03-02 04:00:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/eerimoq/moblin/pull/185
Author: @nofuture2077
Created: 11/23/2025
Status: Closed

Base: mainHead: feat/erics-rtmp


📝 Commits (2)

  • 549b4ed added unit test when there is no never timestamp in buffer
  • a86aa65 styling

📊 Changes

1 file changed (+32 additions, -0 deletions)

View changed files

📝 MoblinTests/BufferedAudioSuite.swift (+32 -0)

📄 Description

This unit test is a demo why I believe so many frames got dropped. In a situation where no new audio frame is available everything is dropped.

It is not an endless loop - but it discards the whole buffer


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/eerimoq/moblin/pull/185 **Author:** [@nofuture2077](https://github.com/nofuture2077) **Created:** 11/23/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/erics-rtmp` --- ### 📝 Commits (2) - [`549b4ed`](https://github.com/eerimoq/moblin/commit/549b4ed551e0214e4d105f9189020c2f8ef7b6f1) added unit test when there is no never timestamp in buffer - [`a86aa65`](https://github.com/eerimoq/moblin/commit/a86aa65b230e74368f3cb86496bff1038cd7a9ea) styling ### 📊 Changes **1 file changed** (+32 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `MoblinTests/BufferedAudioSuite.swift` (+32 -0) </details> ### 📄 Description This unit test is a demo why I believe so many frames got dropped. In a situation where no new audio frame is available everything is dropped. It is not an endless loop - but it discards the whole buffer --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:00:39 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/moblin#190
No description provided.