Re: [Live-devel] rtsp url case sensitivity

2015-06-10 Thread Stas Tsymbalov
okupServerMediaSession(). mediaServer app from live555 already doing something similar to this with DynamicRTSPServer class. -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live55

[Live-devel] [PATCH] BasicUsageEnvironment: Properly get socket error messages on Windows

2015-06-01 Thread Stas Tsymbalov
n the message (FormatMessage() apparently can fail too). --- BasicUsageEnvironment/BasicUsageEnvironment0.cpp | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ diff --git a/BasicUsageEnvironment/BasicUsageEnvironment0.

Re: [Live-devel] [PATCH 2/2] MPEG, H264, H265: add option to preserve presentation time from source

2015-06-01 Thread Stas Tsymbalov
Changed gettimeofday() implementation that uses timeGetTime() instead of QueryPerformanceCounter(). This lowers gettimeofday() precision to milliseconds, generally a bad thing but we need it that way. -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ ___

Re: [Live-devel] [PATCH 2/2] MPEG, H264, H265: add option to preserve presentation time from source

2015-05-29 Thread Stas Tsymbalov
supplied code is > needed to do this. Thanks for advise, but passing presentation times separately from frames and around H264VideoStreamFramer seems far more complicated and clunky than this small change to framer, so I will stick with my solution. -

Re: [Live-devel] [PATCH] GroupsockHelper: include errno in error message in case of send error

2015-05-29 Thread Stas Tsymbalov
error code as a number in the message. -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel

Re: [Live-devel] [PATCH 4/4] StreamReplicator: add frame delivery timeout

2015-05-25 Thread Stas Tsymbalov
ecause I don't want delays caused by all source chain to affect this timeout (I want it to be just for StreamReplicator operations, and very small (about 1.5 video frame lengths)). Anyway, sorry for wasting your time with specifics of my use-case. I just wanted explain why I think that

Re: [Live-devel] [PATCH 4/4] StreamReplicator: add frame delivery timeout

2015-05-25 Thread Stas Tsymbalov
replicas there will be 2*N scheduled tasks for each frame (1 made by RTPSink + 1 for timeout check) and N tasks will get canceled (in the normal mode of operation, when timeouts are never reached). If timeout checks are made in bulk like in proposed patch there will be N+1 scheduled tasks and 1 can

[Live-devel] [PATCH] Groupsock: fix error reporting

2015-05-19 Thread Stas Tsymbalov
Groupsock uses result of UsageEnvironment::getResultMsg as argument to UsageEnvironment::setResultMsg which results in corrupted message (original message is getting lost). --- groupsock/Groupsock.cpp | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- Stas Tsymbalov TrueConf

[Live-devel] [PATCH] GroupsockHelper: include errno in error message in case of send error

2015-05-19 Thread Stas Tsymbalov
--- groupsock/GroupsockHelper.cpp | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ diff --git a/groupsock/GroupsockHelper.cpp b/groupsock/GroupsockHelper.cpp index 8508919..5e36308 100644 --- a/groupsock/GroupsockHelper.cpp

[Live-devel] [PATCH 2/2] MPEG, H264, H265: add option to preserve presentation time from source

2015-05-19 Thread Stas Tsymbalov
clude/MPEGVideoStreamFramer.hh | 3 ++- 14 files changed, 46 insertions(+), 31 deletions(-) -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ diff --git a/liveMedia/H264VideoStreamFramer.cpp b/liveMedia/H264VideoStreamFramer.cpp index 7eaa4a6..7e06a49 100644 --- a/liveMedia/H264VideoStreamFramer.cpp

[Live-devel] [PATCH 1/2] H264or5VideoStreamFramer: fix parsing logic

2015-05-19 Thread Stas Tsymbalov
file changed, 24 insertions(+), 12 deletions(-) -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ diff --git a/liveMedia/H264or5VideoStreamFramer.cpp b/liveMedia/H264or5VideoStreamFramer.cpp index 8bae69f..5234dcd 100644 --- a/liveMedia/H264or5VideoStreamFramer.cpp +++ b/liveMedia

[Live-devel] [PATCH 4/4] StreamReplicator: add frame delivery timeout

2015-05-19 Thread Stas Tsymbalov
does not hold are references to replicas that does not request anything). --- liveMedia/StreamReplicator.cpp| 53 +-- liveMedia/include/StreamReplicator.hh | 10 +-- 2 files changed, 53 insertions(+), 10 deletions(-) -- Stas Tsymbalov TrueConf LLC

[Live-devel] [PATCH 3/4] StreamReplicator: try to deliver frame to master replica after replica is deactivated

2015-05-19 Thread Stas Tsymbalov
frame. --- liveMedia/StreamReplicator.cpp | 4 1 file changed, 4 insertions(+) -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ diff --git a/liveMedia/StreamReplicator.cpp b/liveMedia/StreamReplicator.cpp index de7c79c..e910eff 100644 --- a/liveMedia/StreamReplicator.cpp +++ b/liveMedia

[Live-devel] [PATCH 2/4] StreamReplicator: correctly deactivate replicas received current frame

2015-05-19 Thread Stas Tsymbalov
(+), 16 deletions(-) -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ diff --git a/liveMedia/StreamReplicator.cpp b/liveMedia/StreamReplicator.cpp index bbd569a..de7c79c 100644 --- a/liveMedia/StreamReplicator.cpp +++ b/liveMedia/StreamReplicator.cpp @@ -38,7 +38,6 @@ private: private

[Live-devel] [PATCH 1/4] StreamReplicator: deactivate replicas before removing them

2015-05-19 Thread Stas Tsymbalov
deactivateStreamReplica() is called on already destroyed class, potentially leading to crash. --- liveMedia/StreamReplicator.cpp | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) -- Stas Tsymbalov TrueConf LLC http://trueconf.com/ diff --git a/liveMedia/StreamReplicator.cpp b/liveMedia