how to detect start and end of streaming

Hello,

how can i detect when stream start and end from some programing language. Has woowza API for this?

Hello, can you explain what you are trying to do?

Are you trying to monitor incoming or outgoing streams?

Salvadore

For RTMP streaming you can use IMediaStreamActionNotify3

Salvadore

The best way to do this would be writing directly to the database using JDBC connection.

This article shows how to connect through JDBC:

How to do user authentication for Flash RTMP client using JDBC connection to MySQL database

Salvadore

Hello, i am trying to gauge how long stream is running. I must save time when stream start and save when stream end or crashed.

Thanks for tip. Another question is how to send notify to my php application from server.