pchab / ProjectRTC

WebRTC Live Streaming on nodeJS (+ android client !)
Other
1.04k stars 476 forks source link

Camera and Microphone are opened but not streaming #8

Closed olyjosh closed 9 years ago

olyjosh commented 9 years ago

After successfully running using "node app.js". I tried to use browser to browser communication but there isn't anything streaming in any of the browsers on the two devices I'm trying to use. Though I was able to copy the links giving to me on clicking start and this fire up browser permissions for camera and microphone and I can only see my self at the top-right part of the page but no part of the page is showing stream from other user(device).

pchab commented 9 years ago

What browser did you use ?

olyjosh commented 9 years ago

Both Chrome and Firefox

On Mar 27, 2015, at 6:33 PM, Chabardes notifications@github.com wrote:

What browser did you use ?

— Reply to this email directly or view it on GitHub.

pchab commented 9 years ago

Are you trying to access the camera with 2 browsers on the same computer ? (chrome calling firefox or the other way around) : It is not possible. Can you take a look at the console log ? (right click on the page, choose "inspect element", and look at the console)

olyjosh commented 9 years ago

No, it's two different devices over wireless. I will check the console and get back

On Mar 29, 2015, at 1:05 PM, Chabardes notifications@github.com wrote:

Are you trying to access the camera with 2 browsers on the same computer ? (chrome calling firefox or the other way around) : It is not possible. Can you take a look at the console log ? (right click on the page, choose "inspect element", and look at the console)

— Reply to this email directly or view it on GitHub.

olyjosh commented 9 years ago

This is what the error is like in the browser's console (ON THE CALLER'S SIDE)

Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery-1.7.1.min.js:3:0

Mandatory/optional in createOffer options is deprecated! Use {"offerToReceiveAudio":true,"offerToReceiveVideo":true} instead (note the case difference)! "received init from Ggo4U1YRoLJ4p5yzv_A0" RTCclient.js:97:4 setLocalDescription called without success/failure callbacks. This is deprecated, and will be an error in the future. "sending offer to Ggo4U1YRoLJ4p5yzv_A0" RTCclient.js:123:4 "sending candidate to Ggo4U1YRoLJ4p5yzv_A0"

However, using Mozilla on my pc and chrome on my android tablet gives the above error on caller's but in the case of chrome on my pc and chrome on the android tab works just fine but with a warning in the console : 'webkitURL' is deprecated. Please use 'URL' instead.

Thanks

pchab commented 9 years ago

Hi, Can you try again with the latest version of projectRtc ?

olyjosh commented 9 years ago

With the latest version, It all work fine. Welldone

Bala206 commented 8 years ago

In streams list Random unique id returned.Which file contain this? Which is base for RandomId generation?

help me?

Bala206 commented 8 years ago

@olyjosh In streams list Random unique id returned.Which file contain this? Which is base for RandomId generation?

help me?