GithubHelp home page GithubHelp logo

agora-restful-service's People

Contributors

digitallysavvy avatar marvin-h avatar plutoless avatar rebeccacy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

agora-restful-service's Issues

No FileList is returned from Agora Server after stop the Cloud Recording

Hi,
I have successfully done Agora Cloud Recording implementation in my React Native App with AWS. Now i need to store some screenshots of recording so that in future i can show those screenshots of records as thumbnail of the Recorded video.

I have used bellow configs for uploading the snapshots to AWS:

image

From the above ๐Ÿ‘† config you understand that i have used snapshotConfig. From the doc (link: https://docs.agora.io/en/cloud-recording/reference/rest-api/stop#http-response#http-response) i have seen for snapshotConfig no fileListMode will be returned. Okay, this is good. That means Agora server will also not return fileList in the response of STOP recording API.

My question is, if no fileList is returned then how we will be able to store the file name & file url to database? Is there any other way to get the file url? File means "jpg" images.

FYI, this is response from Agora when i stop the recording. No fileList (means .jpg files name) is inside serverResponse ๐Ÿ‘‡ but the snapshots were uploaded in AWS successfully โœ…

image

Please help me, please ๐Ÿ™

Agora Cloud Recording Video Call Unable to Record Local Video and Audio

Bug Description:
The agora video call recording result is not showing the local video and audio (only showing the other user)
image

This is the video call from flutter web looks like
image

Steps to Produce:

  1. Video call from flutter web to flutter android app
  2. Request permissions
  3. Start the cloud recording
  4. End the video call
  5. End the cloud recording

Expected Result:
The recording result shows both users

So, I use composite cloud recording with this payload to start the recording
{ 'cname': channel, 'uid': uid, 'clientRequest': { 'token': token, 'recordingConfig': { 'channelType': 0, // communication profile 'streamTypes': 2, // subscribe to both video and audio streams 'audioProfile': 1, // mono, bitrate up to 128 kbps 'videoStreamType': 0, // high quality stream 'maxIdleTime': 3600, 'transcodingConfig': { 'width': 1920, 'height': 1080, 'fps': 30, 'bitrate': 3150, 'mixedVideoLayout': 3, // 1 for best fit layout (grid view), 3 for custom layout (need to set the layoutConfig) 'backgroundColor': '#000000', 'layoutConfig': [ { 'uid': subscribedUids[0], 'x_axis': 0.0, 'y_axis': 0.0, 'width': 1.0, 'height': 0.5, 'alpha': 1.0, 'render_mode': 1 }, { 'uid': subscribedUids[1], 'x_axis': 0.0, 'y_axis': 0.5, 'width': 0.5, 'height': 0.5, 'alpha': 1.0, 'render_mode': 1 }, { 'x_axis': 0.5, 'y_axis': 0.5, 'width': 0.5, 'height': 0.5, 'alpha': 1.0, 'render_mode': 1 } ] }, 'subscribeVideoUids': subscribedUids, 'subscribeAudioUids': subscribedUids, 'subscribeUidGroup': 0 }, 'recordingFileConfig': { 'avFileType': ['hls', 'mp4'] }, 'storageConfig': { 'vendor': 6, 'region': 0, 'bucket': agoraBucket, 'accessKey': agoraStorageAccessKey, 'secretKey': agoraStorageSecretKey, } } }

Agora cloud recording's best fit layout is not working properly

I am using agora for live streaming, there can be multiple host in a stream like a video call, and using agora cloud recording to record the stream, but in my recordings screen is not splitting up properly according to number of users, i am using bestFitLayout in which i have to pass height and width every time a user joins or leave the stream. Is their any way that agora can dynamically get height and width?

I am using this url ${agoraUrl}/resourceid/${resourceId}/mode/mix/start to start cloud recording.

        cname: channelName,
        uid: uid,
        clientRequest: {
            token: token,
            recordingConfig: {
                channelType: 0,
                streamTypes: 2,
                audioProfile: 1,
                videoStreamType: 0,
                maxIdleTime: 120,
                transcodingConfig:
                {
                    height: 360,
                    width: 640,
                    bitrate: 500,
                    fps: 15,
                    mixedVideoLayout: 1
                }
            },
            recordingFileConfig: {
                avFileType: [
                    "hls",
                    "mp4"
                ]
            },
            storageConfig: {
                vendor: 1,
                region: 14,
                bucket: process.env.AWS_S3_RAW_BUCKET_NAME,
                accessKey: process.env.AWS_ACCESS_KEY_ID,
                secretKey: process.env.AWS_SECRET_KEY,
                fileNamePrefix: [
                    channelName,
                    sidLength
                ]
            }
        }
    }```
I want cloud recording to dynamically split screen according to number of users.

Error code 404 in stop api

Aquire api and start apis are returning responses properly, but when I call stop api, it gives me 404 code.
Screenshot 2020-10-23 at 4 21 21 PM
Screenshot 2020-10-24 at 4 10 55 PM

Empty token

Can I not use the token when hit recording start API?

Cannot access website due to error message {"message":"no Route matched with those values"}

Hello,

I'm trying to access a website that I access daily and now I can't anymore and get the error message {"message":"no Route matched with those values"}

This is not my website. The URL is https://www.brt.it/

I tried with a different browser and deleting Cache and got the same error message.

I tried with a different computer and could access but I need to be able to access with my own computer.

Any ideas how I can fix this?

Really Pause functionality is not yet provided for Cloud Recording?

Hi dev geeks,
Basically I have successfully implemented the Cloud Recording in my React Native App with AWS as Cloud storage. For your information i am using these:

  • mode: mix
  • channelType: Live broadcast profile
  • streamTypes: 2 which is 'Default' (Meaning: Subscribes to both audio and video streams.)

With these above ๐Ÿ‘†๐Ÿ‘† configurations i was successfully able to upload the recorded MP4 video to my AWS bucket. But now I need to know how to enable Pause/ onHold feature while Recording?

From this doc (link: https://docs.agora.io/en/cloud-recording/reference/rest-api/update) I have found that Pause/ onHold feature is only done for mode: web. Then i tried to do in some way to unsubscribing the HOST audio & video of the stream while recording to anyhow do Pause/ onHold feature. But Alas!!! I didn't find any work around solution for mode: mix!!

@LichKing-2234 , @EkaanshArora you heroic guys or anyone, could you please help me. Thanks in advance ๐Ÿ™๐Ÿ™

No fileList returned even after successful Web Recording to AWS!

Anyone please help me on this. I'm successfully found that all Web recorded videos are in AWS S3. But when i query the REST the API of AGORA to get the status of the RESOURCEID i'm getting status = 5 which means everything is ok & recording in progress. But the fileList ARRAY is empty always!!! Could anyone please help me ๐Ÿ˜ž

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.