Live Event states and billing
In Azure Media Services, a Live Event begins billing as soon as its state transitions to Running. To stop the Live Event from billing, you have to stop the Live Event.
When LiveEventEncodingType on your Live Event is set to Standard or Premium1080p, Media Services auto shuts off any Live Event that is still in the Running state 12 hours after the input feed is lost, and there are no Live Outputs running. However, you will still be billed for the time the Live Event was in the Running state.
The Live Event can be in one of the following states.
|Stopped||This is the initial state of the Live Event after creation (unless autostart was set to true.) No billing occurs in this state. In this state, the Live Event properties can be updated but streaming is not allowed.|
|Starting||The Live Event is being started and resources are being allocated. No billing occurs in this state. Updates or streaming are not allowed during this state. If an error occurs, the Live Event returns to the Stopped state.|
|Running||The Live Event resources have been allocated, ingest and preview URLs have been generated, and it is capable of receiving live streams. At this point, billing is active. You must explicitly call Stop on the Live Event resource to halt further billing.|
|Stopping||The Live Event is being stopped and resources are being de-provisioned. No billing occurs in this transient state. Updates or streaming are not allowed during this state.|
|Deleting||The Live Event is being deleted. No billing occurs in this transient state. Updates or streaming are not allowed during this state.|