Jump to content
  • 0

Embedded SDK


Ole Ul Islam
 Share

Question

I was trying to investigate Embedded SDK. I used your Reference project to show how Embedded SDK is used from 
https://github.com/ant-media/WebRTCEmbeddedSDKReference
Step 1: I have download the convenient executable directly from the executables in this repo mention in above.
Step 2. Run Ant Media Server in my Ubuntu machine.
Step 3. Play with a web browser
     I run the executable file by the following command in my ubuntu virtual machine: 
./webrtc_pull_rtsp ws://192.168.0.103:5080/LiveApp/websocket rtsp://username:password@119.148.18.28:554/media/stream.sdp?profile=Profile100 stream2
Step 4. Play with a web browser
But I got the following error attached in image.
I didn't make any change in my IP camera.
What step I did make or what should I do to check Embedded SDK with camera?

browser error.PNG

ubuntu log.png

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

  • 0

Hello,

The problem isn't related to the Embedded SDK. The peer.html page tries to access your camera/mic by default even if you want to play streams only. You may let it access to your devices or you may edit peer.html as making video and audio  false in the following line:

var mediaConstraints = { video: true, audio: true }; 

peer.html is in /usr/local/antmedia/webapps/WebRTCAppEE folder.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...