-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROUTE out/in UTC difference #2594
Comments
I don't understand if you're trying to minimize or simply compensate the UTC diff. The UTC diff value probably depends on your DASH source. Please share more information if needed. You can compensate the diff by suggesting a playback delay with the |
Thanks for the prompt response. I was trying to minimize UTC diff time, looks like configuring at DASH source will fix that. In above example, I used Number based DASH segment template and also trying for Time-based segment template which gave no segments output to http rdirs directory. It seems "$Time$" is not being replaced. Your help is appreciated. Thanks. gpac -i http:https://source/index.mpd dashin:forward=file -o route:https://225.1.1.0:6000 -logs=route@info [ROUTE] Mux rate 1668 kbps gpac -i route:https://225.1.1.0:6000/:max_segs=4 dashin:forward=file httpout:port=8080 --rdirs=/tmp/gpac -logs=route@info [ROUTE] Service 1 received MPD file index.mpd ➜ gpac find .
|
@brezenm Can you provide me with a sample of your entry data (init.m4v files + first chunk files). I want to reproduce your error. apparently gpac is not ignoring you can use either one but not both. Thanks in advance. |
Hi @soheibthriber please download entry data generated with following command: As you said either time or number can be used, I also tried with time only but no luck, got wrong TOI template in LS/ROUTE session. So, Below is the details: gpac -i http:https://server/manifest.mpd dashin:forward=file -o route:https://225.1.1.0:6000/:llmode -logs=all@info gpac -i route:https://225.1.1.0:6000/:fullseg=true dashin:forward=file httpout:port=8080 --rdirs=/tmp/gpac -logs=all@info [ROUTE] Service 1 received MPD file manifest.mpd
|
Hi @jeanlf, I tried nightly build after your commit c9cad7b, audio and video segments are not being created in httpout rdirs by the following command, anything I missed during test?
➜ gpac find .
|
There's been many improvements in our implement (and the addition of the FLUTE protocol). Would you mind updating us on the issue? |
Thanks for reporting your issue. Please make sure these boxes are checked before submitting your issue - thank you!
Detailed guidelines: http:https://gpac.io/2013/07/16/how-to-file-a-bug-properly/
For ROUTE testing what I did what:
--- routeout:
gpac -i http:https://server/manifest.mpd dashin:forward=file -o route:https://225.1.1.0:6000:llmode: -logs=all@info
[DASH] No ROUTE entity on HTTP request
[DASH] Estimated UTC diff between client and server (2023-09-13T04:28:49Z): 301 ms (UTC fetch 1694579329301 - server UTC 1694579329000 - MPD AST 1694498472000 - MPD PublishTime 1694579329000
[DASH] AST at init 1694498472301
[DASH] At current time 80857000 ms: Initializing Timeline: startNumber=0 segmentNumber=20214 segmentDuration=4.000000 - 0.000 seconds in segment (start range 80856)
[DASH] No ROUTE entity on HTTP request
[DASH] Estimated UTC diff between client and server (2023-09-13T04:28:49Z): 301 ms (UTC fetch 1694579329301 - server UTC 1694579329000 - MPD AST 1694498472000 - MPD PublishTime 1694579329000
[DASH] AST at init 1694498472301
[DASH] At current time 80857000 ms: Initializing Timeline: startNumber=0 segmentNumber=20214 segmentDuration=4.000000 - 0.000 seconds in segment (start range 80856)
--- routein:
gpac -i route:https://225.1.1.0:6000/:max_segs=4 dashin:forward=file httpout:port=8080 --rdirs=/tmp/gpac -logs=all@info
[HTTPOut] Closing output /tmp/gpac/manifest.mpd
[DASH] Waiting for ROUTE clock ...
[DASH] Waiting for ROUTE clock ...
[DASH] Waiting for ROUTE clock ...
... repeated many times
[DASH] Waiting for ROUTE clock ...
[HTTP] Pushing http:https://groute/service1/a_1694498479_20475.m4s to cache 65817 bytes (done yes)
[ROUTE] Pushing file a_1694498479_20475.m4s to cache
[ROUTE] Service 1 got file i_1694498479.m4s (TSI 20 TOI 4294967295) size 612 in 0 ms
[HTTP] Pushing http:https://groute/service1/i_1694498479.m4s to cache 612 bytes (done yes)
[ROUTE] Pushing file i_1694498479.m4s to cache
[ROUTE] Service 1 object TSI 20 TOI 20476 started without total-length assigned !
[HTTP] Pushing http:https://groute/service1/a_1694498479_20476.m4s to cache 1452 bytes (done no)
[ROUTE] Pushing fragment from file a_1694498479_20476.m4s to cache
[ROUTE] Pushing fragment from file a_1694498479_20476.m4s to cache
[ROUTE] Pushing fragment from file a_1694498479_20476.m4s to cache
[ROUTE] Pushing fragment from file a_1694498479_20476.m4s to cache
[ROUTE] Pushing fragment from file a_1694498479_20476.m4s to cache
[DASH] Estimated UTC diff of ROUTE broadcast 5404 ms (UTC fetch 1694580381404 - server UTC 1694580376000 - MPD AST 1694498472000 - MPD PublishTime 1694580377000 - bootstraping on segment a_1694498479_20475.m4s
What could be the fix for the UTC diff during ROUTE or help by giving me an example for this? Appreciate your help. Thanks
The text was updated successfully, but these errors were encountered: