Giter Club home page Giter Club logo

Comments (7)

dennismartensson avatar dennismartensson commented on July 16, 2024

here is a log

eyJ0b2tlbklkIjoiNTI4YTJiNGI2NGQxYmUwYjMyMDAwMDAxIiwiaG9zdCI6IjIxMi43MS4yNDkuMTA3OjgwODAiLCJzaWduYXR1cmUiOiJOV0kyT1RZek5ERmpPVGhtTW1RNVptVm1NV0k1WVdGaU5UUmxZalV6Wm1JME16bGxNREV4WkE9PSJ9 broadcast.js:390
DEBUG: Requested access to local media erizo.js:6757
INFO: User has granted access to local media. erizo.js:6757
DEBUG: Event: access-accepted erizo.js:6757
DEBUG: Creating URL from stream [object MediaStream] erizo.js:6757
INFO: Connected to room 528a1cb41f861d1026000008 erizo.js:6757
DEBUG: Event: room-connected erizo.js:6757
DEBUG: Stable! erizo.js:6757
DEBUG: Changed v=0
o=- 4600463256867700799 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM
m=audio 1 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:35jUsldFUub+MSTf
a=ice-pwd:ylzKwhmdM+BzoXjLOErAP0nZ
a=ice-options:google-ice
a=fingerprint:sha-256 9A:40:19:B8:C9:2C:80:75:F6:CD:11:7E:F4:B7:DA:ED:72:C6:78:EA:BD:8E:AB:A7:30:52:0A:83:01:47:CB:8B
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:RB33wVyPBGwTXEKJOORwOwzY7sCEfxzvVhwQJ9Q8
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:798259079 cname:IM5tRTZiuZg6TQCN
a=ssrc:798259079 msid:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsMa0
a=ssrc:798259079 mslabel:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM
a=ssrc:798259079 label:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsMa0
m=video 1 RTP/SAVPF 100 116 117
c=IN IP4 0.0.0.0
a=rtcp:1 IN IP4 0.0.0.0
a=ice-ufrag:35jUsldFUub+MSTf
a=ice-pwd:ylzKwhmdM+BzoXjLOErAP0nZ
a=ice-options:google-ice
a=fingerprint:sha-256 9A:40:19:B8:C9:2C:80:75:F6:CD:11:7E:F4:B7:DA:ED:72:C6:78:EA:BD:8E:AB:A7:30:52:0A:83:01:47:CB:8B
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:RB33wVyPBGwTXEKJOORwOwzY7sCEfxzvVhwQJ9Q8
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=ssrc:2376317826 cname:IM5tRTZiuZg6TQCN
a=ssrc:2376317826 msid:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsMv0
a=ssrc:2376317826 mslabel:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM
a=ssrc:2376317826 label:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsMv0
erizo.js:6757
DEBUG: PeerConnection: 104 erizo.js:6757
DEBUG: PeerConnection: 104 erizo.js:6757
DEBUG: PeerConnection: 104 erizo.js:6757
DEBUG: PeerConnection: 104 erizo.js:6757
DEBUG: PeerConnection: 104 erizo.js:6757
DEBUG: PeerConnection: 104 erizo.js:6757
DEBUG: PeerConnection: 104 erizo.js:6757
DEBUG: PeerConnection: 104 erizo.js:6757
XHR finished loading: "http://indievid.org/testUpSpeed?cache=1513". testUpSpeed.js:41
DEBUG: PeerConnection: 104 erizo.js:6757
DEBUG: State: complete erizo.js:6757
DEBUG: Sending OFFER: v=0
o=- 4600463256867700799 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM
m=audio 50249 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 192.168.1.224
a=rtcp:50249 IN IP4 192.168.1.224
a=candidate:3230924481 1 udp 2113937151 192.168.1.224 50249 typ host generation 0
a=candidate:3230924481 2 udp 2113937151 192.168.1.224 50249 typ host generation 0
a=candidate:2383413809 1 tcp 1509957375 192.168.1.224 0 typ host generation 0
a=candidate:2383413809 2 tcp 1509957375 192.168.1.224 0 typ host generation 0
a=ice-ufrag:35jUsldFUub+MSTf
a=ice-pwd:ylzKwhmdM+BzoXjLOErAP0nZ
a=ice-options:google-ice
a=fingerprint:sha-256 9A:40:19:B8:C9:2C:80:75:F6:CD:11:7E:F4:B7:DA:ED:72:C6:78:EA:BD:8E:AB:A7:30:52:0A:83:01:47:CB:8B
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:RB33wVyPBGwTXEKJOORwOwzY7sCEfxzvVhwQJ9Q8
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:798259079 cname:IM5tRTZiuZg6TQCN
a=ssrc:798259079 msid:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsMa0
a=ssrc:798259079 mslabel:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM
a=ssrc:798259079 label:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsMa0
m=video 50249 RTP/SAVPF 100 116 117
c=IN IP4 192.168.1.224
a=rtcp:50249 IN IP4 192.168.1.224
a=candidate:3230924481 1 udp 2113937151 192.168.1.224 50249 typ host generation 0
a=candidate:3230924481 2 udp 2113937151 192.168.1.224 50249 typ host generation 0
a=candidate:2383413809 1 tcp 1509957375 192.168.1.224 0 typ host generation 0
a=candidate:2383413809 2 tcp 1509957375 192.168.1.224 0 typ host generation 0
a=ice-ufrag:35jUsldFUub+MSTf
a=ice-pwd:ylzKwhmdM+BzoXjLOErAP0nZ
a=ice-options:google-ice
a=fingerprint:sha-256 9A:40:19:B8:C9:2C:80:75:F6:CD:11:7E:F4:B7:DA:ED:72:C6:78:EA:BD:8E:AB:A7:30:52:0A:83:01:47:CB:8B
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:RB33wVyPBGwTXEKJOORwOwzY7sCEfxzvVhwQJ9Q8
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=ssrc:2376317826 cname:IM5tRTZiuZg6TQCN
a=ssrc:2376317826 msid:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsMv0
a=ssrc:2376317826 mslabel:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsM
a=ssrc:2376317826 label:l05bQgkIeIV8oVWZXjo1VyEuxzXjvSe0bmsMv0
erizo.js:6757
error: 1 error unauthorized

