5G-MAG / rt-5gms-media-session-handler

5G Media Streaming - Media Session Handler
https://www.5g-mag.com/streaming
Other
4 stars 4 forks source link

Updating the Service Access Information - Support for the expires header #51 #55

Closed shilinding closed 5 months ago

shilinding commented 7 months ago

51

  1. Support for the expires header
  2. In case both max-age and expires are present the values shall be translated to absolute times, compared and the earlier value shall be used.
  3. In case none of the headers are defined, we use a static configurable refresh value like 10 minutes.
  4. If in Cache-Control header the max-age = 0, keep this behavior as we are expecting the server wants us to do an immediate refresh. We are expecting a different value of max-age with the next response.
  5. If an age header is present, that value shall be subtracted from the value defined in max-age.
shilinding commented 6 months ago

Pushed code for 4 repos including rt-5gms-application rt-5gms-examples rt-5gms-media-session-handler rrt-5gms-common-android-library, as below: