ffmpeg: use one command to stream video/audio
This commit is contained in:
@@ -21,7 +21,6 @@ func Api(e *gin.Engine) {
|
||||
api := e.Group("/api").Use(middleware.CheckToken())
|
||||
|
||||
api.GET("/stream/mjpeg", stream.MjpegHandler)
|
||||
api.GET("/stream/audio", stream.AudioHandler)
|
||||
api.GET("/ws", ws.ConnHandler)
|
||||
|
||||
api.POST("/stream/webrtc", stream.WebRTCPeerConnect)
|
||||
|
||||
Reference in New Issue
Block a user