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

fix ivideon source #1039

Merged
merged 1 commit into from
Apr 15, 2024
Merged

fix ivideon source #1039

merged 1 commit into from
Apr 15, 2024

Conversation

egmen
Copy link
Contributor

@egmen egmen commented Apr 12, 2024

This config shows error

streams:
  ustusa: ivideon:100-ovO8jrLNOcP2mQQjains3o/0
11:23:17.730 WRN internal/streams/producer.go:171 > error="wrong message type: {\"type\": \"metadata\", \"metadataOffset\": 3998.0, \"metadataPosition\": 1712910198585.0, \"absolute_time\": 1712910198585.0, \"keyframeIndex\": 2.0}" url=ivideon:100-ovO8jrLNOcP2mQQjains3o/0
11:24:31.692 ERR internal/mjpeg/init.go:166 > error="streams: wrong message type: {\"type\": \"metadata\", \"duration\": 3600.0, \"width\": 1920.0, \"height\": 1080.0, \"videodatarate\": 0.0, \"framerate\": 1000.0, \"videocodecid\": 7.0, \"audiodatarate\": 0.0, \"audiosamplerate\": 0.0, \"audiosamplesize\": 0.0, \"stereo\": false, \"audiocodecid\": -16.0, \"audiochannels\": 0.0, \"metadataOffset\": 0.0, \"metadataPosition\": 1712910270562.0, \"speed\": 1.0, \"fragmentPosition\": 1712910270562.0, \"fragmentDuration\": 3600000.0}"

skipping messages with type=metadata fixes stream

@egmen egmen mentioned this pull request Apr 12, 2024
@evgenekov
Copy link

This fix works fine. Thank you very much.

@AlexxIT AlexxIT merged commit 0bda4d8 into AlexxIT:master Apr 15, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 15, 2024

Thanks!

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 30, 2024

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.

None yet

3 participants