Support » Plugin: Agora Video for WordPress » Front End

  • Resolved mflmland

    (@mflmland)


    Hi,

    It is possible to create channels on the front end?

    I would like each member of the site to be able to create their channel

    can i call a function?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Agora.io

    (@agoraio)

    Hi @mflmland.

    Thank you for your interest in the Agora Video for WordPress plugin. Currently this is not a standard feature, so it would require some modification of the plugin.

    The Agora Video for WordPress plugin uses the value stored in $channel->title() to set channel name used for generating tokens and joining the channel.

    To accomplish the feature you are suggesting, I would recommend using two pages/views, one to input the channel name and the second to join the call. The second view should accept the Chanel name as a URL parameter, this way the PHP script can take the URL parameter value as the channel name (instead of the value stored in the db).

    However you choose to implement your solution just make sure the channel name is used when generating the token to ensure a user will be able to create and join the given channel.

    One thing to keep in mind that using this approach, any user who knows the name of the channel can join a channel.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.