Replies: 1 comment 3 replies
-
Yes, I understand that there are cases where some servers may not be able to connect, and I am making it public. The fourCcList is specified in Enhanced RTMP. Naturally, older servers do not support it. What server are you using? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Since version 1.8.1, more specifically, after this commit, I connect to an rtmp stream and in rtmpStatusHandler comes the status NetConnection.Connect.Failed.
Using ffprobe my stream shows "codec_name": "h264" and "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10".
I guess this is because of the line
public static let supportedFourCcList = ["hvc1"]
in the RTMPConnection class. If I add "h264" to this array, nothing changes. But if I remove the"fourCcList": Self.supportedFourCcList,
line for the RTMPCommandMessage, everything will work as it should.To Reproduce
Expected behavior
RTMP stream with H264 is working correctly
Version
1.8.1 - last
Smartphone info.
No response
Additional context
No response
Screenshots
No response
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions