# Is it possible to add text or video to live stream on serverside

**URL:** https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313
**Category:** Wowza Developer Dojo
**Tags:** wowza-streaming-server-java-api
**Created:** [September 30, 2012, 2:06pm UTC](https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313 "2012-09-30T14:06:45Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Serhan\_VARHAN](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@Serhan\_VARHAN](https://community.wowza.com/u/Serhan_VARHAN)
#### Post date: [September 30, 2012, 2:06pm UTC](https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313/1 "2012-09-30T14:06:45Z")

</div>

For protecting the live stream from capture i think that i can send the clientid or username as text to live stream. So when someone who capture this live event i learn who did it. Is it possible?

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 30, 2012, 12:48pm UTC](https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313/2 "2012-09-30T12:48:52Z")

</div>

I don’t see how.

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [September 30, 2012, 1:00pm UTC](https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313/3 "2012-09-30T13:00:54Z")

</div>

That can be done. Take a look at this article:

[https://www.wowza.com/docs/how-to-inject-cue-points-or-metadata](https://www.wowza.com/docs/how-to-inject-cue-points-or-metadata)

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [October 1, 2012, 2:30pm UTC](https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313/4 "2012-10-01T14:30:55Z")

</div>

You will have to get the client to send that info. For example:

[https://www.wowza.com/docs/how-to-track-streaming-by-users](https://www.wowza.com/docs/how-to-track-streaming-by-users)

Richard

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [October 1, 2012, 11:25pm UTC](https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313/5 "2012-10-01T23:25:26Z")

</div>

I don’t have a solution for that.

Richard

---

<div class="post-metadata">

### Author: ![Serhan\_VARHAN](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@Serhan\_VARHAN](https://community.wowza.com/u/Serhan_VARHAN)
#### Post date: [September 30, 2012, 2:54pm UTC](https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313/6 "2012-09-30T14:54:36Z")

</div>

> I don’t see how.
> 
> Richard

sorry i write this wrong with my poor English. i wanted to say that i imagine it is possible to add data to live stream and i ask how can it be possible?

---

<div class="post-metadata">

### Author: ![Serhan\_VARHAN](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@Serhan\_VARHAN](https://community.wowza.com/u/Serhan_VARHAN)
#### Post date: [September 30, 2012, 8:38pm UTC](https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313/7 "2012-09-30T20:38:57Z")

</div>

> That can be done. Take a look at this article:
> 
> [Inject timed metadata using a Wowza Streaming Engine H](https://www.wowza.com/docs/how-to-inject-cue-points-or-metadata)
> 
> Richard

i want everything on server side. For example i want to log client’s id and random minutes after “on play event”, i want to add client’s username as video watermark. If i can do this i will protect my video or live event. Because when i see that video in other website, i see who captured this event.

---

<div class="post-metadata">

### Author: ![Serhan\_VARHAN](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@Serhan\_VARHAN](https://community.wowza.com/u/Serhan_VARHAN)
#### Post date: [October 1, 2012, 5:34pm UTC](https://community.wowza.com/t/is-it-possible-to-add-text-or-video-to-live-stream-on-serverside/39313/8 "2012-10-01T17:34:16Z")

</div>

> You will have to get the client to send that info. For example:
> 
> [View Wowza Streaming Engine streaming stats](https://www.wowza.com/docs/how-to-track-streaming-by-users)
> 
> Richard

i get username like this

on client side client only send the server username and password;

public void onConnect(IClient client, RequestFunction function, AMFDataList params)

{

getLogger().info("qq: " + client.getQueryStr());

if (client.getQueryStr() != null){

userName = getParamString(params, PARAM1);

password = getParamString(params, PARAM2);

…

and onPlay i want to create random int for example 100023

and imagine that i log the onplay time, clientid, username and random int (100023 for seconds) to mysql record.

and imagine that i write a timer

and imagine that in my timer function i want to send a watermark (txt username) to that client after 100023 seconds later onPlay. but i dont know how to send a watermark to that user.
