mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	Refine build script for SRT to avoid warnings. v4.0.243
This commit is contained in:
		
							parent
							
								
									eeb44ebbe9
								
							
						
					
					
						commit
						0a848430e9
					
				
					 4 changed files with 9 additions and 2 deletions
				
			
		|  | @ -603,6 +603,12 @@ fi | |||
| # srtp | ||||
| ##################################################################################### | ||||
| SRTP_OPTIONS="" | ||||
| # To eliminate warnings, see https://stackoverflow.com/a/34208904/17679565 | ||||
| #       was built for newer macOS version (11.6) than being linked (11.0) | ||||
| if [[ $SRS_OSX == YES ]]; then | ||||
|     export MACOSX_DEPLOYMENT_TARGET=11.0 | ||||
|     echo "Set MACOSX_DEPLOYMENT_TARGET to avoid warnings" | ||||
| fi | ||||
| # If use ASM for SRTP, we enable openssl(with ASM). | ||||
| if [[ $SRS_SRTP_ASM == YES ]]; then | ||||
|     SRTP_OPTIONS="--enable-openssl" | ||||
|  |  | |||
|  | @ -8,6 +8,7 @@ The changelog for SRS. | |||
| 
 | ||||
| ## SRS 4.0 Changelog | ||||
| 
 | ||||
| * v4.0, 2022-02-15, Refine build script for SRT to avoid warnings. v4.0.243 | ||||
| * v4.0, 2022-02-11, Support new fields for feature query. v4.0.241 | ||||
| * v4.0, 2022-02-09, Mirror docker images in TCR Singapore. v4.0.240 | ||||
| * v4.0, 2022-02-08, Refine the error for WebRTC H5 publisher. v4.0.239 | ||||
|  |  | |||
|  | @ -9,6 +9,6 @@ | |||
| 
 | ||||
| #define VERSION_MAJOR       4 | ||||
| #define VERSION_MINOR       0 | ||||
| #define VERSION_REVISION    242 | ||||
| #define VERSION_REVISION    243 | ||||
| 
 | ||||
| #endif | ||||
|  |  | |||
|  | @ -69,7 +69,7 @@ private: | |||
| class rtmp_client : public ts_media_data_callback_I, public std::enable_shared_from_this<rtmp_client> { | ||||
| public: | ||||
|     rtmp_client(std::string key_path); | ||||
|     ~rtmp_client(); | ||||
|     virtual ~rtmp_client(); | ||||
| 
 | ||||
|     void receive_ts_data(SRT_DATA_MSG_PTR data_ptr); | ||||
|     int64_t get_last_live_ts(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue