ant-media/Ant-Media-Server

React Native SDK- Stream is playing from Origin instead of Edge

Opened this issue · 1 comments

Short description

__Customer is using the Ant Media React Native SDK to play the stream from our Radar Mobile App. The Ant Media cluster is set up in AWS and the URL they are using is https://webrtc.cloudphysicianworld.org/RadarMobile/websocket?target=edge. Whenever they try to stream using webRTCAdaptor.play(streamId, tokenId, subscriberId); in the mobile app it is always playing from the Origin server __

Environment

  • Operating system and version:
  • Java version:
  • Ant Media Server version: 2.11.3
  • Browser name and version:

Steps to reproduce

  1. Using React Native SDK in cluster mode
  2. Start a stream
    3.It plays from Origin instead of edge

Expected behavior

The stream should be played from Edge node.

Actual behavior

Stream is playing from Origin node

Logs

Place logs on pastebin or elsewhere and put links here

Ask your questions on Ant Media Github Discussions

Agent Amarnath Thodupunoori linked Freshdesk ticket 139361 for this issue.