Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8494737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:22:51+00:00 2026-06-10T23:22:51+00:00

I run my webrtc code with chrome 21. If I open two tabs in

  • 0

I run my webrtc code with chrome 21.

If I open two tabs in the same chrome, and then open page with webrtc code inside.
One tab is for sending video stream; one tab is for receiving video stream
It works fine.

However, If I open page with two Incognito mode or two different chrome browser,
I can get the sdp and candidate information correctly. It seems that video can decode the information.

In remote video, I can see only enter image description here

Besides, it seems crash. I tried to click “close chrome” but useless.

Does anyone have any similar problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T23:22:53+00:00Added an answer on June 10, 2026 at 11:22 pm

    While testing WebRTC, I found that such condition occurs when we call peerConnection.addStream(…) in the wrong place —-

    You must remember that ordering highly matters in WebRTC!


    Updated at: 6:36 PM – Thursday, July 17, 2014 (UTC)

    Blank video occurs in following cases:

    1. You’re using STUN whilst your SSL certificate is either expired or it has invalid entries.
    2. You’re using STUN however it is corporate firewall, or hospital network or private network which is blocking or hiding external ip addresses or some ports.
    3. Both peers has invalid sendrecv/sendonly/recvonly pairs
    4. Offerer didn’t attach the stream or it is Firefox which fails in cases when user attached only audio stream however you’re using OfferToReceiveVideo:true
    5. You’re checking for HTMLMediaElement.HAVE_CURRENT_DATA or mediaElement.paused or mediaElement.currentTime whilst it is android which has known issues regarding these properties.

    Solutions?

    1. Use TURN from XirSys or install your own.
    2. Make sure that you’re using valid SSL certificate or use HTTP instead.
    3. Make sure that offerer attached the stream; also make sure that OfferToReceiveAudio/OfferToReceiveVideo are used according to stream(s) attached.
    4. Make sure that you didn’t modify the SDP; also try to compare SDP between both peers and find-out mismatches.

    Ordering of the code is, kind of rare-issues, nowadays, because we all know that addStream should be called before creating offer or answer; even for renegotiated sessions.

    Try to use chrome://webrtc-internals and Firefox’s about:config to see what’s happening inside these browsers; and always use console-logs for onIceConnectionStateChange event which helps you check if ICE-Agent failed in the ICE-connectivity check process or…

    Sometimes setting-remote-sdp for offerer too earlier, causes exceptions. Always use onSdpError both for createOffer/createAnswer and setLocalDescription/setRemoteDescription e.g.

    peer.setRemoteDescription(remoteSDP, onSdpSuccess, onSdpFailure);


    A few demos resources:

    1. https://github.com/muaz-khan/WebRTC-Experiment / Demos
    2. https://github.com/mozilla/webrtc-landing

    and https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run this jquery code inside sharepoint webpart and got this error on the
I run command: sudo apt-get install phpmyadmin to install phpMyAdmin. Then I enter address:
I run this code here <html> <script type=text/javascript src=lib/jquery-ui-1.8.21.custom.min.js></script> <script src=http://127.0.0.1:5984/_utils/script/jquery.couch.js></script> <!--<script type=text/javascript src=lib/jquery-1.7.2.js></script>-->
I run the following code from command line: public class MemoryTest { public static
Run the following Java code: boolean b = false; Double d1 = 0d; Double
Javascript run at page opening or later by user action like clicking a button
I run my app and then fetched my data. Data is ok. When I
I run the following code StringBuilder sb = new StringBuilder(); Stack stack = new
I run one asynctasks class 3 times in one of the activities and I
I run this code using both gpp and microsoft compiler but in both case

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.