shuntrho
SMSoftware Mansion
•Created by TonyLikeSocks on 9/4/2024 in #membrane-help
Fly.io + UDP
Hi @TonyLikeSocks , I agree with mickel8 that it's probably best to migrate away from fly.io, as we've been having issues with deployment there.
Anyway, while you're there you can try to fix the error with turn ip. You cannot pass
fly-global-services
address to turn options. The ip
in the integrated_turn_options
has to be a tuple. That means that you have resolve the address into an ipv4 before passing it to turn options. For this, you can use functions from Fishjam's ConfigParser:
https://github.com/fishjam-dev/fishjam/blob/main/lib/fishjam/config_reader.ex#L39
and https://github.com/fishjam-dev/fishjam/blob/main/lib/fishjam/config_reader.ex#L368 .
Make sure to read https://fly.io/docs/networking/udp-and-tcp/ guide. If this approach fails, you may also try somehow forcing chrome to use TCP turn17 replies
SMSoftware Mansion
•Created by noozo on 4/12/2024 in #membrane-help
ex_dtls NIF crash when starting server
Hi, we have attempted deploying our Jellyfish Media Server, with some troubles and in the end it wasn't working all of the time. You can read about attempt in the docs: https://jellyfish-dev.github.io/jellyfish-docs/next/deploying/fly_io
20 replies
SMSoftware Mansion
•Created by Jdyn on 3/6/2024 in #membrane-help
On JF Tracks and Reconnecting (in React)
Hi!
We have fixed the issue of tracks remaining after peer disconnecting.
We have released new JF version 0.4.2 with the bugfix: https://github.com/jellyfish-dev/jellyfish/releases/tag/v0.4.2
So now, if peer disconnects you have to add the tracks once again when the peer reconnects.
14 replies
SMSoftware Mansion
•Created by nickdichev_fw on 5/9/2023 in #membrane-help
Intermittent Failures with RTMP Sink
Hi nick,
unfortunately I am not sure what could be causing your issue.
The error you get is thrown by ffmpeg's function
av_write_frame
in the native code.
You can get the error codes from the messages that were printed here: https://github.com/FFmpeg/FFmpeg/blob/512bba3d1bd404627fb2799191605258654b693e/libavutil/error.c#L108 .
So "Invalid argument" corresponds to EINVAL error in the ffmpeg, and "End of file" to AVERROR_EOF.
Another step would be looking at the definition of av_write_frame
in the ffmpeg code: https://github.com/FFmpeg/FFmpeg/blob/512bba3d1bd404627fb2799191605258654b693e/libavformat/mux.c#LL1198C6-L1198C6
You can try to figure out where those errors come from.
I would assume that one of the errors you get is causing the other one, presumably the error with writing video frame causes error with audio. But that's just a guess.4 replies
SMSoftware Mansion
•Created by nickdichev_fw on 3/22/2023 in #membrane-help
Confusion on usage of MP4.Demuxer.ISOM
Hi, it seems that we are missing some information when sending
stream_format
from the demuxer. The correct in_encapsulation
for the AAC.Parser should be :none
instead of :ADTS
(there is no ADTS in mp4 so we don't expect to receive it from the demuxer). However, the information which in other cases is contained in ADTS, such as sample rate, samples per frame or frames per buffer should be sent in the stream_format
which is not happening, and should be added to the demuxer. If I have time I will work on it some time this week.12 replies