Skip to content

Image preview error #3

Open
Open
@fabioharry

Description

@fabioharry

Thanks for sharing!

I'm working on a project that uses this feature, but when I run your solution, an error is occurring.

Has anyone managed to make it work?

Any idea how I can solve it?

Uncaught DOMException: Failed to execute 'appendBuffer' on 'SourceBuffer': The HTMLMediaElement.error attribute is not null.
    at WebSocket.ws.onmessage (http://localhost:8080/js/app.js:66:24)
ws.onmessage @ app.js:66

Cod ffmpeg + IP cam RTSP

ffmpeg -rtsp_transport tcp -i rtsp://admin:pass@192.168.1.13/Streaming/Channels/1 -vcodec libx264 -profile:v main -g 25 -r 25 -b:v 500k -keyint_min 250 -strict experimental -pix_fmt yuv420p -movflags empty_moov+default_base_moof -an -preset ultrafast -f mp4 tcp://localhost:9090

captura de tela de 2018-07-25 23-04-08

captura de tela de 2018-07-25 23-05-21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions