Re: [Live-devel] Fwd: why am I getting "bad ports" in groupsock/GroupsockHelper.cpp:setupDatagramSocket()?

2016-09-26 Thread Ross Finlayson
> Now, a better question is, what's magic about 6970 grep 6970 liveMedia/include/*.hh There’s nothing ‘magic’ about port number 6970; however, it was the default starting port number for Apple's (formerly frequently used, but now defunct) "QuickTime Media Server", so I decided to make this the

[Live-devel] Fwd: why am I getting "bad ports" in groupsock/GroupsockHelper.cpp:setupDatagramSocket()?

2016-09-26 Thread Virginia Hamm
On Mon, Sep 26, 2016 at 6:13 PM, Ross Finlayson wrote: > > + env << "Bad port number (@1): " << port.num() << "\n"; > >return -1; > > } > > #if defined(__WIN32__) || defined(_WIN32) > > > > Now, whenever a client connects to the proxy, I get errors such as: > > > > Bad port num

Re: [Live-devel] why am I getting "bad ports" in groupsock/GroupsockHelper.cpp:setupDatagramSocket()?

2016-09-26 Thread Ross Finlayson
> + env << "Bad port number (@1): " << port.num() << "\n"; >return -1; > } > #if defined(__WIN32__) || defined(_WIN32) > > Now, whenever a client connects to the proxy, I get errors such as: > > Bad port number (@1): 14875 > Bad port number (@1): 15131 You realize, I hope,

[Live-devel] why am I getting "bad ports" in groupsock/GroupsockHelper.cpp:setupDatagramSocket()?

2016-09-26 Thread Virginia Hamm
In trying to debug something probably unrelated to this, I made this change: --- a/live/groupsock/GroupsockHelper.cpp +++ b/live/groupsock/GroupsockHelper.cpp @@@ -151,7 -151,6 +151,7 @@@ int setupDatagramSocket(UsageEnvironmen ntohs(port.num())); socketErr(env, tmpBuffer);

Re: [Live-devel] audio sampling rate from MediaSubsession

2016-09-26 Thread Ross Finlayson
> Let's consider the following sdp file: > > v=0 > o=- 0 0 IN IP4 127.0.0.1 > s=No Name > c=IN IP4 224.1.168.100 > t=0 0 > a=tool:libavformat 56.36.100 > m=audio 5000 RTP/AVP 97 > b=AS:256 > a=rtpmap:97 L16/16000/1 > - > > The resulting MediaSubsession from the MediaSubses

[Live-devel] audio sampling rate from MediaSubsession

2016-09-26 Thread sampsa
Hi, Let's consider the following sdp file: v=0 o=- 0 0 IN IP4 127.0.0.1 s=No Name c=IN IP4 224.1.168.100 t=0 0 a=tool:libavformat 56.36.100 m=audio 5000 RTP/AVP 97 b=AS:256 a=rtpmap:97 L16/16000/1 - The resulting MediaSubsession from the MediaSubsessionIterator, has lots