Het compileertgit status alleen nu nog daadwerkelijk draaien. zie connector_rtsp/compile_remarks.txt
This commit is contained in:
		
							parent
							
								
									52de8a8fd9
								
							
						
					
					
						commit
						d89deb37e8
					
				
					 4 changed files with 30 additions and 9 deletions
				
			
		|  | @ -1,12 +1,12 @@ | |||
| SRC = main.cpp ../sockets/sw_base.cpp ../sockets/sw_inet.cpp ../sockets/sw_unix.cpp | ||||
| OBJ = $(SRC:.cpp=.o) | ||||
| OUT = Connector_RTSP | ||||
| INCLUDES =  | ||||
| INCLUDES = | ||||
| CCFLAGS = -Wall -Wextra -funsigned-char -g | ||||
| CC = $(CROSS)g++ | ||||
| LD = $(CROSS)ld | ||||
| AR = $(CROSS)ar | ||||
| LIBS =  | ||||
| LIBS = -ljthread -lpthread -ljrtp | ||||
| .SUFFIXES: .cpp  | ||||
| .PHONY: clean default | ||||
| default: $(OUT) | ||||
|  |  | |||
							
								
								
									
										19
									
								
								Connector_RTSP/compile_remarks.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								Connector_RTSP/compile_remarks.txt
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,19 @@ | |||
| Makefile LIBS: -ljthread -lpthread -ljrtp (al ingesteld) | ||||
| 
 | ||||
| alle includes: <jrtplib3/[blaat.h]> (al gedaan) | ||||
| 
 | ||||
| in /usr/local/include/jrtplib3/rtpsession.h (lokaal, was via jrtplib's "make install") | ||||
| en /usr/local/include/jrtplib3/rtpudpv4transmitter.h (lokaal, was via jrtplib's "make install") | ||||
| verander #include <jmutex.h> naar #include <jthread/jmutex.h> | ||||
| 
 | ||||
| 
 | ||||
| anders geen compiles... | ||||
| 
 | ||||
| 
 | ||||
| Vervolgens: bij het runnen van ./Connector_RTSP:  | ||||
| ./Connector_RTSP: error while loading shared libraries: libjrtp-3.7.1.so: cannot open shared object file: No such file or directory | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| dus: ik kan op het moment genoeg coden, en zorgen dat het compiled, maar ook daadwerkelijk draaien wordt lastig... Enige ideeen? | ||||
|  | @ -68,7 +68,7 @@ int main(){ | |||
| 
 | ||||
|         sessionparams.SetOwnTimestampUnit(1.0/8000.0);//EDIT: hoeveel samples/second?
 | ||||
|         transparams.SetPortbase(serverport); | ||||
|         rtpconnection.Create(sessionparams,&transparams); | ||||
|         rtp_connection.Create(sessionparams,&transparams); | ||||
| 
 | ||||
|         uint8_t clientip[]={127,0,0,1}; | ||||
|         //Waar haal ik deze vandaan, moeten we toch als daemon gaan draaien?
 | ||||
|  | @ -101,6 +101,8 @@ int main(){ | |||
|         //ERIK: verstuur de packet hier!
 | ||||
|         //FLV data incl. video tag header staat in FLVbuffer
 | ||||
|         //lengte van deze data staat in FLV_len
 | ||||
| 	 | ||||
| 	if( FLVbuffer[0] == 0x12 ) { std::cout << "blah"; exit (0); } | ||||
| 
 | ||||
|         //TODO: Parse flv_header (audio/video frame? 0x12 = metadata = gooi weg)
 | ||||
|         //TODO: Setpayloadtype
 | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| #include "rtpsession.h" | ||||
| #include "rtppacket.h" | ||||
| #include "rtpudpv4transmitter.h" | ||||
| #include "rtpipv4address.h" | ||||
| #include "rtpsessionparams.h" | ||||
| #include "rtperrors.h" | ||||
| #include <jrtplib3/rtpsession.h> | ||||
| #include <jrtplib3/rtppacket.h> | ||||
| #include <jrtplib3/rtpudpv4transmitter.h> | ||||
| #include <jrtplib3/rtpipv4address.h> | ||||
| #include <jrtplib3/rtpsessionparams.h> | ||||
| #include <jrtplib3/rtperrors.h> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Erik Zandvliet
						Erik Zandvliet