what do you think @aalonsog

from licode.

dennismartensson avatar dennismartensson commented on July 16, 2024

When running room.publish(localStream);

unauthorized... Any ide way this can happen?

from licode.

dennismartensson avatar dennismartensson commented on July 16, 2024

Its this test
if (!socket.user.permissions[Permission.PUBLISH]) {
callback('error', 'unauthorized');
return;
}

in erizoController.js that failes. What can be the reason for my socket note having the right permissions? Do I have to set the rolle and user to any thing specifik?

thanks

Dennis

from licode.

jcague avatar jcague commented on July 16, 2024

Hi Dennis,

We've recently changed the code to support this kind of roles. If you're
using the basic example application you would only need to build again nuve
and basic example. It will update the licode_config.js file with info about
the roles.

If it does not work for you you can also manually copy the line at
https://github.com/ging/licode/blob/master/scripts/licode_default.js#L46 to
your licode_config.js file in the root path.

Cheers,
Javier.

On 18 November 2013 19:23, Dennis [email protected] wrote:

Its this test
if (!socket.user.permissions[Permission.PUBLISH]) {
callback('error', 'unauthorized');
return;
}

in erizoController.js that failes. What can be the reason for my socket
note having the right permissions? Do I have to set the rolle and user to
any thing specifik?

thanks

Dennis


Reply to this email directly or view it on GitHubhttps://github.com//issues/59#issuecomment-28723642
.

from licode.

dennismartensson avatar dennismartensson commented on July 16, 2024

Not its fixed thanks!

from licode.

dennismartensson avatar dennismartensson commented on July 16, 2024

Hi, I where able to use this for some time but now when I try todo any thing like N.API.getRooms in my licode server i get back that the request is 401 Unauthorized?

Way do this happen on the server side? How do I keep the server authorized?
@jcague

Thank you

from licode.

dennismartensson avatar dennismartensson commented on July 16, 2024

update and rebuild fixed it.

from licode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.