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

ClientExample - VideoPublisher fails to dump ts due to absolutePath nil #69

Open
Jasenvm opened this issue Oct 16, 2023 · 2 comments
Open

Comments

@Jasenvm
Copy link

Jasenvm commented Oct 16, 2023

Hey

I've been wanting to start working with MonaServer since Red5 Pro came out...

Finally have the chance to start playing with the examples, but having some teething issues....

Why would this absolutePath fail:

MonaServer.cpp[278] www/VideoPublisher/main.lua:16: attempt to call method 'absolutePath' (a nil value)
ServerAPI.cpp[110] www/VideoPublisher/main.lua:16: attempt to call method 'absolutePath' (a nil value)

I have tried on both Windows and Linux (ubuntu20) with same error. so I compiled from the source for Linux test server, and used the 64bit version on my Windows 11 laptop, same error....I suspect any mona: context is failing?

thanks for any help, hope its something easy:)

@thomasjammet
Copy link
Contributor

Hello Jasen!

The samples you found are supported by the first MonaServer version : https://github.com/MonaSolutions/MonaServer.
MonaServer2 lua support is not stable and unfortunately there is no plan to work on it anymore but let us know if we can help.

Regards

@Jasenvm
Copy link
Author

Jasenvm commented Oct 18, 2023

Thanks @thomasjammet

Much appreciate the work to get mona this far...

As you suggested, I compiled monaserver and dumps h.264 video just fine from OBS, however, I think there are some encoding issues with lastest harman AIR still, because getting this error message when try to record from AIR 50.x.x on Windows 11...:

sources/MediaContainer.cpp[285] H264 NALU Stream first byte not expected : 129 sources/MediaContainer.cpp[350] VIDEO Frame is not well formated

I suppose I have a Harman AIR encoding issue, I probably need to speak to them :)

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

No branches or pull requests

2 participants