Open potmat opened 2 years ago
Since werift does not support fragmentation mode at the moment, so I think change packetization-mode=1
to packetization-mode=0
in RTCRtpCodecParameters.parameters to make it work.
I found a workaround such that I don't need to use MediaRecorder.
I found a workaround such that I don't need to use MediaRecorder.
Can you please give a hint how you do it?
If trying to use MediaRecorder with an H264 stream which contains fragmentation packets, attempts to record will error out with:
Seems to be because here https://github.com/shinyoshiaki/werift-webrtc/blob/develop/packages/rtp/src/codec/h264.ts#L77 if the unit type is 28/29 it will return a packet with an undefined payload.