Comments (14)
Yes, because the join channel function is using int uid for now. You can fork the repo and change the code accordingly.
from videouikit-flutter.
@Meherdeep any way to allow this? Or am I doing something wrong?
from videouikit-flutter.
@rlee1990 How are you generating your token?
from videouikit-flutter.
This is my token code:
I am using a firebase function. I can confirm a token is then created.
const channelId = data.channelId;
const uid = data.uid;
const isPublisher = data.isPublisher;
const token = RtcTokenBuilder.buildTokenWithAccount(AGORA_APP_ID, AGORA_Cert, channelId, uid, isPublisher ? RtcRole.PUBLISHER : RtcRole.SUBSCRIBER, privilegeExpiredTs);
return {'token': token};
from videouikit-flutter.
What error are you getting when you pass this token value to the tempToken parameter?
from videouikit-flutter.
Here is the error:
I/flutter (30663): onError: ErrorCode.InvalidToken
and the token: 006c1cc6f30444b4f628686efa644547e6eIAA5xEJgq23CIWylNCxs6X/m0cXu9iuh7ptIEXHaoWYrp6mNqbngNHC4IgBG8Wc8Oh7fYAQAAQDK2t1gAgDK2t1gAwDK2t1gBADK2t1g
from videouikit-flutter.
If I use this temp token that I generated from the site it works:
006c1cc6f30444b4f628686efa644547e6eIADA/q8OQEAzczW2w9TsLkEOjA03nn7sYYGBmjQMWCi9HqmNqbkAAAAAEACqPfBqTCHfYAEAAQBLId9g
from videouikit-flutter.
@rlee1990 Are you generating this using String uid?
from videouikit-flutter.
Yes I am @Meherdeep could that be the issue?
from videouikit-flutter.
Thanks will do.
from videouikit-flutter.
@Meherdeep My fork worked I only added an option for the string uid and still keep everything else if you want to use that when your looking to add it in.
from videouikit-flutter.
what should be the url in the tokenUrl: ""?
I'm using node to generate token, to generate token the URL goes something like this: site.com/generate_token?channel=test&uid=120&role=subscriber
from videouikit-flutter.
@holy-dev The token URL takes the base url of your token server, but it expects endpoint to match that found in the example token server here:
https://github.com/AgoraIO-Community/agora-token-service#rtc-token
from videouikit-flutter.
@maxxfrazer thanks, I solved it. The url format is hardcoded in the plugin.
from videouikit-flutter.
Related Issues (20)
- [FEATURE] how can i implement floating window functionality with agora.
- BUG: Not receiving any Audio in Calls - Video is working fine HOT 3
- [FEATURE] Custom Loading Widget
- Please upgrade the package to support lints 3.0.0 HOT 2
- [BUG] disabledVideoWidget not working when layoutType is Layout.oneToOne
- Reduce AppSize After Integration of Agora UIKit HOT 1
- Upper FPS
- [BUG] HOT 3
- Importing issue. HOT 1
- Agora UI Kit is not compiling HOT 7
- compileReleaseKotlin Error HOT 1
- [BUG] How Can I Properly end a call? HOT 1
- If user mute/unmute audio main user window disappeared[BUG]
- Screen Sharing stop in between and required advance features (overlay and some what customisation)
- Show error on floating mood [BUG] HOT 1
- Integration with ActiveFence
- Live Broadcasting
- [BUG] oneToOne Layout Camera preview doesnt turn off for local user
- [BUG] Permissions for Mic and Camera don't remain and video doesn't show
- Support for Picture in Picture
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 videouikit-flutter.