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 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

4 answers 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

  • 0

int main(int argc, char* argv[]) {
    rtc::InitializeSSL();
    signalingThread = rtc::Thread::Current();
    startWebSocket(“ws://Your_Ant_Media_Server_Address:5080/WebRTCAppEE/websocket”,
    “rtsp://127.0.0.1:6554/stream1”, “stream1”);
    rtc::CleanupSSL();
    return 0;
}

Please help me, I don't see a link to download the library

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...