mirror of
https://github.com/oscar-davids/lpmsdemo.git
synced 2025-12-24 12:37:59 +08:00
modified: cmd/server/testserver.go
modified: ffmpeg/lpms_ffmpeg.h
This commit is contained in:
@@ -204,7 +204,7 @@ func handleRequests() {
|
||||
myRouter.HandleFunc("/broadcaster", getBroadcaster).Methods("GET")
|
||||
// broadcaster
|
||||
myRouter.HandleFunc("/live/{stream_id}/{media_number}", handlePush).Methods("POST")
|
||||
log.Fatal(http.ListenAndServe(":8081", myRouter))
|
||||
log.Fatal(http.ListenAndServe(":8080", myRouter))
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#define MAXPATH 256
|
||||
#endif
|
||||
#ifndef YOLOMAXPATH
|
||||
#define YOLOMAXPATH 4096
|
||||
#define YOLOMAXPATH 8192
|
||||
#endif
|
||||
|
||||
#ifndef MAX_YOLO_FRAME
|
||||
|
||||
Reference in New Issue
Block a user