-
大神,你好!
我有这样一个需求,可以从xhr或者websocket里不断的拿到一帧一帧的h264裸流。
现在想在html里播放出来,找了好多js方法都不行。
想问下你的这个理论上是否可行,直接把h264的裸流封装为mp4喂给video标签去显示。
谢谢。@xqq
代码如下:
(注:例子上用的解码器只能解码部分I帧。无法解P帧。)
`
…
-
Thank you for the project!
## Explanation
Currently, the `` inside `` puts all children into the DOM ``'s children. Whilst this, makes sense to some degree, it really is kind of pointless, as al…
sxxov updated
11 months ago
-
I did everything as the documentation says, also copied the jsmpeg example which was working fine with the old node-rtsp-stream and it even works with the jsmpeg implementation of websocket-relay.js. …
-
```
Flot versions earlier to 0.7, use to implement axis labels as HTML elements
inside a div. Now it is moved inside the canvas itself.
After this canvas implementation, I am not able to control the …
-
```
Flot versions earlier to 0.7, use to implement axis labels as HTML elements
inside a div. Now it is moved inside the canvas itself.
After this canvas implementation, I am not able to control the …
-
Hi! First of all, thanks for the awesome library. It's really helpful!!
I'm trying to build an editor that renders content as part of the canvas once you are done editing content and noticed space …
-
https://html.spec.whatwg.org/multipage/canvas.html#the-image-argument-is-not-origin-clean
> The image argument is not origin-clean if it is an HTMLOrSVGImageElement or HTMLVideoElement whose origin…
-
最近在做的一个case其中有个需求点是 长按保存图片,本以为这是一张设计出好的图片,等实际看完需求文档才发现图片上面的数据是后端返回的,那么图片肯定是要在前端生成了。方法在这里做个分享。
## html2canvas
首先利用到了一个叫做 [html2canvas](https://github.com/niklasvh/html2canvas) 的库,顾名思义,可以将我们写好的 html…
-
Suggestion to implement gestures for the diagram (not necessairly for mobile but computer pad) such as metioned in Material Design (https://material.io/design/interaction/gestures.html). It would be g…
-
Hello,
The gauge is being clipped off at the bottom of the canvas element when I try and display a full gauge as a circle.
![gauge](https://user-images.githubusercontent.com/33893142/44406384-6…