Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nnnpa31
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
如#49 所说,我已经在您的指示下成功将h264的NALU包封装为mp4视频,也成功封装成为fmp4视频了。
我后来要做的,是把fmp4数据通过websocket流式地发送到网页,用于实时直播。
为了尽可能的低延迟,我要把每一帧都独立地封装为一个fmp4帧,以不考虑带宽的方式来实现需求。
对于gomedia来说,封装h264裸流并定义时间戳后,它会直接以阻塞的方式读写到单个文件内。由于h264裸流和向前端发送的fmp4流都是实时生成的,要达到目的,我应该如何封装fmp4,并流式发送呢?
Beta Was this translation helpful? Give feedback.
All reactions