fix: m3u8 data path

pull/242/head v0.7.2
zijiren233 5 months ago
parent 676c4f821e
commit 16569ead44

@ -240,6 +240,7 @@ func initMovie(movie *gin.RouterGroup, needAuthMovie *gin.RouterGroup) {
needAuthMovie.GET("/proxy/:movieId", ProxyMovie)
{
live := movie.Group("/live")
needAuthLive := needAuthMovie.Group("/live")
needAuthLive.POST("/publishKey", NewPublishKey)
@ -248,7 +249,7 @@ func initMovie(movie *gin.RouterGroup, needAuthMovie *gin.RouterGroup) {
needAuthLive.GET("/hls/list/:movieId", JoinHlsLive)
movie.GET("/hls/data/:roomId/:movieId/:dataId", ServeHlsLive)
live.GET("/hls/data/:roomId/:movieId/:dataId", ServeHlsLive)
}
}

Loading…
Cancel
Save