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

Metadata don't send if you append as CMSampleBuffer #892

Closed
andrew3213221 opened this issue Jul 28, 2021 · 1 comment
Closed

Metadata don't send if you append as CMSampleBuffer #892

andrew3213221 opened this issue Jul 28, 2021 · 1 comment

Comments

@andrew3213221
Copy link

Describe the bug
RTMP stream
Metadata don't send if you append as CMSampleBuffer

To Reproduce
Steps to reproduce the behaviour:
connect to RTMP server and use input as sample buffer
RTMPStream.appendSampleBuffer(CMSampleBuffer, AVMediaType)
the problem is when message with data send
use function createMetaData which check if input device was used
but appendSampleBuffer doesn't set input device as function attachCamera

Expected behavior
When you use own capture session with output metadata must be included also

Desktop (please complete the following information):

  • OS: iOS
  • Version 1.1.6
@shogo4405
Copy link
Owner

shogo4405 commented Oct 22, 2022

I have no good idea. Please override RTMPStream.

class YourRTMPStream: RTMPStream {
    override func createMetadata() -> ASObject  {
           ...
    }
}

#1074

Close as wontfix.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants