deepch / RTSPtoWSMP4f

RTSP Stream to WebBrowser MSE over WebSocket based MP4f segments
231 stars 64 forks source link

wowza rtsp address is not supported. #6

Closed gronxb closed 3 years ago

gronxb commented 3 years ago

The rtsp address in Demo works well. However, the bunny provided by wowza rtsp address is not supported.

app.js?ver=2020-09-2…3d%2b1.933701794:22 Uncaught DOMException: Failed to execute 'appendBuffer' on 'SourceBuffer': The HTMLMediaElement.error attribute is not null.
    at pushPacket (http://x.x.x.x:8081/static/js/app.js?ver=2020-09-27%2006%3a25%3a35.958356866%20%2b0000%20UTC%20m%3d%2b1.933701794:22:18)
    at WebSocket.ws.onmessage (http://x.x.x.x:8081/static/js/app.js?ver=2020-09-27%2006%3a25%3a35.958356866%20%2b0000%20UTC%20m%3d%2b1.933701794:83:7

My Setting

config.json Modifyed

{
  "server": {
    "http_port": ":8081"
  },
  "streams": {
    "demo": {
        "url": "rtsp://171.25.232.5/3e3019c02ad14b84bceb2b810db29918"
    },
    "wowza": {
      "url": "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov"
    }
  }
}

OS: Linux (ubuntu 18.04) Go Version: go1.15.2 linux/amd64

deepch commented 3 years ago

check try https://github.com/deepch/RTSPtoWeb