Skip to content

Echo rewrite for the sfu-ws example #140

Open
@NikhilSharmaWe

Description

@NikhilSharmaWe

Hey @at-wat @Sean-Der

  • I am working on a video conference application. I inspired my video conference handling with the sfu-ws example.

  • But I am using echo framework instead in my application, which causing some problems.

When I get to the meeting page, everything works fine but when I leave the meeting page, the server logs this hijack error for the echo response writer:

echo: http: response.WriteHeader on hijacked connection from github.com/labstack/echo/v4.(*Response).WriteHeader (response.go:63)
echo: http: response.Write on hijacked connection from github.com/labstack/echo/v4.(*Response).Write (response.go:75)
{"time":"2023-09-22T01:26:57.800164+05:30","level":"ERROR","prefix":"echo","file":"echo.go","line":"463","message":"http: connection has been hijacked"}

Help needed in finding out what am I missing here, since relatively newer to working with echo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions