Commit ed9d542d authored by smorlat's avatar smorlat

work in progress

git-svn-id: svn+ssh:// 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 8bc6a662
......@@ -368,6 +368,7 @@ static void start_prompt_reader(void){
static ortp_socket_t create_server_socket(int port){
ortp_socket_t server_sock;
char service[12];
int tmp,err;
/*setup the server socket */
struct addrinfo *ai=NULL;
struct addrinfo hints;
......@@ -381,6 +382,9 @@ static ortp_socket_t create_server_socket(int port){
if (err<0) fprintf(stderr,"Error in setsockopt(): %s\n",getSocketError());
if (bind(server_sock,ai->ai_addr,ai->ai_addrlen)!=0){
fprintf(stderr,"Failed to bind command socket.");
......@@ -121,7 +121,8 @@ const char *usage="mediastream --local <port> --remote <ip:port> --payload <payl
"[ --fmtp <fmtpline>]\n"
"[ --jitter <miliseconds>]\n"
"[ --width <pixels>]\n"
"[ --height <pixels> ]\n";
"[ --height <pixels> ]\n"
"[ --bitrate <bits per seconds>]\n";
static void run_media_streams(int localport, const char *remote_ip, int remoteport, int payload, const char *fmtp, int jitter, bool_t ec, int bitrate, MSVideoSize vs);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment