Nog een poging...
This commit is contained in:
parent
8b7781fcfb
commit
8c646c6391
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ int main(){
|
||||||
if (myid == 0){
|
if (myid == 0){
|
||||||
break;
|
break;
|
||||||
}else{
|
}else{
|
||||||
printf("Spawned new process %i for incoming client\n", (int)myid);
|
printf("Spawned new process %i for handling socket %i\n", (int)myid, CONN_fd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (server_socket <= 0){
|
if (server_socket <= 0){
|
||||||
|
@ -127,7 +127,7 @@ int main(){
|
||||||
}
|
}
|
||||||
SendMedia((unsigned char)FLVbuffer[0], (unsigned char *)FLVbuffer+11, FLV_len-15, ts);
|
SendMedia((unsigned char)FLVbuffer[0], (unsigned char *)FLVbuffer+11, FLV_len-15, ts);
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "Sent a tag.\n");
|
fprintf(stderr, "Sent a tag to %i\n", CONN_fd);
|
||||||
#endif
|
#endif
|
||||||
FLV_Dump();//dump packet and get ready for next
|
FLV_Dump();//dump packet and get ready for next
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue