[BUG] ARI RTPStats Decode exception for remote_ssrc · Issue #180 · ari4java/ari4java · GitHub
Skip to content

[BUG] ARI RTPStats Decode exception for remote_ssrc #180

Description

@marcelwgn

When decoding the RTPStat result, sometimes an exception can occur:

Decoding JSON: Numeric value (3175369733) out of range of int (-2147483648 - 2147483647)
 at [Source: (String)"{
  "txcount": 7,
  "rxcount": 182,
  "txploss": 0,
  "rxploss": 0,
  "local_ssrc": 1176001751,
  "remote_ssrc": 3175369733,
  "txoctetcount": 681,
  "rxoctetcount": 7360,
  "channel_uniqueid": "16dcbc11-6f83-45d0-a25c-ac7958bb37fc",
  "txjitter": 0.00014278829504509212,
  "rxjitter": 0.0,
  "remote_maxjitter": 0.0,
  "remote_minjitter": 0.0,
  "remote_normdevjitter": 0.0,
  "remote_stdevjitter": 0.0,
  "local_maxjitter": 0.00022334546099132789,
  "local_minjitter": 5.1856040954589844e-6,
  "loc"[truncated 409 chars]; line: 7, column: 28] (through reference chain: ch.loway.oss.ari4java.generated.ari_6_0_0.models.RTPstat_impl_ari_6_0_0["remote_ssrc"]) 

The RFC does not specify if the (remote_)ssrc is unsigned or not so the value 3175369733 can be a valid value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions