Can I know if Publisher Audio Fallback is enabled or not from the Advanced Insights API? Can I know if Publisher Audio Fallback is enabled or not from the Advanced Insights API?

Can I know if Publisher Audio Fallback is enabled or not from the Advanced Insights API?

Rama Ganesan

 

Yes, it is possible to know if a publisher stream was configured with PAF or not, from audioFallbackEnabled property in Advanced Insights (Session Data) PublisherStats.

 

Please refer below query -  

{

  project(projectId: xxxx) {

    sessionData {

      sessions(sessionIds: [

    "xxxxx",

      ]) {

        resources {

          sessionId

          meetings {

            resources {

              meetingId

              createdAt

              publishers {

                resources {

                  createdAt

                  connectionId

                  stream {

                    streamId

                  }

                  streamStatsCollection {

                    resources {

                      createdAt

                      audioBitrateKbps

                      videoBitrateKbps

                      audioFallbackEnabled

                    }

                  }

                }

              }

            }

          }

        }

      }

    }

  }

}