Comments (7)
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.
When running room.publish(localStream);
unauthorized... Any ide way this can happen?
from licode.
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.
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.
Not its fixed thanks!
from licode.
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.
update and rebuild fixed it.
from licode.
Related Issues (20)
- Publisher is not sending 3rd layer in simulcast mode
- getting ice error "Packet received from IP4:x.x.x.x:61408/UDP which doesn't match any known peer"
- Fatal error recording in Basic Example HOT 2
- Nodejs Integration
- Hack to make sure we pass candidates in libnice even when there's only mdns [https://github.com/lynckia/licode/pull/1766] HOT 1
- Publish a stream from a rtsp source HOT 4
- licode does not suport CSRC
- rtsp stream (Room) message: Error subscribing to stream HOT 2
- mkv file error: Error adding External Input:-2 HOT 1
- Install source to docker Failed HOT 2
- I report a wrong issue. please delete it. sorry.
- Does the code support ice-full and ice-lite now? HOT 1
- What is the relationship between erizo,erizoAPI and erizoJS in the code? HOT 1
- is the licode currently supports simulcast for h264 and svc for vp9?
- link error: install log4cxx .thanks HOT 1
- Error from dockers lynckia/licode?
- How do I configure or implement using the libnice(libniceconnection) library + ice-full? HOT 1
- My erizo library is behind NAT, getCandidate() always fails to collect srflx and the full host address HOT 1
- dtls client lost the service finished package and the handshake failed HOT 1
- Video is appearing blurry and pixelated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from licode.