mirror of
				https://github.com/aler9/rtsp-simple-server
				synced 2025-10-30 10:36:33 +08:00 
			
		
		
		
	normalize channels and methods (#2127)
	
		
			
	
		
	
	
		
	
		
			Some checks reported warnings
		
		
	
	
		
			
				
	
				lint / code (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				lint / mod-tidy (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				lint / apidocs (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				test / test64 (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				test / test32 (push) Has been cancelled
				
					
					
				
			
		
			
				
	
				test / test_highlevel (push) Has been cancelled
				
					
					
				
			
		
		
	
	
				
					
				
			
		
			Some checks reported warnings
		
		
	
	lint / code (push) Has been cancelled
				lint / mod-tidy (push) Has been cancelled
				lint / apidocs (push) Has been cancelled
				test / test64 (push) Has been cancelled
				test / test32 (push) Has been cancelled
				test / test_highlevel (push) Has been cancelled
				needed by #2068
This commit is contained in:
		| @@ -162,8 +162,8 @@ func marshalICEFragment(offer *webrtc.SessionDescription, candidates []*webrtc.I | ||||
| type webRTCHTTPServerParent interface { | ||||
| 	logger.Writer | ||||
| 	generateICEServers() ([]webrtc.ICEServer, error) | ||||
| 	sessionNew(req webRTCSessionNewReq) webRTCSessionNewRes | ||||
| 	sessionAddCandidates(req webRTCSessionAddCandidatesReq) webRTCSessionAddCandidatesRes | ||||
| 	newSession(req webRTCNewSessionReq) webRTCNewSessionRes | ||||
| 	addSessionCandidates(req webRTCAddSessionCandidatesReq) webRTCAddSessionCandidatesRes | ||||
| } | ||||
|  | ||||
| type webRTCHTTPServer struct { | ||||
| @@ -372,7 +372,7 @@ func (s *webRTCHTTPServer) onRequest(ctx *gin.Context) { | ||||
| 				return | ||||
| 			} | ||||
|  | ||||
| 			res := s.parent.sessionNew(webRTCSessionNewReq{ | ||||
| 			res := s.parent.newSession(webRTCNewSessionReq{ | ||||
| 				pathName:   dir, | ||||
| 				remoteAddr: remoteAddr, | ||||
| 				query:      ctx.Request.URL.RawQuery, | ||||
| @@ -425,7 +425,7 @@ func (s *webRTCHTTPServer) onRequest(ctx *gin.Context) { | ||||
| 				return | ||||
| 			} | ||||
|  | ||||
| 			res := s.parent.sessionAddCandidates(webRTCSessionAddCandidatesReq{ | ||||
| 			res := s.parent.addSessionCandidates(webRTCAddSessionCandidatesReq{ | ||||
| 				secret:     secret, | ||||
| 				candidates: candidates, | ||||
| 			}) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alessandro Ros
					Alessandro Ros